[radvd-devel-l] default route not getting deleted

Magesh mannar mageshmannar at yahoo.com
Fri Feb 17 09:35:55 EST 2006


Hi

I specified AdvDefaultLifetime 100; in /etc/radvd.conf
but still the default route is not getting deleted
after 100secs.

I have attached my /etc/radvd.conf, tcpdump log and
kernel routing table. 

Can anyone please suggest me what iam doing wrong

/etc/radvd.conf

interface eth1
{
	AdvSendAdvert on;
	MinRtrAdvInterval 3;
	MaxRtrAdvInterval 10;
	AdvDefaultLifetime 100;
	AdvHomeAgentFlag off;
	prefix 3ffe:0302:0011:0002::/64
	{
		AdvOnLink on;
		AdvAutonomous on;
		AdvRouterAddr off;
		AdvPreferredLifetime 120;	
		AdvValidLifetime 300;
	};
	
};




tcpdump log: 

 tcpdump  -n -vvv -s0 ip6 -i eth1
tcpdump: listening on eth1
14:15:14.280790 fe80::20d:88ff:fe91:ff83 > ff02::1:
icmp6: router advertisement(chlim=64, pref=medium,
router_ltime=100, reachable_time=0,
retrans_time=0)(prefix info: LA
valid_ltime=300,preferred_ltime=120,prefix=3ffe:302:11:2::/64)(src
lladdr: 00:0d:88:91:ff:83) (len 56, hlim 255)
 
1 packets received by filter
0 packets dropped by kernel


 route -A inet6

Kernel IPv6 routing table
Destination                                 Next Hop  
                             Flags Metric Ref    Use
Iface
::1/128                                     *         
                             U     0      0        0
lo
fe80::204:76ff:fe92:dd52/128                *         
                             U     0      0        0
lo
fe80::211:95ff:fe4a:ea3c/128                *         
                             U     0      0        0
lo
fe80::/64                                   *         
                             UA    256    0        0
eth0
fe80::/64                                   *         
                             UA    256    0        0
eth1
ff00::/8                                    *         
                             UA    256    0        0
eth0
ff00::/8                                    *         
                             UA    256    0        0
eth1
*/0                                        
fe80::20d:88ff:fe91:ff83                UGDA  1024   1
       0 eth1



--- Pekka Savola <pekkas at netcore.fi> wrote:

> On Fri, 17 Feb 2006, Magesh mannar wrote:
> >  Host H receives the radvd msg , does address
> autoconfiguration 
> > (EUI-64) and adds the router R as the default
> router . Everything 
> > works fine as expected till now. Now i stop radvd
> in router R. After 
> > the AdvValidLife time (300 sec), the IPv6 address
> is removed from 
> > the interface but the default route still remains.
> May i know why is 
> > it happening. Am i missing something in the
> configruation file.
> 
> The address lifetime and default router lifetime are
> two different 
> things.  You may have modified just one of them. 
> Try setting 
> AdvDefaultLifetime.  If that doesn't help, run
> tcpdump (with '-n -vvv 
> -s0' switches) on the host to figure out how the
> router advertisement 
> looks like.
> 
> -- 
> Pekka Savola                 "You each name
> yourselves king, yet the
> Netcore Oy                    kingdom bleeds."
> Systems. Networks. Security. -- George R.R. Martin:
> A Clash of Kings
> 
> -- 
> radvd-devel-l mailing list  : 
> radvd-devel-l at litech.org
> http://lists.litech.org/listinfo/radvd-devel-l
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the radvd-devel-l mailing list