[CentOS] DHCP with ipv6 tunnel

Ashley M. Kirchner

ashley at pcraft.com
Wed Oct 1 09:13:34 UTC 2014


I'm completely confused here and I'm hoping someone here has a setup
they're willing to share, or help me configure things on my end.

My connectivity is through Comcast, who unfortunately, does not offer ipv6
in my area. My connection goes like this:
Comcast -> Motorola Surfboard Cable Router -> CentOS 6.5 server

The CentOS server is multi-homed and manages the internal 192.168.x.x
network by offering DHCP and firewall service (NATting and others.) DNS
lookups are going to Comcast's servers.

I have an IPV6 tunnel through Hurricane Electric (www.tunnelbroker.net).
The tunnel is configured and is up and running on the CentOS server. I can
ping several IPV6 addresses from it just fine:

ping6 -n ipv6.google.com
PING ipv6.google.com(2607:f8b0:400f:801::1006) 56 data bytes
64 bytes from 2607:f8b0:400f:801::1006: icmp_seq=1 ttl=53 time=109 ms
64 bytes from 2607:f8b0:400f:801::1006: icmp_seq=2 ttl=53 time=109 ms
64 bytes from 2607:f8b0:400f:801::1006: icmp_seq=3 ttl=53 time=106 ms
^C
--- ipv6.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2436ms
rtt min/avg/max/mdev = 106.905/108.723/109.756/1.317 ms


What I'd like to do now is have DHCP offer ipv6 addresses as well. Problem
is, I don't know how to configure it properly using the information given
to me by Hurricane. I have my client address which is what the CentOS
tunnel interface is. Then I have a routed /64 and /48 prefix which I *think*
is what I'm supposed to use for my internal network (according to their
info popup window) but I don't know how to configure DHCPd to use that and
then route through the ipv6 interface.

So does anyone here have a tunnel from HE and are using DHCP on an internal
network handing out ipv6 addresses? Any suggestions of how to configure
dhcpd6.conf?

Thanks all.
Ash



More information about the CentOS mailing list