SD-B4 boostrap

Francis Dupont fdupont at isc.org
Sun Mar 18 19:00:08 UTC 2012


An SD-B4 first works as a B4 so needs:
 - its own WAN IPv6 address
 - the default WAN IPv6 router
 - the IPv6 address of the AFTR tunnel end-point
 - the IPv6 address of the DNS cache
 - the IPv6 address of the TSV
as a SD-CPE:
 - the shared global IPv4 address
 - the port range to use

Using DHCP (vs fully static) this gives:
 - run the DHCPv6 client to get the WAN address and within options
  the 4 other addresses (note the default WAN router is not standard):
  * the own WAN IPv6 address is set via ifconfig/ip -6 addr
  * the default WAN IPv6 router is used by ip -6 route
  * the AFTR end-point (and own address) is used by ip -6 tunnel
  * the DNS cache address goes to /etc/resolv.conf
  * the TSV address is used in the CRA step

 - launch dnsmasq which gets the server address in /etc/resolv.conf

 - launch the CRA forwarding DHCPv4 request to the TSV over IPv6

 - launch the DHCPv4 client to get the global IPv4 address (which is
  also the WAN one) and within options the port range:
  * the IPv4 address is set via ifconfig/ip addr
  * the address and port range are used to set the NAT config
  * the address and port range go to the sdctld config

 - launch sdctld

Regards

Francis Dupont <fdupont at isc.org>

PS: BTW we have some examples of the DHCP and BIND server configs.
PPS: I suggest to begin by fully static and if we have time to move
to the IPv6 static / IPv4 dynamic case.


More information about the sdcpe-devel mailing list