*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  Linux HOWTOs -> Removing an IPv6 address              
Title
Content
 
   
Removing an IPv6 address

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:

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

Example:

# /sbin/ip -6 addr del 3ffe:ffff:0:f101::1/64 dev eth0 
   

6.3.2. Using "ifconfig"

Usage:

# /sbin/ifconfig <interface> inet6 del <ipv6address>/<prefixlength>
   

Example:

# /sbin/ifconfig eth0 inet6 del 3ffe:ffff:0:f101::1/64
   
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service