[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 02977) Re: radvd client problems ....



Hi Romain,

Many thanks indeed for your valuable advice! ...  I will perform the changes
and recompile the kernel.

Just one very last thing, when addresses are allocated via radvd and using
USAGI's kernel I always get 2-Site-IPv6 addresses on the NIC ( this does not
happen with SuSE's kernel - only one is assigned ), I have no ideas where to
look at, any advice ?

Once again, many thanks,

Regards,

Daniel Tyrode


----- Original Message ----- 
From: "Romain KUNTZ" <kuntz@xxxxxxxxxxxxxx>
To: <usagi-users@xxxxxxxxxxxxxx>
Sent: Friday, June 25, 2004 5:47 PM
Subject: (usagi-users 02976) Re: radvd client problems ....


> Hi,
>
> > I have done some tests with radvd, downloading the original files,
> > compiling and running. It seems that my problem is not related to
> > radvd. Is it possible on Usagi's Stable Kit 5.0 to support IPv6
> > forwarding (sysctl-w net/ipv6/conf/all/forwarding=1) and stateless
> > configuration  (sysctl-w net/ipv6/conf/all/accept_ra=1 ) at the same
> > time ? ...
>
> If forwarding is set to 1, received RA are not processed anymore, even
> if accept_ra is set to one. You can change this behaviour by modifying
> NDP source code :
>
> /usagi/usagi/kernel/linux26/net/ipv6/ndisc.c (l. 1076)
> - if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_ra) {
> + if (!in6_dev->cnf.accept_ra) {
>
> But it is not recommended that routers accept RAs.
>
> > everytime I turn on the IPv6 forwarding my NIC no longer sends Router
> > Solicitations.
>
> You can still send RS using the rtsol command, but the received RA will
> not be processed, as I told above.
>
> > However this does not happen with SuSE's native kernel
> > 2.4.21-215-default ( I can run sysctl -w
> > net/ipv6/conf/all/forwarding=1 and yet send Router Solicitations and
> > update routing tables). Is there a kernel option I should be aware of?
>
> I guess NDP implementation is not the same.
>
> Regards,
>
> -- 
> Romain KUNTZ
> kuntz@xxxxxxxxxxxxxx
>
>
>