Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1538741
  • 博文数量: 416
  • 博客积分: 10061
  • 博客等级: 上将
  • 技术积分: 3287
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-05 11:12
个人简介

技术在于专研

文章分类

全部博文(416)

文章存档

2021年(3)

2015年(34)

2013年(2)

2012年(1)

2011年(2)

2010年(5)

2007年(344)

2006年(25)

分类: 系统运维

2006-12-07 15:35:05

拓扑:

 

拓扑我用的是左下面的那四个ROUTE

P1R3 fa0/0 shutdown 
IOS:c2691-i-mz.123-12a
Simulator:Dynamips 0.26RC4

后来我把路由协议RIP换成 eigrp 就学习不到 10.1.0.0

不知道RIP为什么 能学习到10.1.0.0

换成C类的网段就学习不到了 我日
P1R1:
P1R1(config)#router ospf 1
P1R1(config-router)#network 10.1.0.0 0.0.0.255 area 1
P1R1(config-router)#network 10.1.1.0 0.0.0.255 area 1

P1R2:
P1R2(config)#router ospf 1
P1R2(config-router)#network 10.1.0.0 0.0.0.255 area 1

P1R2(config)#router rip
P1R2(config-router)#ver 2
P1R2(config-router)#passive-interface s1/1
P1R2(config-router)#network 10.0.0.0

P1R3#conf
P1R3(config)#router rip
P1R3(config-router)#ver 2
P1R3(config-router)#network 10.0.0.0

P1R4#conf
P1R4(config)#router rip
P1R4(config-router)#ver 2
P1R4(config-router)#network 10.0.0.0

 

已经在P1RR2
passive-inter s1/1
但是 下面的2台路由还是收到关于10.1.0.0的路由信息!
P1R4#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 not set

     10.0.0.0/24 is subnetted, 3 subnets
C       10.1.3.0 is directly connected, Serial1/0
C       10.1.2.0 is directly connected, FastEthernet0/0
R       10.1.0.0 [120/1] via 10.1.2.2, 00:00:28, FastEthernet0/0

P1R3#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 not set

     10.0.0.0/24 is subnetted, 3 subnets
C       10.1.3.0 is directly connected, Serial1/0
R       10.1.2.0 [120/1] via 10.1.3.4, 00:00:18, Serial1/0
R       10.1.0.0 [120/2] via 10.1.3.4, 00:00:18, Serial1/0


P1R2的其他信息
P1R2#show ip prot
Routing Protocol is "rip"
  Sending updates every 30 seconds, next due in 15 seconds
  Invalid after 180 seconds, hold down 180, flushed after 240
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Redistributing: rip
  Default version control: send version 2, receive version 2
    Interface             Send  Recv  Triggered RIP  Key-chain
    FastEthernet0/0       2     2                                   
  Automatic network summarization is in effect
  Maximum path: 4
  Routing for Networks:
    10.0.0.0
  Passive Interface(s):
    Serial1/1
  Routing Information Sources:
    Gateway         Distance      Last Update
    10.1.2.4             120      00:00:23
  Distance: (default is 120)

Routing Protocol is "ospf 1"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
 --More--

 

不知道啥问题!谁可以帮忙帮忙呀!

解决掉了 PASSIVE-INTERFACE S1/1就可以

卷一上有说  PASSIVE只是不发广播但是还是侦听的!

阅读(851) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~