我有两个局域网A和B,分别是192.168.0.0(255.255.255.0) 和192.168.3.0(255.255.255.0).另外有cisco 2611xm 路由器一台。
由于初次接触路由器,我想尝试用路由器的一个端口连接两个局域网(用secondary).
网络结构描述如下:
A和B使用同一个交换机,然后我将2611接到交换机上。并设置2611的fastethernet端口...具体配置如下:
Building configuration...
Current configuration : 816 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname xlxrouter
!
boot system flash
enable secret 5 $1$W43e$SQtiSyzIrkKzZZE7Ye3Q..
enable password **********
!
ip subnet-zero
no ip source-route
!
interface FastEthernet0/0
ip address 192.168.3.1 255.255.255.0 secondary
ip address 192.168.0.200 255.255.255.0
no ip mroute-cache
speed auto
full-duplex
!
interface FastEthernet0/1
no ip address
ip broadcast-address 0.0.0.0
no ip mroute-cache
shutdown
duplex auto
speed auto
!
router rip
version 2
redistribute connected
network 192.168.0.0
network 192.168.3.0
!
ip classless
no ip http server
ip pim bidir-enable
!
!
snmp-server community public RO
!
line con 0
line aux 0
line vty 0 4
password ***********
login
!
!
end
然后A网的机器设置网关:192.168.0.200,B网的机器设置网关:192.168.3.1
现在的问题是:A网的机器能够ping通A网的机器,也能ping通B网的机器,一切正常,但是B网的机器只能ping通192.168.0.200,却不能ping通A网段的其他机器,请问这是什么原因?该如何解决?
很少接触路由器,不好意思给各位添麻烦了,谢谢!
|
|