IPv6: Menambahkan IPv6 Address

From OnnoWiki
Revision as of 08:21, 8 June 2013 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Menambahkan address IPv6 sama dengan mekanisme address "IP ALIAS" di Linux IPv4 interface.


Menggunakan "ip"

Penggunaan:

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

Contoh:

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

Menggunakan "ifconfig"

Penggunaan:

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

Contoh

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