IPv6: Membuang IPv6 Address

From OnnoWiki
Revision as of 10:53, 22 May 2013 by Onnowpurbo (talk | contribs) (New page: 6.3. Removing an IPv6 address Not so often needed, be carefully with removing non existent IPv6 address, sometimes using older kernels it results in a crash. 6.3.1. Using "ip" Usage: # ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

6.3. Removing an IPv6 address

Not so often needed, be carefully with removing non existent IPv6 address, sometimes using older kernels it results in a crash. 6.3.1. Using "ip"

Usage:

  1. /sbin/ip -6 addr del <ipv6address>/<prefixlength> dev <interface>

Example:

  1. /sbin/ip -6 addr del 2001:0db8:0:f101::1/64 dev eth0

6.3.2. Using "ifconfig"

Usage:

  1. /sbin/ifconfig <interface> inet6 del <ipv6address>/<prefixlength>

Example:

  1. /sbin/ifconfig eth0 inet6 del 2001:0db8:0:f101::1/64