dhcrelay - IPv6 mode - dynamic routing & prefix delegation
mudrunka at spoje.net
mudrunka at spoje.net
Tue Oct 8 21:24:46 UTC 2013
Hello guys,
ever heard of dynamic routing? like OSPF? etc...
dhcrelay -6 needs "upper network" interface specified, but there is no
such thing in my network... we've got OSPF dynamicaly routed network
with cycles and redundant links which means that any interface can be
possibly "upper". Few subnets away i have DHCPv6 server with static
unicast (in fact pseudo-anycast) address and i need dhcrelay to
communicate with this server on any interface where the route to this
unicast adress will lead.
I just want it to do like i do for dhcrelay -4, that means:
1.) specify interfaces where i want DHCP to be server
2.) specify unicast address of DHCP server (without interface - because
there is route for it)
3.) profit
Is that possible??? That would be really usefull feature for me
deploying IPv6 to people.
Another absolutely cool feature would be to check replies from DHCPv6
server for prefix delegation and if we can ping the DHCPv6 client which
has been delegated to route preffix, add static route to this prefix via
this DHCPv6 client (because the prefix will be most likely reachable by
him).
Maybe this should not be hardcoded, but there should be some option to
launch custom script on each reply from DHCPv6 server. Then pass DHCPv6
client IP (eg. link-local) and the prefix in env to this exacutable, so
i could write script which will try to ping the client and add route if
successfull...
These two features can make deployment of IPv6 to peoples homes almost
fully automatic and i've heard that RFCs are starting to head this way
too...
Thanks
Best regards
Tommy
More information about the dhcp-hackers
mailing list