fst*_*tab 5 linux routing ip ping ipv6
我正在尝试从 LAN 中的计算机发送 ipv6 ping。不幸的是它不起作用。看来我在局域网中有一个 ipv6 地址,但不知何故ping -Ieth1 ipv6.google.com只是打印了一个connect: Network is unreachable.
这是我的路由表:
Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If
fe80::/64 :: U 256 0 0 eth1
::/0 :: !n -1 1429877 lo
::1/128 :: Un 0 5 6 lo
fe80::9a90:96ff:fea4:e451/128 :: Un 0 2 5 lo
ff00::/8 :: U 256 8 99924 eth1
::/0 :: !n -1 1429877 lo
Run Code Online (Sandbox Code Playgroud)
这是输出ifconfig:
eth0 Link encap:Ethernet HWaddr 98:90:96:a4:e5:49
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Memory:fb300000-fb37ffff
eth1 Link encap:Ethernet HWaddr 98:90:96:a4:e4:51
inet addr:172.20.33.53 Bcast:172.20.35.255 Mask:255.255.252.0
inet6 addr: fe80::9a90:96ff:fea4:e451/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:946567 errors:0 dropped:0 overruns:0 frame:0
TX packets:322832 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:144448246 (144.4 MB) TX bytes:68655794 (68.6 MB)
Interrupt:20 Memory:fb400000-fb420000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:463549 errors:0 dropped:0 overruns:0 frame:0
TX packets:463549 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:113166471 (113.1 MB) TX bytes:113166471 (113.1 MB)
Run Code Online (Sandbox Code Playgroud)
关于可能是什么原因以及我可以改变什么的任何想法?
您只有本地链接、不可路由的 ipv6 (fe80::/10)。
所以你没有公共可路由的 IPv6。
在此配置中,您可以使 ipv6 仅连接到同一 L2 网段中的 Link-Local 地址。
| 归档时间: |
|
| 查看次数: |
7617 次 |
| 最近记录: |