FreeBSD 8 as an IPv6 router

Daniel O'Connor doconnor at gsoft.com.au
Tue Dec 13 04:36:57 UTC 2011


Hi,
I have a FreeBSD 8 machine that is my router and I previously had IPv6 working. ie it gave out RTADV messages and clients (Windows 7, OSX & Ubuntu) got public IPv6 addresses based on the advertised prefix.

At some stage in the last few months something changed with the clients (I haven't updated the base, but ports have been) and they no longer seem to accept those messages. (I am guessing somewhat here).

I am running rtadvd with an empty configuration, and I get my IPv6 range by using dhcp6c from my ISP which I connect to via PPPoE using PPP.

[midget 14:29] ~ >ifconfig tun0
tun0: flags=8151<UP,POINTOPOINT,RUNNING,PROMISC,MULTICAST> metric 0 mtu 1492
        options=80000<LINKSTATE>
        inet6 fe80::21b:21ff:fe94:ab13%tun0 prefixlen 64 scopeid 0xf 
        inet 118.210.46.156 --> 203.16.215.197 netmask 0xffffffff 
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
        Opened by PID 661
[midget 14:29] ~ >ifconfig eth0
eth0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
        ether 00:1b:21:94:ab:13
        inet 10.0.2.1 netmask 0xffffff00 broadcast 10.0.2.255
        inet6 fe80::21b:21ff:fe94:ab13%eth0 prefixlen 64 scopeid 0x1 
        inet 10.0.2.3 netmask 0xffffffff broadcast 10.0.2.3
        inet 10.0.2.4 netmask 0xffffffff broadcast 10.0.2.4
        inet 10.0.2.7 netmask 0xffffffff broadcast 10.0.2.7
        inet6 2001:44b8:191:2e01:21b:21ff:fe94:ab13 prefixlen 60 
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active

[midget 14:29] ~ >cat /usr/local/etc/dhcp6c.conf
interface eth0 {
        information-only;
};

interface tun0 {
        send ia-pd 0;
};
id-assoc pd {
        prefix-interface eth0 {
                sla-id 1;
                sla-len 4;
        };
};

I can connect to IPv6 sites from the router just fine.

Unfortunately I can't find much/any debugging information in the clients to tell me why they are not working :(

I did try a FreeBSD 9.0 box and it similarly didn't work - I had the following in rc.conf..

ipv6_activate_all_interfaces="YES"
ipv6_enable="YES"

Any help appreciated, thanks.

PS please CC me on replies.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








More information about the freebsd-net mailing list