# /sbin/ifconfig eth1 inet6 add fd:1::1/64
# /sbin/ifconfig eth1 inet6 del fd:1::1/64
ip addr show dev eth0 ip -6 addr show eth1
anzeigen:
ip -6 neigh #Linux ip -6 neigh show dev eth0 #Linux arp -a #OSX ndp -a #OSX netsh interface ipv6 show neighbors #Windows
löschen:
ip -6 neigh flush dev eth0 #Linux arp -d -a #OSX ndp -c #OSX
permanenten Eintrag erzeugen:
ip -6 neigh add 2001:db8::22 lladdr 02:12:13:14:15:16 dev eth0 #Linux
permanenten Eintrag löschen:
ip -6 neigh del 2001:db8::22 lladdr 02:12:13:14:15:16 dev eth0 #Linux ip -6 neigh flush dev eth0
ip maddr show dev eth0 #Linux netstat -g #OSX netsh interface ipv6 show joins #Windows ifmcstat #FreeBSD
ip -6 route add default via 2001:db8::1 #Linux route --inet6 add default gw 2001:db8::1 #Linux
route add -inet6 -prefixlen 64 2001:db8:1:: -interface en0 #OSX route delete -inet6 -prefixlen 64 2001:db8:1:: -interface en0 #OSX route add -inet6 -prefixlen 64 2001:db8:2:: 2001:db8::1 #OSX
ip -6 route show #Linux route -A inet6 #Linux (zeigt Hits an) netstat -nr -f inet6 #OSX netsh interface ipv6 show routes #Windows route print #Windows