[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHdPZaMFTS=-82qh7HNha09j1OJnvc43OWmzhXatqe-e2F4_sQ@mail.gmail.com>
Date: Tue, 6 Nov 2012 06:07:05 -0500
From: "devendra.aaru" <devendra.aaru@...il.com>
To: Mikael Abrahamsson <swmike@....pp.se>
Cc: netdev@...r.kernel.org
Subject: Re: how to disable automatic route addition for an ipv6 address
On Tue, Nov 6, 2012 at 2:01 AM, Mikael Abrahamsson <swmike@....pp.se> wrote:
> On Mon, 5 Nov 2012, devendra.aaru wrote:
>
>> while adding the ipv6 address to interface ,
>>
>> ifconfig eth0 add 2001:8800:10fb:4444::ae/64
>>
>> i am seeing the route addition automatically
>>
>> route -n -A inet6 shows that one of the route from the above added
>> address.
>
>
> You mean you get a /64 route to the interface? I'd say that's normal, as
> you're adding a /64.
>
> If you do not want this, add it as a /128 instead.
>
> "ip -6 a a dev eth0 2000:db8::1/128" will add just that /128 to eth0
> interface without an encompassing network route.
>
> "ip -6 r l" to verify (you will see just the IPv6 address to the device, ie
> an implicit /128).
>
Thanks a lot Mikael, i will give a try :-)
> --
> Mikael Abrahamsson email: swmike@....pp.se
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists