EIGRP 宣告错误

昨天下午 闲的没事,突然想起了学过的CISCO 知识,心想好长时间没动手做实验了,于是就打开了Packet Tracer 模拟器,做个实验吧,温习下知识点。心想做什么呢,就随手托拽了3个路由器,心里由然而生,就做个CISCO 私有的路由协议EIGRP实验吧。就开始把线连上。拓扑在附件里。由于没有较高权限,图片上传不上去。
 
搭建好网络环境后,就开始了,在各个路由器上先配置接口IP,激活接口。IP配好后,就开始配路由协议。宣告各个网段。配好后先ping 了下,现在R1 上挨着ping ,结果ping  R3 的虚拟接口不通,查看路由表没有学到R3的虚拟接口 192.168 段。在R2 上也ping 不通,也没学到192.168 段。是宣告错误?在R3 上ping R1 的虚拟接口可以通,纳闷了,查看R1 和R3 的配置,宣告虚拟接口的时候都是那么宣告的,没看出来有什么不一样。
R1 配置如下:
R1#show running-config
Building configuration...
Current configuration : 1906 bytes
!
version 12.4
service password-encryption
!
hostname R1
!
!
!
!
!
ip ssh version 1
!
!
interface Loopback0
 ip address 10.1.1.1 255.255.255.0
!
interface Loopback1
 ip address 10.1.2.1 255.255.255.0
!
interface Loopback2
 ip address 10.1.3.1 255.255.255.0
!
interface Loopback3
 ip address 10.1.4.1 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 ip address 172.16.1.1 255.255.255.252
 clock rate 64000
!
interface Serial0/0/1
 no ip address
 shutdown
!
interface Serial0/1/0
 no ip address
 shutdown
!
interface Serial0/1/1
 no ip address
 shutdown
!
interface FastEthernet1/0
 switchport mode access
 shutdown
!
interface FastEthernet1/1
 switchport mode access
 shutdown
!
interface FastEthernet1/2
 switchport mode access
 shutdown
!
interface FastEthernet1/3
 switchport mode access
 shutdown
!
interface FastEthernet1/4
 switchport mode access
 shutdown
!
interface FastEthernet1/5
 switchport mode access
 shutdown
!
interface FastEthernet1/6
 switchport mode access
 shutdown
!
interface FastEthernet1/7
 switchport mode access
 shutdown
!
interface FastEthernet1/8
 switchport mode access
 shutdown
!
interface FastEthernet1/9
 switchport mode access
 shutdown
!
interface FastEthernet1/10
 switchport mode access
 shutdown
!
interface FastEthernet1/11
 switchport mode access
 shutdown
!
interface FastEthernet1/12
 switchport mode access
 shutdown
!
interface FastEthernet1/13
 switchport mode access
 shutdown
!
interface FastEthernet1/14
 switchport mode access
 shutdown
!
interface FastEthernet1/15
 switchport mode access
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
router eigrp 50
 network 172.16.0.0
 network 10.0.0.0
 auto-summary
!
ip classless
!
!
!
!
!
line con 0
 login
line vty 0 4
 password 7 0822455D0A16
 login
!
!
end
 
R3 配置如下:
R3#show running-config
Building configuration...
Current configuration : 1913 bytes
!
version 12.4
service password-encryption
!
hostname R3
!
!
!
!
!
ip ssh version 1
!
!
interface Loopback0
 ip address 192.168.1.1 255.255.255.0
!
interface Loopback1
 ip address 192.168.2.1 255.255.255.0
!
interface Loopback2
 ip address 192.168.3.1 255.255.255.0
!
interface Loopback3
 ip address 192.168.4.1 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 no ip address
 shutdown
!
interface Serial0/0/1
 ip address 172.16.1.6 255.255.255.252
!
interface Serial0/1/0
 no ip address
 shutdown
!
interface Serial0/1/1
 no ip address
 shutdown
!
interface FastEthernet1/0
 switchport mode access
 shutdown
!
interface FastEthernet1/1
 switchport mode access
 shutdown
!
interface FastEthernet1/2
 switchport mode access
 shutdown
!
interface FastEthernet1/3
 switchport mode access
 shutdown
!
interface FastEthernet1/4
 switchport mode access
 shutdown
!
interface FastEthernet1/5
 switchport mode access
 shutdown
!
interface FastEthernet1/6
 switchport mode access
 shutdown
!
interface FastEthernet1/7
 switchport mode access
 shutdown
!
interface FastEthernet1/8
 switchport mode access
 shutdown
!
interface FastEthernet1/9
 switchport mode access
 shutdown
!
interface FastEthernet1/10
 switchport mode access
 shutdown
!
interface FastEthernet1/11
 switchport mode access
 shutdown
!
interface FastEthernet1/12
 switchport mode access
 shutdown
!
interface FastEthernet1/13
 switchport mode access
 shutdown
!
interface FastEthernet1/14
 switchport mode access
 shutdown
!
interface FastEthernet1/15
 switchport mode access
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
router eigrp 50
 network 172.16.0.0
 network 192.168.0.0 
 auto-summary
!
ip classless
!
!
!
!
!
line con 0
 login
line vty 0 4
 password 7 0822455D0A16
 login
!
!
end
也没出来那错啊
R1 上我宣告虚拟接口是这样宣告的      R3上是这样的
router eigrp 50                                              router eigrp 50
 network 172.16.0.0                                     network 172.16.0.0
 network 10.0.0.0                                         network 192.168.0.0
请教下别人吧,开始在QQ群里发言,说什么的都有。于是乎小麦大哥让我把配置给他发过去,让他看看怎么回事。停了会小麦大哥发言了,宣告错误 192.168.0.0 可是C类地址  network 192.168.0.0  这是一个24位的C类网  它与1。0/2。0/3。0/4。0是完全不同的网络。10是A类网 要么
network 192.168.1.0
network 192.168.2.0
 network 192.168.3.0
 network 192.168.4.0

要么network 192.168.0.0 0.0.7.255
恍然大悟,这才明白。
看来基础知识没有学好,还得多下功夫学习。最后感谢群里的朋友以及小麦大哥。
 

你可能感兴趣的:(职场,休闲,EIGRP)