Social Icons

Pages

Tuesday 23 September 2014

How to Add or Remove IPv6 address on Linux machine

IPv6 is the future of internet. So, its really necessary to learn about IPv6.

/sbin/ip command can be used in Linux to add or remove ipv6 address.

Command to Add IPv6 address:



/sbin/ip -6 addr add <ip address>/<network prefix> dev <dev name>


Example:

/sbin/ip -6 addr add 3090::3090/64 dev eth0


Command to Remove IPv6 address:


/sbin/ip -6 addr del <ip address>/<network prefix> dev <dev name>


Example:

/sbin/ip -6 addr del 3090::3090/64 dev eth0


No comments:

Post a Comment

Please Comment for Any question or suggestions