6.2. Adicionando um endereço IPv6

A adição de um endereço IPv6 é muito similar ao endereço "IP ALIAS" nas interfaces IPv4 no Linux.

6.2.1. Usando "ip"

Uso:

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

Exemplo:

# /sbin/ip -6 addr add 2001:0db8:0:f101::1/64 dev eth0 

6.2.2. Usando "ifconfig"

Uso:

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

Exemplo:

# /sbin/ifconfig eth0 inet6 add 2001:0db8:0:f101::1/64 


Your connection is via: IPv4
Your address: 18.234.88.196
mirrors.bieringer.de
is maintained by
webmaster at bieringer dot de
(Impressum)
powered by Apache HTTP server powered by Linux IPv4 connectivity is provided by
Strato