RE: Configuration of IPv6 link local address
From: Jeff Haran
Date: Tue Jan 15 2008 - 13:43:30 EST
> -----Original Message-----
> From: Jan Engelhardt [mailto:jengelh@xxxxxxxxxxxxxxx]
> Sent: Tuesday, January 15, 2008 8:34 AM
> To: LiuJiusheng
> Cc: Jeff Haran; linux-net@xxxxxxxxxxxxxxx
> Subject: Re: Configuration of IPv6 link local address
>
>
> On Jan 11 2008 11:51, LiuJiusheng wrote:
> >LiuJiusheng wrote:
> >>
> >> What are the kernel versions?
> >> You should update the SUSE kernel to get the result you want.
> >
> >Sorry, I have made a mistake.
> >In version 2.6.23, it seems the kernel will delete all IPv6 address
> >on the interface when it becomes down.
>
> I can confirm this.
Unfortunate. When I startup radvd on a PC when its eth0 is physically
down (no link at the PHY), it terminates at startup:
jharan-linux2:/home/jeff/dev/ip_v6_port # /usr/sbin/radvd -d 1 -m stderr
-C /home/jeff/dev/ip_v6_port/radvd.conf
[Jan 15 06:30:13] radvd: version 0.9 started
[Jan 15 06:30:13] radvd: no linklocal address configured for eth0
[Jan 15 06:30:13] radvd: error parsing or activating the config file:
/home/jeff/dev/ip_v6_port/radvd.conf
jharan-linux2:/home/jeff/dev/ip_v6_port #
If I start radvd when the link is up, it starts up fine, but then if the
link goes down I get error messages:
jharan-linux2:/home/jeff/dev/ip_v6_port # /usr/sbin/radvd -d 1 -m stderr
-C /home/jeff/dev/ip_v6_port/radvd.conf
[Jan 15 06:31:41] radvd: version 0.9 started
[Jan 15 06:31:58] radvd: resetting ipv6-allrouters membership on eth0
[Jan 15 06:31:58] radvd: sendmsg: Invalid argument
[Jan 15 06:32:04] radvd: resetting ipv6-allrouters membership on eth0
[Jan 15 06:32:04] radvd: sendmsg: Invalid argument
[Jan 15 06:32:07] radvd: resetting ipv6-allrouters membership on eth0
[Jan 15 06:32:07] radvd: sendmsg: Invalid argument
jharan-linux2:/home/jeff/dev/ip_v6_port #
It seems to me that this would be problematic for a linux based router
if it happened to attempt to reboot and then start radvd when the link
was down.
Is this the way its supposed to work?
Is there a way of defeating this so that the link local address stays
put regardless of physical link state?
Thanks,
Jeff Haran
Brocade
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html