iceman a crit :
> Can anyone please tell me the command for assigning IPv6 address and
> mac address on a interface.
man 8 ip
Please can you elaborate ? How do you see it does not work ?Quote:> I tried
> ifconfig eth0 inet6 add 2001:0db8:0:f101::1/64
> It didnt work
Yes, it works for me. You can also assign an IPv6 address with the 'ip'Quote:> Is the command correct.?
command from the iproute/iproute2 package :
ip -6 address add 2001:0db8:0:f101::1/64 dev eth0
Note that the 2001:0db8::/32 range is to be used for documentation
purpose only. If you do not have a global prefix you can create and use
a prefix in the unique local address range (ULA, cf. RFC 4193). A
generator is available at <http://www.kame.net/~suz/gen-ula.html>.