Index: [Article Count Order] [Thread]

Date: Thu, 07 Feb 2008 12:03:06 -0700
From: Tushar Gohad <tgohad@mvista.com>
Subject: [users:00576] Re: Fw:  Re: FreeBSD 5.4 & DAD
To: users@tahi.org
Message-Id: <47AB55EA.5060408@mvista.com>
In-Reply-To: <OF3E7EEF2C.4D854CD5-ON862573E8.0061F5A5-862573E8.0062675B@us.ibm.com>
References: <OF3E7EEF2C.4D854CD5-ON862573E8.0061F5A5-862573E8.0062675B@us.ibm.com>
X-Mail-Count: 00576


Yes, you should specify prefix length for addresses that are manually 
configured (in rc.conf or using ifconfig); but not for the link-local 
address auto-configured using the link identifier (EUI64).

If I add a _new_ link-local address manually, I see DAD going out 
correctly. But I would expect DAD to happen even when I do not add a new 
address, but simply bring the interface down and back up.

For instance, on Linux, you will see that all the IPv6 addresses on an 
interface are removed when brought down, and DAD is performed for the 
EUI64 link-local address when the interface is up again. On FreeBSD DAD 
is not performed for addresses once assigned, even if the interface is 
closed and opened again .. This seems incorrect as per section 5.3/4 of 
RFC2462.

Thanks
- Tushar




Christy L Norman wrote:
>
> I made a small change and now it's working for 5.4. I was trying to 
> add a particular link-local and when I couldn't get the non_eui64 
> config in the rc.conf file to work I was just manually adding the 
> link-local in the rc.conf file (also changing auto_linklocal to be 
> '0'). I wasn't putting a /prefix_len at the end of the address. I 
> changed that (to ipv6_ifconfig_fxp1="fe80::abcd/64"), rebooted, and 
> now when I do the network_ipv6 restart I see the NSs go out. Strange.
>
> Maybe you have to specify the prefix length?
>
> ----- Forwarded by Christy L Norman/Rochester/IBM on 02/07/2008 11:49 
> AM -----
> *Christy L Norman/Rochester/IBM*
>
> 02/07/2008 11:42 AM
>
> 	
> To
> 	users@tahi.org
> cc
> 	
> Subject
> 	Re: [users:00573] Re: FreeBSD 5.4 & DADLink 
> <Notes://D27mc103/86256EBE0052F02B/DABA975B9FB113EB852564B5001283EA/73B0EA2E5803CBFE862573E8005FE865> 
>
>
>
>
> 	
>
>
>
>
> I'm not seeing them at all. I've tried: ifconfig fxp1 down/up, 
> /rc.d/network_ipv6 restart, /netif/restart and rebooting. I even tried 
> upping the sysctl value for the # of DAD transmits to 2 and still see 
> sent.
>
> It does send the NA if someone sends an NS though.
>
>
>
>
> *Tushar Gohad <tgohad@mvista.com>*
>
> 02/07/2008 11:21 AM
> Please respond to
> users@tahi.org
>
>
> 	
> To
> 	users@tahi.org
> cc
> 	
> Subject
> 	[users:00573] Re: FreeBSD 5.4 & DAD
>
>
>
> 	
>
>
>
>
>
>
> We have had DAD related issues even on FreeBSD 6.2. FreeBSD does not
> seem to perform DAD when an interface is brought down administratively
> (ifconfig) and then brought back up. It performs DAD on boot though, or
> when a new IPv6 address is added to an interface.
>
> Are you seeing similar problems?
>
> Thanks,
> - Tushar
>
>
> Christy L Norman wrote:
> >
> > I see that FreeBSD 6.1 has its Self Test 1.4.3 results listed on the
> > Tahi homepage. Does anyone know if they didn't do DAD correctly in
> > /previous /releases? I'm not showing any NSs on reboot or on
> > /rc.d/netif restart for the IPv6 addresses.
> >
> > Thanks,
> >
> > Christy
>
>
>