[pfS-Dev] Automatic 6rd configuration based on DHCP option 212
martin.fuchs at trendchiller.com
Thu Apr 12 17:57:47 EDT 2012
If it's something that many isp's could use at least if only temporary we should support it I think...
Should be available to configure for the ones that need it I think...
Von: dev-bounces at lists.pfsense.org [mailto:dev-bounces at lists.pfsense.org] Im Auftrag von Seth Mos
Gesendet: Mittwoch, 11. April 2012 16:47
An: pfSense development mailing list
Betreff: [pfS-Dev] Automatic 6rd configuration based on DHCP option 212
Some ISPs are deploying 6rd by sending option 212 with their v4 dhcp requests. This contains the information to automatically configure 6rd.
Is that something we want to do? Automatically configure 6rd on that WAN interface that is.
We have the ability to do so, if we write out the parsed info into a file in /tmp we can process it in interface_6rd_configure($if). This function is already called in rc.newwanip in 2.1
With some added bits we can also autoconfigure the LAN by letting the track6_configure($if) magic work. We already call the track6_configure() from the interface_(6rd|6to4)_configure() function. We can probably hook in there with ease.
So technically there isn't really a issue to do this already, but i'm not sure if we want to do that in practice. For comparison, the default config xml already configures the WAN with a DHCP6 client.
Also, users might have a hard time getting the information for 6rd from their ISP.
A knob on the ipv4 dhcp client is possible too.
Dev mailing list
Dev at lists.pfsense.org
More information about the Dev