Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2011 17:44:23 +1100
From:      Mattia Rossi <mrossi@swin.edu.au>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-net@freebsd.org
Subject:   Re: FreeBSD 8 as an IPv6 router
Message-ID:  <4EE6F447.1060902@swin.edu.au>
In-Reply-To: <2CECE1B6-98B6-4219-BDD7-220F83CAEC36@gsoft.com.au>
References:  <2CECE1B6-98B6-4219-BDD7-220F83CAEC36@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Start tcpdump on each client e.g. tcpdump -i eth0 -n -s0 -X icmp6 and 
restart rtadvd and see if anything actually arrives at the clients.

Then, to make things clean and in order to use the machine as router you 
should disable ACCEPT_RTADV (ifconfig eth0 inet6 -accept_rtadv) and also 
disable the sysctl: sysctl net.inet6.ip6.accept_rtadv=0.

But, I mostly suspect your clients are not getting any RA's...

Mat

On 13/12/2011 15:02, Daniel O'Connor wrote:
> 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
>
>
>
>
>
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EE6F447.1060902>