PAT 问题求助
本帖最后由 spxj001 于 2013-3-16 16:46 编辑路由器设置 2个DHCP1:192.168.1.0/242:192.168.2.0/24
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 1 deny any
ip nat pool wai 123.157.233.2 123.157.233.2 prefix-length 30
ip nat inside source list 1 pool wai overload
指定:fa0/0 ip nat in
指定:S1/0 iP natout
路由器下带SW
sw 下面带2台PC 自动获取IP
开debug ip nat
PC1 192.168.1.2 ping 123.157.233.1 通 可以看到 PAT的端口转化
PC2 192.168.2.2 ping 123.157.233.1 通 看不到到 PAT的端口转化
根据ACL 1看 应该 192.168.2.0/24不通的 可是通了
是我配置错误了吗?
interface FastEthernet0/0.1
encapsulation dot1Q 110
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.2
encapsulation dot1Q 120
ip address 192.168.2.1 255.255.255.0
ip nat inside
ip virtual-reassembly
interface Serial1/0
bandwidth 2048
ip address 123.157.233.2 255.255.255.252
ip nat outside
ip virtual-reassembly
serial restart-delay 0
clock rate 64000
你接口上怎么配置的? {:6_282:}{:6_282:} 不清楚 是什么情况 难道是模拟器的问题? {:6_267:}
页:
[1]