Nguyễn Thị Thúy Quỳnh
Member
How do you add an IPv6 address to a specific interface?
Answer
2.Add an IPv6 address
Answer
2.Add an IPv6 address
- 2.1. Using “ip” Usage: # /sbin/ip -6 addr add <ipv6address>/<prefixlength> dev <interface> Example: # /sbin/ip -6 addr add 2001:0db8:0:f101::1/64 dev eth0.
- 2.2. Using “ifconfig” Usage: # /sbin/ifconfig <interface> inet6 add <ipv6address>/<prefixlength>