Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2011 14:32:12 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-net@freebsd.org
Subject:   FreeBSD 8 as an IPv6 router
Message-ID:  <2CECE1B6-98B6-4219-BDD7-220F83CAEC36@gsoft.com.au>

next in thread | raw e-mail | index | archive | help
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=3D8151<UP,POINTOPOINT,RUNNING,PROMISC,MULTICAST> metric 0 =
mtu 1492
        options=3D80000<LINKSTATE>
        inet6 fe80::21b:21ff:fe94:ab13%tun0 prefixlen 64 scopeid 0xf=20
        inet 118.210.46.156 --> 203.16.215.197 netmask 0xffffffff=20
        nd6 options=3D3<PERFORMNUD,ACCEPT_RTADV>
        Opened by PID 661
[midget 14:29] ~ >ifconfig eth0
eth0: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> =
metric 0 mtu 1500
        =
options=3D219b<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=20
        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=20
        nd6 options=3D3<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=3D"YES"
ipv6_enable=3D"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









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2CECE1B6-98B6-4219-BDD7-220F83CAEC36>