求助关于锐捷R1700l路由器的rip和ospf重发布 跪谢大神!
SW跟RA用rip RB用OSPF 为什么在RA中重发布不了? 命令如下
RA(config-router)#show run
Building configuration...
Current configuration : 737 bytes
!
version RGNOS 10.1.00(4), Release(22505)(Wed Sep 19 18:31:34 CST 2007 -ubuntu-2)
hostname RA
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface serial 1/2
clock rate 64000
!
interface serial 1/3
clock rate 64000
!
interface FastEthernet 1/0
ip address 192.168.10.5 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet 1/1
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
!
!
!
!
router ospf 1
redistribute connected
redistribute rip metric 10
network 192.168.10.0 0.0.0.255 area 0
!
!
router rip
version 2
network 192.168.1.0
redistribute connected
redistribute ospf
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end
http://bbs.spoto.net/xwb/images/bgimg/icon_logo.png 该贴已经同步到 379006775的微博 问下:你的交换机fa0/1 fa0/2划分在vlan 10 fa0/11在vlan20 这样的吗 router rip
version 2
network 192.168.1.0
redistribute connected
redistribute ospf
这里涉及到重发布种子度量的问题(重发布默认度量值)
RIP从其他动态路由协议重发布进来的路由,默认Metric=16hops,也即不可达,
所以在重发布的时候,需指定metric 回复一楼 是的 F0/1跟F0/2是VLAN10 F0/11是VLAN 20 回复二楼 我知道这个度量值 但是 我做上去 路由表依旧没有OSPF的路由 interface serial 1/2
clock rate 64000
!
interface serial 1/3
clock rate 64000
!
interface FastEthernet 1/0
ip address 192.168.10.5 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet 1/1
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
!
!
!
!
router ospf 100
redistribute rip metric 100 subnets
network 192.168.10.4 0.0.0.3 area 0
!
!
router rip
version 2
network 192.168.1.0
redistribute ospf metric 2
修改后配置
SHOW IP ROUTE后
Codes:C - connected, S - static,R - RIP B - BGP
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, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default
Gateway of last resort is no set
C 192.168.1.0/24 is directly connected, FastEthernet 1/1
C 192.168.1.2/32 is local host.
C 192.168.10.4/30 is directly connected, FastEthernet 1/0
C 192.168.10.5/32 is local host. RA(config)#show run
Building configuration...
Current configuration : 714 bytes
!
version RGNOS 10.1.00(4), Release(22505)(Wed Sep 19 18:31:34 CST 2007 -ubuntu-2)
hostname RA
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface serial 1/2
clock rate 64000
!
interface serial 1/3
clock rate 64000
!
interface FastEthernet 1/0
ip address 192.168.10.5 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet 1/1
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
!
!
!
!
router ospf 1
redistribute rip metric 10 metric-type 1 subnets
network 192.168.10.0 0.0.0.3 area 0
!
!
router rip
version 2
network 192.168.1.0
redistribute ospf metric 3配置命令
路由表条目
RA(config)#show ip route
Codes:C - connected, S - static,R - RIP B - BGP
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, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default
Gateway of last resort is no set
C 192.168.1.0/24 is directly connected, FastEthernet 1/1
C 192.168.1.2/32 is local host.
R 192.168.2.0/24 via 192.168.1.1, 00:00:19, FastEthernet 1/1
C 192.168.10.4/30 is directly connected, FastEthernet 1/0
C 192.168.10.5/32 is local host.
现在还是重分布不了 本帖最后由 ★浓_眉☆※兴 于 2012-7-14 13:37 编辑
你sw上的pc1能与pc2互通吗?网关怎么配置的 你的sw上fa0/1 和fa/2在同一子网 fa0/11在另一个子网
我建议啊 sw上完成三层交换 fa0/1 no sw 配置ip 例如 192.168.3.1/24
ra
fa1/1:ip add 192.168.3.2/24
router rip
ver 2
no au
net 192.168.3.0
redistribute ospf 1 metric 2
router ospf 1
net 192.168.10.5 0.0.0.3 a 0
redrisbute rip sbnets
当然在sw router rip ,ver 2, no au,net 192.168.1/2/3.0
实验我是这样做的 全网互通 希望帮到你 问题解决了 是在OSPF中要启用OSPF network 0.0.0.0 255.255.255.255 379006775 发表于 2012-7-16 10:35 static/image/common/back.gif
问题解决了 是在OSPF中要启用OSPF network 0.0.0.0 255.255.255.255
你在r1上这样做 这也叫重发不啊!!!!
ospf的ad比rip的ad值少等于在r1上ospf为首 相当于整个网络处于ospf中
请你解释下?
页:
[1]
2