思科2600配置问题
公司里2600路由器上内网端口192.168.0.222,外网端口211.*.*.74,下一跳为211.*.*.73,从内网主机ping192.168.0.222 211.*.*.74都可以通,但Ping211.*.*.73不通(此ip若直接从路由器或通过其他internet线路可以ping通),下面是配置,请帮我检查下到底怎么回事,谢谢!
2600#show runn
Building configuration...
Current configuration : 877 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 2600
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$9H8f$DeQLywsQAVdd.xqSUKXbS1
enable password yehuaqi
!
no network-clock-participate slot 1
no network-clock-participate wic 0
no aaa new-model
ip subnet-zero
ip cef
!
!
!
no ftp-server write-enable
!
!
!
!
interface FastEthernet0/0
ip address 211.*.*.74 255.255.255.248
ip access-group 1 out
speed auto
half-duplex
no mop enabled
!
interface FastEthernet0/1
ip address 192.168.0.222 255.255.255.0
duplex auto
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 211.*.*.73
ip http server
!
access-list 1 permit 192.168.0.0 0.0.0.255
snmp-server community public RO
snmp-server enable traps tty
!
line con 0
line aux 0
line vty 0 4
password aass11
login
!
!
!
end
2600#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 211.*.*.73 to network 0.0.0.0
211.*.*.0/29 is subnetted, 1 subnets
C 211.*.*.72 is directly connected, FastEthernet0/0
C 192.168.0.0/24 is directly connected, FastEthernet0/1
S* 0.0.0.0/0 [1/0] via 211.*.*.73
[解决办法]
下一跳为211.*.*.73,这个73也是路由器吧?他上面也要配置的,把回来的数据发到211.*.*.74。
这样才能通的。
你的内网主机--192.168.0.222(这个应该是内网网关)-211.*.*.74-Ping211.*.*.73,这个方向上没有问题的。
问题是到了73,他并不知道你的内网主机IP(192.168.0。*)要返回给211.*.*.74的。
如果73,是公网上的IP。你这个要做NAT转换的。把内网IP换成公网IP
[解决办法]
给思科售后打电话咨询下8008108886