当前一台MSR3600-51路由器,GE0/0口上联另一台路由VLAN3095,本端IP:59.211.130.226/28,对端59.211.130.225/28,本端下建VLAN 1106 IP:10.44.100.254/28,电脑接在VLAN 1106下,在GE0/0下未创建nat static enable时上网正常,一加入该命令马上断网,连VLAN1106网关都PING不通,至今想不明白原因.以前类似做法没见过这问题.
电脑IP设置:IP:10.44.100.242 掩码:255.255.255.240 网关:10.44.100.254
配置如下:
# version 7.1.059, Release 0306P30
# sysname H3C
# vlan 1
# vlan 1106
# interface Vlan-interface1106
ip address 10.44.100.254 255.255.255.240
# interface GigabitEthernet0/0
port link-mode route
ip address 59.211.130.226 255.255.255.240
nat outbound
nat server protocol icmp global 59.211.130.227 inside 10.44.100.242
nat server protocol tcp global 59.211.130.227 inside 10.44.100.242
nat hairpin enable
# interface GigabitEthernet0/3
port link-mode bridge
port access vlan 1106
# interface GigabitEthernet0/4
port link-mode bridge
port access vlan 1106
# ip route-static 0.0.0.0 0 59.211.130.225
# nat static outbound 59.211.130.227 10.44.100.242
(0)
最佳答案
nat static outbound 59.211.130.227 10.44.100.242
这两个地址写反了,前边是local IP,后边是global IP,改成:
nat static outbound 10.44.100.242 59.211.130.227
再试试。
(0)
谢谢,应该是这个原因了,没注意到这个细节!
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
谢谢,应该是这个原因了,没注意到这个细节!