这是我的配置:
主持人:
> ip -6 route show dev vmbr0
2a01:4f8:141:54d8::/64 proto kernel metric 256 pref medium
fe80::/64 proto kernel metric 256 pref medium
-
iface enp30s0 inet6 static
address 2a01:4f8:141:54d8::2
netmask 128
gateway fe80::1
iface vmbr0 inet6 static
address 2a01:4f8:141:54d8::2
netmask 64
客人:
> ip -6 route show dev ens19
2a01:4f8:141:54d8::2 metric 1024 pref medium
fe80::/64 proto kernel metric 256 pref medium
default via 2a01:4f8:141:54d8::2 metric 1024 pref medium
-
iface ens19 inet6 static
address 2a01:4f8:141:54d8::3
netmask 64
gateway 2a01:4f8:141:54d8::2
我可以从我的客户机 ping 我的主机:
PING 2a01:4f8:141:54d8::2(2a01:4f8:141:54d8::2) 56 data bytes
64 bytes from 2a01:4f8:141:54d8::2: icmp_seq=1 ttl=64 time=0.104 ms
64 bytes from 2a01:4f8:141:54d8::2: icmp_seq=2 ttl=64 time=0.110 ms
64 bytes from 2a01:4f8:141:54d8::2: icmp_seq=3 ttl=64 time=0.120 ms
64 bytes from 2a01:4f8:141:54d8::2: icmp_seq=4 ttl=64 time=0.120 ms
我无法从我的访客 ping 谷歌:
PING google.com(fra15s28-in-x0e.1e100.net) 56 data bytes
From fra15s28-in-x0e.1e100.net icmp_seq=1 Destination unreachable: Beyond scope of source address
From fra15s28-in-x0e.1e100.net icmp_seq=2 Destination unreachable: Beyond scope of source address
From fra15s28-in-x0e.1e100.net icmp_seq=3 Destination unreachable: Beyond scope of source address
From fra15s28-in-x0e.1e100.net icmp_seq=4 Destination unreachable: Beyond scope of source address
我可以从我的主机 ping google:
PING google.com(fra16s07-in-x0e.1e100.net (2a00:1450:4001:816::200e)) 56 data bytes
64 bytes from fra16s07-in-x0e.1e100.net (2a00:1450:4001:816::200e): icmp_seq=1 ttl=57 time=5.33 ms
64 bytes from fra16s07-in-x0e.1e100.net (2a00:1450:4001:816::200e): icmp_seq=2 ttl=57 time=5.34 ms
64 bytes from fra16s07-in-x0e.1e100.net (2a00:1450:4001:816::200e): icmp_seq=3 ttl=57 time=5.32 ms
64 bytes from fra16s07-in-x0e.1e100.net (2a00:1450:4001:816::200e): icmp_seq=4 ttl=57 time=5.33 ms
我无法从主机 ping 通我的客户机
PING 2a01:4f8:141:54d8::3(2a01:4f8:141:54d8::3) 56 data bytes
From 2a01:4f8:141:54d8::2 icmp_seq=1 Destination unreachable: Address unreachable
From 2a01:4f8:141:54d8::2 icmp_seq=2 Destination unreachable: Address unreachable
From 2a01:4f8:141:54d8::2 icmp_seq=3 Destination unreachable: Address unreachable
From 2a01:4f8:141:54d8::2 icmp_seq=4 Destination unreachable: Address unreachable
我想要的是:
能够从 www 访问两个 IP,并且能够从两个 IP 访问 www。