思科配置好静态路由后PING不通

R1
ip ssh version 1
!
interface FastEthernet0/0
ip address 3.3.3.3 255.255.255.0
duplex auto
speed auto

interface Ethernet1/0
ip address 34.1.1.1 255.255.252.0
duplex auto
speed auto
router rip
ip classless
ip route 6.6.6.0 255.255.255.0 34.1.1.2

R2

interface Ethernet1/0
ip address 34.1.1.2 255.255.255.0
duplex auto
speed auto
!
interface Ethernet1/1
ip address 46.1.1.1 255.255.255.0
duplex auto
speed auto

ip classless
ip route 6.6.6.0 255.255.255.0 46.1.1.2
ip route 3.3.3.0 255.255.255.0 34.1.1.1

R3
interface FastEthernet0/0
ip address 6.6.6.6 255.255.255.0
duplex auto
speed auto
interface Ethernet1/0
ip address 46.1.1.2 255.255.255.252
duplex auto
speed auto
!
ip classless
ip route 3.3.3.0 255.255.255.0 46.1.1.1
!

在R3用PING功能,能PIN通到46.1.1.1,
全部交叉线连:R1 E1/0——R2 E1/0 R2 e1/1---R3 1/0
3.3.3.3和6.6.6不能PING通,请教下高手,谢谢

第1个回答  2010-07-24
你在配置的时候,最好画个图,画了图,标上地址段,你看就知道问题出再哪里了!

在r1上增加ip route 46.1.1.0 255.255.255.0 34.1.1.2

在r3上增加ip route 34.1.1.0 255.255.255.0 46.1.1.1

现在你再去试试吧!应该可以了!(另外,把r1的e1/0以及r3的e1/0的子网掩码改一下,虽然在你的这个配置中不影响使用,但是看着不舒服!)
第2个回答  2010-07-17
一看你的ip,其实就明白了!

子网掩码很错乱!R1 1/0
R3 1/0本回答被提问者采纳
相似回答