3r211 发表于 2014-9-4 09:08:38

思科 GNS3 配置 rip OSPF 路由重发布


1::给R1 0/1 R2 0/1 0/0 look 0 R3 0/0 配置OSPF 放入aren1 2:给R3 0/0 look 0R4 0/1 配置OSPF 放入aren03: 给R4 0/0 look 0 R5 0/0 look 0 放入 aren 24:给R1 0/0 look 0 R6 0/0 look 0 放入version 35:给R6 R1 配rip6:给R1 R2 R3 R4 R5 配OSPF7:实现互通R1conf tint f0/1 ip add 11.0.0.1 255.255.255.0no shint f0/0 ip add 16.0.0.1 255.255.255.0no shexitint l0ip add 1.1.1.1 255.255.255.255         no shexitrouter ospf 1router-id 1.1.1.1network 11.0.0.0 0.0.0.255 area 1      放入area1network 1.1.1.0 0.0.0.0 area 1endwrite
R2conf tint f0/1 ip add 11.0.0.2 255.255.255.0no shint f0/0 ip add 12.0.0.1 255.255.255.0no shexitint l0ip add 2.2.2.2 255.255.255.255no shexitrouter ospf 1router-id 2.2.2.2network 0.0.0.0 255.255.255.255 area 1endwrite
R3conf tint f0/0 ip add 12.0.0.2 255.255.255.0no shint f0/1 ip add 13.0.0.1 255.255.255.0no shexitint L0ip add 3.3.3.3 255.255.255.255no shexitrouter ospf 1router-id 3.3.3.3network 12.0.0.0 0.0.0.255 area 1network 13.0.0.0 0.0.0.255 area 0network 3.3.3.3 0.0.0.0 area 0endwrite
R4conf tint f0/1 ip add 13.0.0.2 255.255.255.0no shint f0/0 ip add 14.0.0.1 255.255.255.0no shexitint l0ip add 4.4.4.4 255.255.255.255no shexitrouter ospf 1router-id 4.4.4.4network 13.0.0.0 0.0.0.255 area 0network 14.0.0.0 0.0.0.255 area 2network 4.4.4.4 0.0.0.0 area 2endwrite
R5conf tint f0/0 ip add 14.0.0.2 255.255.255.0no shexitint l0ip add 5.5.5.5 255.255.255.255no shexitrouter ospf 1router-id 5.5.5.5network 0.0.0.0 255.255.255.255 area 2endwrite

R1conf tint f0/0ip add 16.0.0.1 255.255.255.0no shexitrouter ripversion 2         进V2版本no auto-summary   network 1.1.1.0 network 16.0.0.0endwriteR6conf tint f0/0ip add 16.0.0.2 255.255.255.0no shint l0ip add 6.6.6.6 255.255.255.255no shexitrouter ripversion 2no auto-summarynetwork 6.6.6.0 network 16.0.0.0endwrite
show ip ospf database routerR1router ospf 1redistribute rip subnets metric 25 metric-type 1exitrouter rip redistribute ospf 1 metric 2

做优化
R5#conf tR5(config)#router ospf 1 R5(config-router)#area 2 stub no-summary把3类 4类 5类 都去了




页: [1]
查看完整版本: 思科 GNS3 配置 rip OSPF 路由重发布