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

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

 



>> What are you trying to do?
>I would like a Linux router configuring it's own default route using RA
from the default router.

May be you should use a dynamic routing protocol for that purpose such as
RIPng or OSPFv3 or ISIS,

Christophe


-----Message d'origine-----
De : linux-net-owner@xxxxxxxxxxxxxxx
[mailto:linux-net-owner@xxxxxxxxxxxxxxx] De la part de Vincent
Envoyé : mercredi 21 mars 2007 00:11
À : Brian Haley
Cc : linux-net
Objet : Re: Why Router Advertisement are dropped when in forwarding mode?

Thank you Brian for your answer,

Brian Haley wrote:
>> 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?
> 
> No.  You can install a filter and process them in user-space, like 
> radvd does.
I think you are right, this a good solution. I'll try this way.

Just for my information.
Do you think this is the way it should be done or just the easiest way
without having to modify the kernel?

> What are you trying to do?
I would like a Linux router configuring it's own default route using RA from
the default router.

Regards.
Vincent
-
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

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[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