(usagi-users 04000) Re: how to supress RA on linux
"Anjali Gajendragadkar" <[email protected]> Thu, 22 Nov 2007 17:45:05 +0530
| Newsgroups | gmane.linux.ipv6.usagi.users |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_25419_31302328.1195733705400 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Parminder sorry for the confusion. No I do not want to stop IPv6. With RA, machine will learn about the gateway adress from the SA of RA. If i give static default GW for IPv6 in the /etc/sysconfig/network-scripts/ifcgf-eth0 I will have tow gateway 1. Through RA 2. Static default GW when i checked with Route command i got both the address. I was just wondering if it is possible to remove the gateway option received from RA. Thanks - Anjali On Nov 22, 2007 4:28 AM, Pramendra Singh <[email protected]> wrote: > Hi Anjali! > > I am sorry to ask this but I am bit confused with what > are you trying to achive with this...Pls correct my > point. > > You have stopped accept_ra and auto_conf. But as per > the IPv6 having a link local address on interface is > must, I am not sure that its mentioned in some RFC or > not but thats what I think. > > Now you are trying to stop the gateway configuration. > I am confused with this. without all these how you are > going to support IPv6 on your machine ? > > as for the answer of your question..I think when (but > not fully sure) you have already set accept_ra flag to > '0' then gateway should not be configured. > > Thanks and Regards > Pramendra > > > > > --- Anjali Gajendragadkar <[email protected]> > wrote: > > > thanks Parmendra > > > > With this inteface doesnot have autoconf ipv6 > > address > > but still interface receives default gateway , i > > mean since it accepts RA, > > interface calculates default GW from the RA > > > > Is there some way to stop this, so that default > > gateway will not be > > calculated from RA > > > > -Anjali > > > > On Nov 20, 2007 5:26 PM, Pramendra Singh > > <[email protected]> > > wrote: > > > > > Hi > > > > > > sorry for creating confusion with my last mail.. > > > > > > Vaun is right. set 0 to > > > /proc/sys/net/ipv6/conf/all/accept_ra to sppress > > RA > > > > > > and u can supress autoconfiguration of ipv6 > > address > > > with setting 0 to > > > /proc/sys/net/ipv6/conf/all/auto_conf > > > > > > Regards > > > Pramendra > > > > > > --- Anjali Gajendragadkar < [email protected]> > > > wrote: > > > > > > > I have a linux PC (2.6.12.3 - kernel) with ipv6 > > > > enabled and assigned > > > > it an static IP address > > > > The PC also receives RA as Router is enabled and > > > > configured with IPV6 prefix. > > > > > > > > Thus my PC has three address > > > > 1. Static IPv6 address > > > > 2. From router advertisment RA (prefix+MAC > > address) > > > > 3. Link local address > > > > > > > > my questions > > > > 1. is it possible to supress RA on the linux > > PC, so > > > > that PC will not > > > > generate IPV6 address using this > > > > 2. can link local address be supressed > > > > > > > > -Anjali > > > > > > > > > > > > > > > > > > > > > > ______________________________________________________________________ > > > > > > > > > > > > > > > > Save all your chat conversations. Find them > > online at > > > > > http://in.messenger.yahoo.com/webmessengerpromo.php > > > > > > > > > > > > > > > > > > Save all your chat conversations. Find them online at > http://in.messenger.yahoo.com/webmessengerpromo.php > > > > ------=_Part_25419_31302328.1195733705400 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div>Hello Parminder</div> <div>sorry for the confusion.</div> <div>No I do not want to stop IPv6.</div> <div> </div> <div>With RA, machine will learn about the gateway adress from the SA of RA.</div> <div> </div> <div>If i give static default GW for IPv6 in the /etc/sysconfig/network-scripts/ifcgf-eth0</div> <div> </div> <div>I will have tow gateway</div> <div>1. Through RA</div> <div>2. Static default GW</div> <div> </div> <div>when i checked with Route command i got both the address.</div> <div>I was just wondering if it is possible to remove the gateway option received from RA.</div> <div> </div> <div>Thanks</div> <div>- Anjali<br><br></div> <div class="gmail_quote">On Nov 22, 2007 4:28 AM, Pramendra Singh <<a href="mailto:[email protected]">[email protected]</a>> wrote:<br> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Anjali!<br><br>I am sorry to ask this but I am bit confused with what<br>are you trying to achive with this...Pls correct my <br>point.<br><br>You have stopped accept_ra and auto_conf. But as per<br>the IPv6 having a link local address on interface is<br>must, I am not sure that its mentioned in some RFC or<br>not but thats what I think.<br><br> Now you are trying to stop the gateway configuration.<br>I am confused with this. without all these how you are<br>going to support IPv6 on your machine ?<br><br>as for the answer of your question..I think when (but<br>not fully sure) you have already set accept_ra flag to <br>'0' then gateway should not be configured.<br><br>Thanks and Regards<br>Pramendra<br><br><br><br><br>--- Anjali Gajendragadkar <<a href="mailto:[email protected]">[email protected]</a>><br>wrote:<br> <br>> thanks Parmendra<br>><br>> With this inteface doesnot have autoconf ipv6<br>> address<br>> but still interface receives default gateway , i<br>> mean since it accepts RA,<br>> interface calculates default GW from the RA <br>><br>> Is there some way to stop this, so that default<br>> gateway will not be<br>> calculated from RA<br>><br>> -Anjali<br>><br>> On Nov 20, 2007 5:26 PM, Pramendra Singh<br>> <<a href="mailto:[email protected]"> [email protected]</a>><br>> wrote:<br>><br>> > Hi<br>> ><br>> > sorry for creating confusion with my last mail..<br>> ><br>> > Vaun is right. set 0 to<br>> > /proc/sys/net/ipv6/conf/all/accept_ra to sppress <br>> RA<br>> ><br>> > and u can supress autoconfiguration of ipv6<br>> address<br>> > with setting 0 to<br>> > /proc/sys/net/ipv6/conf/all/auto_conf<br>> ><br>> > Regards<br>> > Pramendra <br>> ><br>> > --- Anjali Gajendragadkar < <a href="mailto:[email protected]">[email protected]</a>><br>> > wrote:<br>> ><br>> > > I have a linux PC (<a href="http://2.6.12.3/" target="_blank"> 2.6.12.3</a> - kernel) with ipv6<br>> > > enabled and assigned<br>> > > it an static IP address<br>> > > The PC also receives RA as Router is enabled and<br>> > > configured with IPV6 prefix. <br>> > ><br>> > > Thus my PC has three address<br>> > > 1. Static IPv6 address<br>> > > 2. From router advertisment RA (prefix+MAC<br>> address)<br>> > > 3. Link local address <br>> > ><br>> > > my questions<br>> > > 1. is it possible to supress RA on the linux<br>> PC, so<br>> > > that PC will not<br>> > > generate IPV6 address using this<br>> > > 2. can link local address be supressed <br>> > ><br>> > > -Anjali<br>> > ><br>> > ><br>> > ><br>> > ><br>> ><br>><br>______________________________________________________________________<br>> > > <br>> ><br>> ><br>> ><br>> > Save all your chat conversations. Find them<br>> online at<br>> ><br>> <a href="http://in.messenger.yahoo.com/webmessengerpromo.php" target="_blank">http://in.messenger.yahoo.com/webmessengerpromo.php </a><br>> ><br>> ><br>> ><br>> ><br>><br><br><br><br> Save all your chat conversations. Find them online at <a href="http://in.messenger.yahoo.com/webmessengerpromo.php" target="_blank">http://in.messenger.yahoo.com/webmessengerpromo.php </a><br><br><br><br></blockquote></div><br> ------=_Part_25419_31302328.1195733705400--