(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>&nbsp;</div>
<div>With RA, machine will learn about the gateway adress from the SA of RA.</div>
<div>&nbsp;</div>
<div>If i give static default GW for IPv6 in the /etc/sysconfig/network-scripts/ifcgf-eth0</div>
<div>&nbsp;</div>
<div>I will have tow gateway</div>
<div>1. Through RA</div>
<div>2. Static default GW</div>
<div>&nbsp;</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>&nbsp;</div>
<div>Thanks</div>
<div>- Anjali<br><br></div>
<div class="gmail_quote">On Nov 22, 2007 4:28 AM, Pramendra Singh &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; 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>&#39;0&#39; then gateway should not be configured.<br><br>Thanks and Regards<br>Pramendra<br><br><br><br><br>--- Anjali Gajendragadkar &lt;<a href="mailto:[email protected]">[email protected]</a>&gt;<br>wrote:<br>
<br>&gt; thanks Parmendra<br>&gt;<br>&gt; With this inteface doesnot have autoconf ipv6<br>&gt; address<br>&gt; but still interface receives default gateway , i<br>&gt; mean since it accepts RA,<br>&gt; interface calculates default GW from the RA
<br>&gt;<br>&gt; Is there some way to stop this, so that default<br>&gt; gateway will not be<br>&gt; calculated from RA<br>&gt;<br>&gt; -Anjali<br>&gt;<br>&gt; On Nov 20, 2007 5:26 PM, Pramendra Singh<br>&gt; &lt;<a href="mailto:[email protected]">
[email protected]</a>&gt;<br>&gt; wrote:<br>&gt;<br>&gt; &gt; Hi<br>&gt; &gt;<br>&gt; &gt; sorry for creating confusion with my last mail..<br>&gt; &gt;<br>&gt; &gt; Vaun is right. set 0 to<br>&gt; &gt; /proc/sys/net/ipv6/conf/all/accept_ra to sppress
<br>&gt; RA<br>&gt; &gt;<br>&gt; &gt; and u can supress autoconfiguration of ipv6<br>&gt; address<br>&gt; &gt; with setting 0 to<br>&gt; &gt; /proc/sys/net/ipv6/conf/all/auto_conf<br>&gt; &gt;<br>&gt; &gt; Regards<br>&gt; &gt; Pramendra
<br>&gt; &gt;<br>&gt; &gt; --- Anjali Gajendragadkar &lt; <a href="mailto:[email protected]">[email protected]</a>&gt;<br>&gt; &gt; wrote:<br>&gt; &gt;<br>&gt; &gt; &gt; I have a linux PC (<a href="http://2.6.12.3/" target="_blank">
2.6.12.3</a> - kernel) with ipv6<br>&gt; &gt; &gt; enabled and assigned<br>&gt; &gt; &gt; it an static IP address<br>&gt; &gt; &gt; The PC also receives RA as Router is enabled and<br>&gt; &gt; &gt; configured with IPV6 prefix.
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Thus my PC has three address<br>&gt; &gt; &gt; 1. Static IPv6 address<br>&gt; &gt; &gt; 2. From router advertisment RA (prefix+MAC<br>&gt; address)<br>&gt; &gt; &gt; 3. Link local address
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; my questions<br>&gt; &gt; &gt; 1. &nbsp;is it possible to supress RA on the linux<br>&gt; PC, so<br>&gt; &gt; &gt; that PC will not<br>&gt; &gt; &gt; generate IPV6 address using this<br>&gt; &gt; &gt; 2. can link local address be supressed
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; -Anjali<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt;<br>______________________________________________________________________<br>&gt; &gt; &gt;
<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; &nbsp;Save all your chat conversations. Find them<br>&gt; online at<br>&gt; &gt;<br>&gt; <a href="http://in.messenger.yahoo.com/webmessengerpromo.php" target="_blank">http://in.messenger.yahoo.com/webmessengerpromo.php
</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br><br><br><br>&nbsp; &nbsp; &nbsp;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--