Re: DHCPServer SendOption 121 classless static route

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This works. 

Thanks


Adam Nielsen <a.nielsen@xxxxxxxxxxx> 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.

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux