Skip to content

fix: request DHCP classless static routes (option 121)#19

Closed
winstar0070 wants to merge 1 commit intomainfrom
upstream/dhcp-option-121
Closed

fix: request DHCP classless static routes (option 121)#19
winstar0070 wants to merge 1 commit intomainfrom
upstream/dhcp-option-121

Conversation

@winstar0070
Copy link
Copy Markdown
Member

Summary

  • Add -O 121 flag to udhcpc calls in S30eth to request DHCP option 121
  • Enables network administrators to push classless static routes to the device
  • Useful for isolated network segments where specific routing is needed without default gateways

Cherry-picked from upstream PR sipeed#749 (author: @phaidros7)

Test plan

  • Verify DHCP lease still works normally
  • Verify option 121 routes are applied when DHCP server pushes them
  • Verify no regression on networks without option 121

Add -O 121 flag to udhcpc calls in S30eth to request DHCP option 121
(classless static routes). This allows network administrators to push
specific routes for isolated network segments.

Cherry-picked from: sipeed#749
Original author: phaidros7
@winstar0070
Copy link
Copy Markdown
Member Author

Merged into PR #16 — option 121 added to both S30eth and S30wifi along with hostname support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant