防火墙外网的IP地址变了,不能上外网了。
现在是这样的:
端口5是外网,端口8~11四个端口做的Vlan。
原来的外网IP是211.125.144.99,改为122.144.131.72,掩码是255.255.255.0,网关是122.144.131.1,
Vlan的端口连接了两台服务器,分别是10.0.0.3和10.0.0.4,vlan是10.0.0.110,
有一个静态路由是0.0.0.0到122.144.131.1,
也设置了Nat转换,但现在不能上网,请帮忙解惑,急,在线等。
interface GigabitEthernet1/0/5
port link-mode route
speed 1000
ip address 122.144.131.71 255.255.255.0
ip address 122.144.131.72 255.255.255.0 sub
ip address 122.144.131.73 255.255.255.0 sub
把131.72作为主地址看看
(0)
谢谢,已经调通,原因是71地址被占用,必须要使用主地址才行,后面把72为主地址,就正常联通了,和我以为的,主地址和子地址绑定到一个端口上效果一样,实际上是不行的。
不太一样,因为nat outbound 后面没有加地址组,都会以接口主地址访问外网的。71地址冲突比较少见,不过替换地址测试是最快的,因为配置上看没有问题的。
display nat session slot 1 verbose回显正常吗?
display session table ipv4 verbose呢?
(0)
谢谢,已经调通,原因是71地址被占用,必须要使用主地址才行,后面把72为主地址,就正常联通了,和我以为的,主地址和子地址绑定到一个端口上效果一样,实际上是不行的。
Slot 1: Initiator: Source IP/port: 10.0.0.4/50033 Destination IP/port: 114.114.114.114/53 DS-Lite tunnel peer: - VPN instance/VLAN ID/Inline ID: -/-/- Protocol: UDP(17) Inbound interface: Vlan-interface1 Source security zone: Trust Responder: Source IP/port: 114.114.114.114/53 Destination IP/port: 122.144.131.71/1788 DS-Lite tunnel peer: - VPN instance/VLAN ID/Inline ID: -/-/- Protocol: UDP(17) Inbound interface: GigabitEthernet1/0/5 Source security zone: Untrust State: UDP_OPEN Application: DNS Start time: 2022-08-18 10:16:34 TTL: 17s Initiator->Responder: 0 packets 0 bytes Responder->Initiator: 0 packets 0 bytes Initiator: Source IP/port: 10.0.0.3/64658 Destination IP/port: 211.144.126.111/21027 DS-Lite tunnel peer: - VPN instance/VLAN ID/Inline ID: -/-/- Protocol: UDP(17) Inbound interface: Vlan-interface1 Source security zone: Trust Responder: Source IP/port: 211.144.126.111/21027 Destination IP/port: 122.144.131.71/1787 DS-Lite tunnel peer: - VPN instance/VLAN ID/Inline ID: -/-/- Protocol: UDP(17) Inbound interface: GigabitEthernet1/0/5 Source security zone: Untrust State: UDP_OPEN Application: GENERAL_UDP Start time: 2022-08-18 10:16:01 TTL: 7s Initiator->Responder: 0 packets 0 bytes Responder->Initiator: 0 packets 0 bytes Initiator: Source IP/port: 10.0.0.3/54981 Destination IP/port: 114.114.114.114/53 DS-Lite tunnel peer: - VPN instance/VLAN ID/Inline ID: -/-/- Protocol: UDP(17) Inbound interface: Vlan-interface1 Source security zone: Trust Responder: Source IP/port: 114.114.114.114/53 Destination IP/port: 122.144.131.71/1789 DS-Lite tunnel peer: - VPN instance/VLAN ID/Inline ID: -/-/- Protocol: UDP(17) Inbound interface: GigabitEthernet1/0/5 Source security zone: Untrust State: UDP_OPEN Application: DNS Start time: 2022-08-18 10:16:34 TTL: 18s Initiator->Responder: 0 packets 0 bytes Responder->Initiator: 0 packets 0 bytes Initiator: Source IP/port: 10.0.0.4/57383 Destination IP/port: 120.253.255.66/80 DS-Lite tunnel peer: - VPN instance/VLAN ID/Inline ID: -/-/- Protocol: TCP(6) Inbound interface: Vlan-interface1 Source security zone: Trust Responder: Source IP/port: 120.253.255.66/80 Destination IP/port: 122.144.131.71/1453 DS-Lite tunnel peer: - VPN instance/VLAN ID/Inline ID: -/-/- Protocol: TCP(6) Inbound interface: GigabitEthernet1/0/5 Source security zone: Untrust State: TCP_SYN_SENT Application: HTTP Start time: 2022-08-18 10:16:40 TTL: 25s Initiator->Responder: 0 packets 0 bytes Responder->Initiator: 0 packets 0 bytes Initiator: Source IP/port: 10.0.0.4/57382 Destination IP/port: 106.11.45.35/80 DS-Lite tunnel peer: - VPN instance/VLAN ID/Inline ID: -/-/- Protocol: TCP(6) Inbound interface: Vlan-interface1 Source security zone: Trust Responder: Source IP/port: 106.11.45.35/80 Destination IP/port: 122.144.131.71/1452 DS-Lite tunnel peer: - VPN instance/VLAN ID/Inline ID: -/-/- Protocol: TCP(6) Inbound interface: GigabitEthernet1/0/5 Source security zone: Untrust State: TCP_SYN_SENT Application: HTTP Start time: 2022-08-18 10:16:38 TTL: 23s Initiator->Responder: 0 packets 0 bytes Responder->Initiator: 0 packets 0 bytes Initiator: Source IP/port: 10.0.0.4/57379 Destination IP/port: 120.253.255.66/80 DS-Lite tunnel peer: - VPN instance/VLAN ID/Inline ID: -/-/- Protocol: TCP(6) Inbound interface: Vlan-interface1 Source security zone: Trust Responder: Source IP/port: 120.253.255.66/80 Destination IP/port: 122.144.131.71/1451 DS-Lite tunnel peer: - VPN instance/VLAN ID/Inline ID: -/-/- Protocol: TCP(6) Inbound interface: GigabitEthernet1/0/5 Source security zone: Untrust State: TCP_SYN_SENT Application: HTTP Start time: 2022-08-18 10:16:19 TTL: 4s Initiator->Responder: 0 packets 0 bytes Responder->Initiator: 0 packets 0 bytes Total sessions found: 6
看不懂,好气
谢谢,已经调通,原因是71地址被占用,必须要使用主地址才行,后面把72为主地址,就正常联通了,和我以为的,主地址和子地址绑定到一个端口上效果一样,实际上是不行的。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
不太一样,因为nat outbound 后面没有加地址组,都会以接口主地址访问外网的。71地址冲突比较少见,不过替换地址测试是最快的,因为配置上看没有问题的。