[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1211060755510.13802@uplift.swm.pp.se>
Date: Tue, 6 Nov 2012 08:01:34 +0100 (CET)
From: Mikael Abrahamsson <swmike@....pp.se>
To: "devendra.aaru" <devendra.aaru@...il.com>
cc: netdev@...r.kernel.org
Subject: Re: how to disable automatic route addition for an ipv6 address
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).
--
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