[systemd-devel] DHCPServer SendOption 121 classless static route

Matthias Hörger matthoe00 at gmail.com
Wed Nov 20 09:55:01 UTC 2024


This works.

Thanks


Adam Nielsen <a.nielsen at shikadi.net> schrieb am Mi., 20. Nov. 2024, 10:00:

> > 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20241120/60467c77/attachment-0001.htm>


More information about the systemd-devel mailing list