公司原来用的其他厂家的路由器,内部有k3和oa等服务器,更换msr3600路由器设置见附件,端口影射按照原来的设置完后不能完全访问,有些可以,wan-ip:33999在内网\公网不行、内网ip:3389可以,33888在内网公网用wan-ip/内网ip就都可以。
interface GigabitEthernet0/2
port link-mode route
description Multiple_Line
ip address wan-ip 255.255.255.252
nat outbound 2000 address-group 1
nat server protocol tcp global wan-ip 33888 inside 192.168.10.4 3389
nat server protocol tcp global wan-ip 33999 inside 192.168.10.87 3389
nat address-group 1 address wan-ip wan-ip #wan-ip一样,一个ip
acl basic 2000
rule 0 permit source 192.168.0.0 0.0.255.255
rule 100 deny
#
一电信专线、n电信adsl入,msr3600,4口trunk到交换机
最佳答案
外网口的33888和33999 nat server配置看起来是一样的,设备对这个做映射处理上没有差别。可以先通过抓包或者debug的方式,确认一下是nat有问题,还是内网有哪里不通。举例,外网访问wan ip + 33999,MSR上debug nat packet,内网192.168.10.87终端抓一下包,看看有没有收到访问的报文。
(0)
内网192.168.10.87终端可以抓到,有反应 No. Time Source Destination Protocol Length Info 523 25.547152 192.168.11.87 117.33.51.221 TCP 54 3389 → 16714 [RST] Seq=1 Win=0 Len=0
地址是11.87,已经在映射中修改了,抓包的最后一条(连接会话停止后的)
这句抓包看起来就是192.168.11.87发的reset,看不出来原因。117.33.51.221是wan口地址吗,看起来nat已经转换了
"No.","Time","Source","Destination","Protocol","Length","Info" "396","16.413826","117.33.51.221","192.168.11.87","TCP","74","16877 > 3389 [SYN] Seq=0 Win=65535 Len=0 MSS=1280 SACK_PERM=1 TSval=66182332 TSecr=0 WS=256" "399","16.414816","192.168.11.87","117.33.51.221","TCP","74","3389 > 16877 [SYN, ACK] Seq=0 Ack=1 Win=64000 Len=0 MSS=1460 WS=1 SACK_PERM=1 TSval=72969744 TSecr=66182332" "412","17.405067","117.33.51.221","192.168.11.87","TCP","74","[TCP Retransmission] 16877 > 3389 [SYN] Seq=0 Win=65535 Len=0 MSS=1360 SACK_PERM=1 TSval=66182582 TSecr=0 WS=256" "439","19.405049","117.33.51.221","192.168.11.87","TCP","74","[TCP Retransmission] 16877 > 3389 [SYN] Seq=0 Win=65535 Len=0 MSS=1360 SACK_PERM=1 TSval=66183083 TSecr=0 WS=256" "440","19.428860","192.168.11.87","117.33.51.221","TCP","74","[TCP Retransmission] 3389 > 16877 [SYN, ACK] Seq=0 Ack=1 Win=64000 Len=0 MSS=1460 WS=1 SACK_PERM=1 TSval=72970045 TSecr=66182332" "522","23.405224","117.33.51.221","192.168.11.87","TCP","74","[TCP Retransmission] 16877 > 3389 [SYN] Seq=0 Win=65535 Len=0 MSS=1360 SACK_PERM=1 TSval=66184084 TSecr=0 WS=256" "567","25.444557","192.168.11.87","117.33.51.221","TCP","70","[TCP Retransmission] 3389 > 16877 [SYN, ACK] Seq=0 Ack=1 Win=64000 Len=0 MSS=1460 SACK_PERM=1 TSval=72970647 TSecr=66182332" "808","37.460605","192.168.11.87","117.33.51.221","TCP","54","3389 > 16877 [RST] Seq=1 Win=0 Len=0" 这个是应答过程,从链接到结束,117.33.51.221不是wan口地址,我用手机4g网络连接的
内网的地址映射(同主机多网卡)10段可以,到11段就不行了
这个主机能不能把10网段网卡先关掉,看看11网段能不能正常映射?这样可以确认下跟nat有关还是跟多网卡有关。
抓包结果,不是每次都连不上,一会能连上一会又连不上
来回路径不一致,msr3600
int wan接口
ip last-hop hold
参考: https://baijiahao.baidu.com/s?id=1591503875596471896&wfr=spider&for=pc
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
这个主机能不能把10网段网卡先关掉,看看11网段能不能正常映射?这样可以确认下跟nat有关还是跟多网卡有关。