- 论坛徽章:
- 0
|
我现在做了一个较为简单路由器配置,大致网络结构为:路由器A(192.168.3.2、192.88.80.200)和一台电脑相连(192.88.80.160).路由器B(192.168.3.1)和路由器A相连.路由器B和其内网地址相连,内网服务器ip为(192.168.0.30)
在路由器A上面做静态影射地址将192.88.80.160影射为192.168.3.5 在路由器A上面可以ping 192.168.3.1也可以ping 192.168.0.30.
但是在服务器192.88.80.160上面只能ping 192.168.3.1,不能ping 192.168.0.30
在192.88.80.160服务器上面配置的网关为192.88.80.200
不知道怎么回事,请各位老大,给出点建议。
配置如下:
Current configuration : 724 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
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 192.168.3.2 255.255.255.0
ip nat outside
speed auto
full-duplex
!
interface FastEthernet0/1
ip address 192.88.80.200 255.255.255.0
ip nat inside
speed auto
full-duplex
!
ip nat inside source static 192.88.80.160 192.168.3.5
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.3.1
ip http server
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
!
end |
|