How to extract IPv6 RAs?

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

 



Hello,

Is there a way to extract Router Advertisements from the kernel? I am on a 
network which uses IPv6 with non-64 prefix length, with DHCPv6 for address 
configuration, but Linux doesn't handle this even remotely correctly.

Expected behavior would be to receive an RA with managed/otherconf flag, run a 
DHCPv6 client, and match the received address with the prefix length from the 
RA.
As this probably requires an in-kernel DHCPv6 client there is a viable 
alternative - store all received prefix infos and allow user-space programs to 
query them (ideally in all UNIX-like systems compatible manner), so that the 
user-space DHCPv6 client (run by system startup scripts or by the user) can 
query the kernel for prefixes (to determine whether to use DHCPv6 for address 
configuration and to match a correct prefix length to address supplied in DHCPv6 
reply).

Currently ISC dhclient (and others) set the prefix length to 64, which might be 
what you want, but otherwise is just plain wrong (or possibly acceptable as 
failover if no prefix for DHCPv6 supplied address has been received).

Thanks,
Pavel
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux