您的当前位置:首页帧中继网络利用OSPF协议实现全网互通实验

帧中继网络利用OSPF协议实现全网互通实验

来源:小侦探旅游网
帧中继网络利用OSPF协议实现全网互通实验

1、 拓朴图

2、 配置信息; FRSW#SHOW RUN Building configuration...

Current configuration : 1285 bytes !

version 12.4

service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption !

hostname FRSW !

boot-start-marker boot-end-marker ! !

no aaa new-model memory-size iomem 5

no ip icmp rate-limit unreachable ip tcp synwait-time 5 !

! ip cef

no ip domain lookup !

! !

frame-relay switching ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !

interface Serial0/0 no ip address

encapsulation frame-relay serial restart-delay 0 clock rate 64000

frame-relay intf-type dce

frame-relay route 201 interface Serial0/1 102 frame-relay route 203 interface Serial0/2 302 !

interface Serial0/1 no ip address

encapsulation frame-relay serial restart-delay 0 clock rate 64000

frame-relay intf-type dce

frame-relay route 102 interface Serial0/0 201 !

interface Serial0/2 no ip address

encapsulation frame-relay serial restart-delay 0 clock rate 64000

frame-relay intf-type dce

frame-relay route 302 interface Serial0/0 203 !

interface Serial0/3 no ip address shutdown

serial restart-delay 0 !

no ip http server

no ip http secure-server ! ! ! ! !

control-plane ! ! ! ! ! ! ! !

! !

line con 0

exec-timeout 0 0 privilege level 15 logging synchronous line aux 0

exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 login ! ! end

FRSW#SHOW FRAM

FRSW#SHOW FRAMe-relay ROUTE

Input Intf Input Dlci Output Intf Output Dlci Status

Serial0/0 201 Serial0/1 102 active Serial0/0 203 Serial0/2 302 active Serial0/1 102 Serial0/0 201 active Serial0/2 302 Serial0/0 203 active

R1#SHOW RUN

Building configuration...

Current configuration : 1369 bytes !

version 12.4

service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption !

hostname R1 !

boot-start-marker boot-end-marker ! !

no aaa new-model memory-size iomem 5

no ip icmp rate-limit unreachable ip tcp synwait-time 5 ! ! ip cef

no ip domain lookup !

! ! ! ! ! ! ! ! !

! ! ! ! ! ! ! ! ! ! ! ! !

interface Loopback0

ip address 10.10.255.1 255.255.255.255 !

interface Serial0/0

ip address 10.10.254.1 255.255.255.240 encapsulation frame-relay ip ospf network broadcast serial restart-delay 0

frame-relay map ip 10.10.254.1 102 broadcast frame-relay map ip 10.10.254.2 102 broadcast frame-relay map ip 10.10.254.3 102 broadcast !

interface Serial0/1

ip address 10.10.253.1 255.255.255.252 ip ospf network broadcast serial restart-delay 0 !

interface Serial0/2 no ip address shutdown

serial restart-delay 0 !

interface Serial0/3 no ip address shutdown

serial restart-delay 0 !

router ospf 1

router-id 10.10.255.1 log-adjacency-changes

network 10.10.253.0 0.0.0.3 area 1

network 10.10.254.0 0.0.0.15 area 0 network 10.10.255.1 0.0.0.0 area 0 !

no ip http server

no ip http secure-server ! ! ! ! !

control-plane ! ! ! ! !

! ! ! ! !

line con 0

exec-timeout 0 0 privilege level 15 logging synchronous line aux 0

exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 login ! ! end

R2#SHOW RUN

Building configuration...

Current configuration : 1266 bytes !

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec no service password-encryption !

hostname R2 !

boot-start-marker boot-end-marker ! !

no aaa new-model memory-size iomem 5

no ip icmp rate-limit unreachable ip tcp synwait-time 5 ! ! ip cef

no ip domain lookup !

! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !

interface Loopback0

ip address 10.10.255.2 255.255.255.255 !

interface Serial0/0

ip address 10.10.254.2 255.255.255.240 encapsulation frame-relay ip ospf network broadcast ip ospf priority 10 serial restart-delay 0

frame-relay map ip 10.10.254.1 201 broadcast frame-relay map ip 10.10.254.3 203 broadcast !

interface Serial0/1 no ip address shutdown

serial restart-delay 0 !

interface Serial0/2 no ip address shutdown

serial restart-delay 0 !

interface Serial0/3 no ip address shutdown

serial restart-delay 0 !

router ospf 1

router-id 10.10.255.2 log-adjacency-changes

network 10.10.254.0 0.0.0.15 area 0 network 10.10.255.2 0.0.0.0 area 0 !

no ip http server

no ip http secure-server ! ! ! ! !

control-plane ! ! ! ! ! !

!

! ! !

line con 0

exec-timeout 0 0 privilege level 15 logging synchronous line aux 0

exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 login ! ! end

R2# WR

Building configuration... [OK]

R3#SHOW RUN

Building configuration...

Current configuration : 1325 bytes !

version 12.4

service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption !

hostname R3 !

boot-start-marker boot-end-marker ! !

no aaa new-model memory-size iomem 5

no ip icmp rate-limit unreachable ip tcp synwait-time 5 !

! ip cef

no ip domain lookup !

! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !

interface Loopback0

ip address 10.10.255.3 255.255.255.255 !

interface Serial0/0

ip address 10.10.254.3 255.255.255.240 encapsulation frame-relay ip ospf network broadcast serial restart-delay 0

frame-relay map ip 10.10.254.1 302 broadcast frame-relay map ip 10.10.254.2 302 broadcast !

interface Serial0/1

ip address 10.10.253.21 255.255.255.252 ip ospf network broadcast serial restart-delay 0 !

interface Serial0/2 no ip address

shutdown

serial restart-delay 0 !

interface Serial0/3 no ip address shutdown

serial restart-delay 0 !

router ospf 1

router-id 10.10.255.3 log-adjacency-changes

network 10.10.253.21 0.0.0.0 area 2 network 10.10.254.0 0.0.0.15 area 0 network 10.10.255.3 0.0.0.0 area 0 !

no ip http server

no ip http secure-server ! ! ! ! !

control-plane ! ! ! ! ! !

! ! ! !

line con 0

exec-timeout 0 0 privilege level 15 logging synchronous line aux 0

exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 login !

! end

R3# WR

Building configuration... [OK]

R4#SHOW RUN

Building configuration...

Current configuration : 1409 bytes !

version 12.4

service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption !

hostname R4 !

boot-start-marker boot-end-marker ! !

no aaa new-model memory-size iomem 5

no ip icmp rate-limit unreachable ip tcp synwait-time 5 ! ! ip cef

no ip domain lookup !

! ! ! ! ! ! ! ! ! !

! ! ! ! ! ! ! ! ! ! ! !

interface Loopback0

ip address 10.10.255.4 255.255.255.255 !

interface Loopback1

ip address 10.10.8.1 255.255.255.0 !

interface Loopback2

ip address 10.10.9.1 255.255.255.0 !

interface Loopback3

ip address 10.10.10.1 255.255.255.0 !

interface Serial0/0

ip address 10.10.253.2 255.255.255.252 ip ospf network broadcast serial restart-delay 0 !

interface Serial0/1 no ip address shutdown

serial restart-delay 0 !

interface Serial0/2 no ip address shutdown

serial restart-delay 0 !

interface Serial0/3 no ip address shutdown

serial restart-delay 0 !

router ospf 1

router-id 10.10.255.4 log-adjacency-changes

network 10.10.8.0 0.0.0.255 area 1 network 10.10.9.0 0.0.0.255 area 1 network 10.10.10.0 0.0.0.255 area 1 network 10.10.253.0 0.0.0.3 area 1 network 10.10.255.4 0.0.0.0 area 1 !

no ip http server

no ip http secure-server ! ! ! !

! control-plane ! ! ! ! ! ! ! ! ! !

line con 0

exec-timeout 0 0 privilege level 15 logging synchronous line aux 0

exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 login !

! end

R4#PING 10.10.12.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.10.12.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 172/272/400 ms R4#PING 10.10.13.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.10.13.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 300/377/520 ms R4#PING 10.10.255.5

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.10.255.5, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 224/366/612 ms R4#PING 10.10.255.3

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.10.255.3, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 172/297/536 ms R4#PING 10.10.255.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.10.255.2, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 96/211/332 ms R4#PING 10.10.255.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.10.255.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 16/103/284 ms R4#SHOW IP ROUT R4#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/8 is variably subnetted, 14 subnets, 4 masks C 10.10.8.0/24 is directly connected, Loopback1 C 10.10.9.0/24 is directly connected, Loopback2 C 10.10.10.0/24 is directly connected, Loopback3

O IA 10.10.13.1/32 [110/193] via 10.10.253.1, 00:21:33, Serial0/0 O IA 10.10.12.1/32 [110/193] via 10.10.253.1, 00:21:33, Serial0/0 O IA 10.10.14.1/32 [110/193] via 10.10.253.1, 00:21:33, Serial0/0 O IA 10.10.253.20/30 [110/192] via 10.10.253.1, 00:21:33, Serial0/0 O IA 10.10.255.5/32 [110/193] via 10.10.253.1, 00:21:35, Serial0/0 C 10.10.255.4/32 is directly connected, Loopback0

O IA 10.10.255.3/32 [110/129] via 10.10.253.1, 00:21:35, Serial0/0 O IA 10.10.255.2/32 [110/129] via 10.10.253.1, 00:03:57, Serial0/0 C 10.10.253.0/30 is directly connected, Serial0/0

O IA 10.10.255.1/32 [110/65] via 10.10.253.1, 00:21:47, Serial0/0 O IA 10.10.254.0/28 [110/128] via 10.10.253.1, 00:21:37, Serial0/0

R5#SHOW RUN

Building configuration...

Current configuration : 1415 bytes !

version 12.4

service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption !

hostname R5 !

boot-start-marker boot-end-marker ! !

no aaa new-model memory-size iomem 5

no ip icmp rate-limit unreachable ip tcp synwait-time 5 ! ! ip cef

no ip domain lookup

!

! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !

interface Loopback0

ip address 10.10.255.5 255.255.255.255 !

interface Loopback1

ip address 10.10.12.1 255.255.255.0 !

interface Loopback2

ip address 10.10.13.1 255.255.255.0 !

interface Loopback3

ip address 10.10.14.1 255.255.255.0 !

interface Serial0/0

ip address 10.10.253.22 255.255.255.252 ip ospf network broadcast serial restart-delay 0 !

interface Serial0/1 no ip address shutdown

serial restart-delay 0

!

interface Serial0/2 no ip address shutdown

serial restart-delay 0 !

interface Serial0/3 no ip address shutdown

serial restart-delay 0 !

router ospf 1

router-id 10.10.255.5 log-adjacency-changes

network 10.10.12.0 0.0.0.255 area 2 network 10.10.13.0 0.0.0.255 area 2 network 10.10.14.0 0.0.0.255 area 2 network 10.10.253.20 0.0.0.3 area 2 network 10.10.255.5 0.0.0.0 area 2 !

no ip http server

no ip http secure-server ! ! ! !

! control-plane ! ! ! ! ! ! ! ! ! !

line con 0

exec-timeout 0 0 privilege level 15 logging synchronous line aux 0

exec-timeout 0 0

privilege level 15 logging synchronous line vty 0 4 login !

! end

R5#SHOW IP ROUT R5#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/8 is variably subnetted, 14 subnets, 4 masks

O IA 10.10.9.1/32 [110/193] via 10.10.253.21, 00:22:16, Serial0/0 O IA 10.10.8.1/32 [110/193] via 10.10.253.21, 00:22:16, Serial0/0 O IA 10.10.10.1/32 [110/193] via 10.10.253.21, 00:22:16, Serial0/0 C 10.10.12.0/24 is directly connected, Loopback1 C 10.10.13.0/24 is directly connected, Loopback2 C 10.10.14.0/24 is directly connected, Loopback3 C 10.10.253.20/30 is directly connected, Serial0/0 C 10.10.255.5/32 is directly connected, Loopback0

O IA 10.10.255.4/32 [110/193] via 10.10.253.21, 00:22:18, Serial0/0 O IA 10.10.255.3/32 [110/65] via 10.10.253.21, 00:22:25, Serial0/0 O IA 10.10.255.2/32 [110/129] via 10.10.253.21, 00:04:39, Serial0/0 O IA 10.10.253.0/30 [110/192] via 10.10.253.21, 00:22:18, Serial0/0 O IA 10.10.255.1/32 [110/129] via 10.10.253.21, 00:22:21, Serial0/0 O IA 10.10.254.0/28 [110/128] via 10.10.253.21, 00:22:28, Serial0/0 R5#PING 10.10.8.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.10.8.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 204/315/480 ms R5#PING 10.10.9.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.10.9.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 200/293/536 ms R5#PING 10.10.10.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.10.10.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 216/348/488 ms R5#PING 10.10.255.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.10.255.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 188/307/536 ms R5#PING 10.10.255.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.10.255.2, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 80/235/456 ms R5#PING 10.10.255.3

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.10.255.3, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 32/79/160 ms R5#PING 10.10.255.4

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.10.255.4, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 220/368/660 ms

结束!祝实验成功!

因篇幅问题不能全部显示,请点此查看更多更全内容