Re: Why Router Advertisement are dropped when in forwarding mode?

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

 



> > Why received IPv6 Router Advertisement are dropped by
kernel when in 
> > forwarding mode?
> > Is it a feature or a bug?
> > I can't find anything in RFCs telling such a thing.
> 
> I'm assuming you mean why doesn't a router auto-configure an
IPv6 
> address?   For that, see Section 1 of RFC 2461:
> 
>   "The autoconfiguration process specified in this document
applies only
>    to hosts and not routers."

I know that autoconfiguration do not applies to routers but RA
can be use to only announce default route. Prefixes are only
an option of RAs.

> Routers do process RAs for other purposes, like MIPv6.

So, do you agree that in forwarding mode not all RAs must be
dropped by kernel?

For the moment the drop condition is (net/ipv6ndisc.c#L1095):

   if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_ra) {

Don't you think we should change this?

Regards.
Vincent

Envoyez vos cartes de voeux depuis www.laposte.net 
Elles seront ensuite distribuées par le facteur : pratique et malin !

-
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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux