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

(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