我试图弄清楚我是否有双重 NAT,所以我运行了一些traceroute
。
首先,我将路由器设置为 NAT 模式,然后运行traceroute 8.8.8.8
结果如下
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 testwifi.here (192.168.86.1) 1.305 ms 1.289 ms 2.580 ms
2 10.105.104.1 (10.105.104.1) 13.437 ms 13.443 ms 13.439 ms
3 192.168.105.1 (192.168.105.1) 5.190 ms 5.445 ms 5.446 ms
4 66.71.224.1 (66.71.224.1) 5.456 ms 5.454 ms 5.462 ms
5 xe-2-3-1.er2.ord2.us.zip.zayo.com (64.124.178.57) 5.459 ms 5.466 ms 5.462 ms
6 ae9.cs3.ord2.us.eth.zayo.com (64.125.27.214) 5.507 ms * *
7 * * *
8 74.125.50.194 (74.125.50.194) 3.064 ms 3.082 ms 3.079 ms
9 108.170.243.193 (108.170.243.193) 3.075 ms 3.639 ms 3.648 ms
10 108.170.233.111 (108.170.233.111) 4.409 ms 216.239.42.109 (216.239.42.109) 4.414 ms 216.239.42.113 (216.239.42.113) 2.459 ms
11 dns.google (8.8.8.8) 2.940 ms 2.943 ms 2.938 ms
然后只处于 AP 模式,仅作为桥梁。结果如下:
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 _gateway (10.105.104.1) 4.989 ms 4.871 ms 4.830 ms
2 192.168.105.1 (192.168.105.1) 4.680 ms 4.654 ms 4.566 ms
3 66.71.224.1 (66.71.224.1) 4.599 ms 4.882 ms 4.863 ms
4 xe-2-3-1.er2.ord2.us.zip.zayo.com (64.124.178.57) 4.847 ms 4.774 ms 4.735 ms
5 * * *
6 * * *
7 74.125.50.194 (74.125.50.194) 3.142 ms 3.126 ms 3.068 ms
8 108.170.243.174 (108.170.243.174) 4.396 ms 108.170.243.225 (108.170.243.225) 4.289 ms 108.170.243.193 (108.170.243.193) 2.044 ms
9 216.239.42.109 (216.239.42.109) 1.991 ms 72.14.232.169 (72.14.232.169) 1.927 ms 108.170.238.91 (108.170.238.91) 2.240 ms
10 dns.google (8.8.8.8) 1.859 ms 2.086 ms 2.058 ms
看到这个结果,我不明白为什么第一次运行会得到三个私有 IP。如果我有双 NAT,我预计只会得到两个。第二次运行,我只得到两个,因为路由器生成的私有 IP 不存在。
这意味着我有“三重”NAT?我该如何解决这个问题?
非常感谢,Marco