Skip to content

fix(network): request DHCP classless static routes (option 121) in udhcp#749

Open
phaidros7 wants to merge 1 commit intosipeed:mainfrom
phaidros7:phaidros7-patch-dhcp-121-option
Open

fix(network): request DHCP classless static routes (option 121) in udhcp#749
phaidros7 wants to merge 1 commit intosipeed:mainfrom
phaidros7:phaidros7-patch-dhcp-121-option

Conversation

@phaidros7
Copy link
Copy Markdown

udhcpc does not request DHCP option 121 (classless static routes) by default. This prevents administrators from pushing specific routes without a default gateway, which is needed for isolated network segments where devices should only reach selected subnets.

Add -O 121 flag to both udhcpc invocations in S30eth. The existing default.script already handles staticroutes correctly per RFC 3442.

…hcpc


udhcpc does not request DHCP option 121 (classless static routes) by
default. This prevents administrators from pushing specific routes
without a default gateway, which is needed for isolated network
segments where devices should only reach selected subnets.

Add -O 121 flag to both udhcpc invocations in S30eth. The existing
default.script already handles staticroutes correctly per RFC 3442.
winstar0070 added a commit to Stella-IT/NanoKVM that referenced this pull request Feb 12, 2026
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
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