[systemd-devel] DHCPServer SendOption 121 classless static route
Adam Nielsen
a.nielsen at shikadi.net
Wed Nov 20 09:00:17 UTC 2024
> How would I go about sending the DHCP server option 121 - classless static
> route?
>
> https://datatracker.ietf.org/doc/html/rfc3442
>
> The datatypes for SendOption are uint8, uint16, uint32, ipv4address,
> ipv6address, and string.
>
> I tried a few different types and combinations. They either fail during
> parsing or just send the wrong information (checked with tcpdump).
>
> As I understand it, I would need something like an uint8 array.
The manpage says you can use C-style escapes, so can you send the value
as a string? For example "\x01\x02\xFF" etc?
Cheers,
Adam.
More information about the systemd-devel
mailing list