IPv6 Lab Erste Tests

Aus xinux.net
Zur Navigation springen Zur Suche springen

IP Adressen

  • ifconfig em1 inet6
em0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: LAN (lan)
        options=4800028<VLAN_MTU,JUMBO_MTU,NOMAP>
        inet6 2a02:24d8:71:3034::1 prefixlen 64
        inet6 fe80::a00:27ff:fe65:694d%em0 prefixlen 64 scopeid 0x1
        nd6 options=121<PERFORMNUD,AUTO_LINKLOCAL,NO_DAD>
  • ifconfig em1 inet6
em1: flags=8963<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: WAN (wan)
        options=4800028<VLAN_MTU,JUMBO_MTU,NOMAP>
        inet6 fe80::a00:27ff:fee6:8c8b%em1 prefixlen 64 scopeid 0x2
        inet6 2a02:24d8:71:3040::3034 prefixlen 64
        nd6 options=121<PERFORMNUD,AUTO_LINKLOCAL,NO_DAD>

Route

  • ip -6 route show
2a02:24d8:71:2441::/64 dev ens4 proto kernel metric 256 pref medium
2a02:24d8:71:2444::/64 dev ens5 proto kernel metric 256 pref medium
fe80::/64 dev ens4 proto kernel metric 256 pref medium
fe80::/64 dev ens5 proto kernel metric 256 pref medium
default via 2a02:24d8:71:2441::1 dev ens4 metric 1024 onlink pref medium

Ping

Von der Wan Schnitstelle
  • ping -6 -c 2 2001:4860:4860::8888
PING 2001:4860:4860::8888(2001:4860:4860::8888) 56 data bytes
64 bytes from 2001:4860:4860::8888: icmp_seq=1 ttl=117 time=4.79 ms
64 bytes from 2001:4860:4860::8888: icmp_seq=2 ttl=117 time=3.31 ms

--- 2001:4860:4860::8888 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 3.310/4.050/4.790/0.740 ms
Von der Lan Schnitstelle
ping -6 -c 2 -I 2a02:24d8:71:2444::1  2001:4860:4860::8888
PING 2001:4860:4860::8888(2001:4860:4860::8888) from 2a02:24d8:71:2444::1 : 56 data bytes
64 bytes from 2001:4860:4860::8888: icmp_seq=1 ttl=117 time=3.46 ms
64 bytes from 2001:4860:4860::8888: icmp_seq=2 ttl=117 time=3.53 ms

--- 2001:4860:4860::8888 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 3.460/3.492/3.525/0.032 ms

Namensauflösung

  • host google.de
google.de has address 142.250.186.67
google.de has IPv6 address 2a00:1450:4001:82a::2003
google.de mail is handled by 0 smtp.google.com.