Rhel7 IPV6配置
[[email protected] html]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.25.0.11 netmask 255.255.255.0 broadcast 172.25.0.255
inet6 fddb:fe2a:ab1e::c0a8 prefixlen 64 scopeid 0x0<global>
inet6 fe80::5054:ff:fe00:b prefixlen 64 scopeid 0x20<link>
ether 52:54:00:00:00:0b txqueuelen 1000 (Ethernet)
RX packets 30981 bytes 27148909 (25.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 28680 bytes 47640986 (45.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[[email protected] html]# ping6 fddb:fe2a:ab1e::c0a8
PING fddb:fe2a:ab1e::c0a8(fddb:fe2a:ab1e::c0a8) 56 data bytes
64 bytes from fddb:fe2a:ab1e::c0a8: icmp_seq=1 ttl=64 time=0.599 ms
^C
--- fddb:fe2a:ab1e::c0a8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.599/0.599/0.599/0.000 ms
[[email protected] html]# ping6 fddb:fe2a:ab1e::c0a9
PING fddb:fe2a:ab1e::c0a9(fddb:fe2a:ab1e::c0a9) 56 data bytes
64 bytes from fddb:fe2a:ab1e::c0a9: icmp_seq=1 ttl=64 time=2.25 ms
^C
--- fddb:fe2a:ab1e::c0a9 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 2.258/2.258/2.258/0.000 ms
[[email protected] html]#