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.
how to disable the automatic route addition?
or is it something that ipv6 protocol itself does?
thanks,
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@swm.pp.se
On Tue, Nov 6, 2012 at 2:01 AM, Mikael Abrahamsson [off-list ref] wrote:
On Mon, 5 Nov 2012, devendra.aaru wrote:
quoted
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@swm.pp.se