找回密码
 加入我们
搜索
      
查看: 19091|回复: 62

[网络] 宽带不是公网IP的用户,可以尝试关闭路由器、光猫、软路由的 NAT (转载)

[复制链接]
发表于 2024-11-11 13:48 | 显示全部楼层
坐标025,我在设备上测试了下,哎,可以的,真神奇。
<XXX-IPV6-R1>ping -a 192.168.188.252 218.2.2.2
  PING 218.2.2.2: 56  data bytes, press CTRL_C to break
    Reply from 218.2.2.2: bytes=56 Sequence=1 ttl=61 time=1 ms
    Reply from 218.2.2.2: bytes=56 Sequence=2 ttl=61 time=1 ms
    Reply from 218.2.2.2: bytes=56 Sequence=3 ttl=61 time=2 ms
    Reply from 218.2.2.2: bytes=56 Sequence=4 ttl=61 time=1 ms

  --- 218.2.2.2 ping statistics ---
    4 packet(s) transmitted
    4 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 1/1/2 ms
<XCKJ-IPV6-R1>dis nat session all
  NAT Session Table Information:
     Protocol          : ICMP(1)
     SrcAddr   **     : 192.168.188.252                                
     DestAddr  **     : 218.2.2.2                                      
     Type Code IcmpId  : 8   0   52907
     NAT-Info
       New SrcAddr     : 100.110.132.199
       New DestAddr    : ----
       New IcmpId      : 10240

  Total : 1
这个是nat开启的状态。
我把nat关闭后。
<XXX-IPV6-R1>ping -a 192.168.188.252 218.2.2.2
  PING 218.2.2.2: 56  data bytes, press CTRL_C to break
    Reply from 218.2.2.2: bytes=56 Sequence=1 ttl=61 time=1 ms
    Reply from 218.2.2.2: bytes=56 Sequence=2 ttl=61 time=1 ms
    Reply from 218.2.2.2: bytes=56 Sequence=3 ttl=61 time=1 ms
    Reply from 218.2.2.2: bytes=56 Sequence=4 ttl=61 time=1 ms
    Reply from 218.2.2.2: bytes=56 Sequence=5 ttl=61 time=1 ms

  --- 218.2.2.2 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 1/1/1 ms

<XXX-IPV6-R1>
<XXX-IPV6-R1>dis nat session all
  NAT Session Table Information:

  Total : 0
<XXX-IPV6-R1>

不错,不错。。。
您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

Archiver|手机版|小黑屋|Chiphell ( 沪ICP备12027953号-5 )沪公网备310112100042806 上海市互联网违法与不良信息举报中心

GMT+8, 2025-9-19 07:46 , Processed in 0.007186 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2007-2024 Chiphell.com All rights reserved.

快速回复 返回顶部 返回列表