0% found this document useful (0 votes)
36 views

Changing The Routing Protocol in Your Network

The document discusses router and routing configuration on routers a1 and b2. EIGRP and OSPF are configured with various routing protocols and network configurations on interfaces like FastEthernet, Serial and Loopback. Route tables are displayed showing routes learned via EIGRP and OSPF.

Uploaded by

Denis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

Changing The Routing Protocol in Your Network

The document discusses router and routing configuration on routers a1 and b2. EIGRP and OSPF are configured with various routing protocols and network configurations on interfaces like FastEthernet, Serial and Loopback. Route tables are displayed showing routes learned via EIGRP and OSPF.

Uploaded by

Denis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20



router eigrp 1

passive-interface FastEthernet0/1

network 0.0.0.0

no auto-summary

b2#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

Gateway of last resort is not set


172.16.0.0 255.255.0.0 is variably subnetted, 6 subnets, 2 masks

D 172.16.0.21 255.255.255.255

[90/156160] via 192.168.0.5, 00:00:06, FastEthernet0/0

C 172.16.0.22 255.255.255.255 is connected, Loopback0

D 172.16.0.12 255.255.255.255

[90/1920000] via 172.16.1.5, 00:01:31, Serial0/0/0.101

D 172.16.0.11 255.255.255.255

[90/1922560] via 192.168.0.5, 00:00:06, FastEthernet0/0

[90/1922560] via 172.16.1.5, 00:00:06, Serial0/0/0.101

C 172.16.1.4 255.255.255.252 is connected, Serial0/0/0.101

D 172.16.1.0 255.255.255.252

[90/1794560] via 192.168.0.5, 00:00:08, FastEthernet0/0

10.0.0.0 255.255.255.0 is subnetted, 5 subnets

D 10.1.3.0 [90/1794560] via 172.16.1.5, 00:00:16, Serial0/0/0.101

D 10.1.2.0 [90/1797120] via 192.168.0.5, 00:00:09, FastEthernet0/0

[90/1797120] via 172.16.1.5, 00:00:09, Serial0/0/0.101

D 10.0.0.0 [90/1794560] via 172.16.1.5, 00:00:09, Serial0/0/0.101

C 10.5.2.0 is connected, FastEthernet0/1

D 10.5.1.0 [90/30720] via 192.168.0.5, 00:00:16, FastEthernet0/0

C 192.168.0.0 255.255.255.0 is connected, FastEthernet0/0

b2#show ip eigrp neighbors

IP-EIGRP neighbors for process 1

H Address Interface Hold Uptime SRTT RTO Q Seq

(sec) (ms) Cnt Num

1 172.16.1.5 Se0/0/0.101 14 00:05:46 53 318 0 38

0 192.168.0.5 Fa0/0 14 00:05:46 2 200 0 33


interface Loopback0

ip address 172.16.0.22 255.255.255.255

ip ospf 1 area 0

interface FastEthernet0/0
ip address 192.168.0.6 255.255.255.0

ip ospf 1 area 0

interface FastEthernet0/1

ip address 10.5.2.1 255.255.255.0

ip ospf 1 area 22

interface Serial0/0/0.101 point-to-point

ip address 172.16.1.6 255.255.255.252

ip ospf 1 area 0

router ospf 1

log-adjacency-changes

passive-interface FastEthernet0/1

distance ospf intra-area 200 inter-area 200 external 210

Neighbor ID Pri State Dead Time Address Interface

172.16.0.12 0 FULL/- 00:00:36 172.16.1.5 Serial0/0/0.101

172.16.0.21 1 FULL/DR 00:00:38 192.168.0.5 FastEthernet0/0

b2#show ip route ospf

b2#



a1#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface

172.16.0.12 1 FULL/DR 00:00:31 10.0.0.6 FastEthernet0/0

172.16.0.21 0 FULL/ - 00:00:35 172.16.1.2 Serial0/0/0.100

a1#show ip eigrp neighbor

IP-EIGRP neighbors for process 1

H Address Interface Hold Uptime SRTT RTO Q Seq

(sec) (ms) Cnt Num

1 172.16.1.2 Se0/0/0.100 11 00:19:59 54 324 0 34

0 10.0.0.6 Fa0/0 13 00:20:48 2 200 0 39

a1#show ip route ospf

a1#
a1#show ip ospf 1 rib

OSPF local RIB for Process 1

Codes: * - Best, > - Installed in global RIB

* 10.0.0.0/24, Intra, cost 1, area 0, Connected

via 10.0.0.5, FastEthernet0/0

* 10.1.2.0/24, Intra, cost 1, area 11, Connected

via 10.1.2.1, FastEthernet0/1

* 10.1.3.0/24, Inter, cost 2, area 0

via 10.0.0.6, FastEthernet0/0

* 10.5.1.0/24, Inter, cost 51, area 0

via 172.16.1.2, Serial0/0/0.100

* 10.5.2.0/24, Inter, cost 52, area 0

via 10.0.0.6, FastEthernet0/0

via 172.16.1.2, Serial0/0/0.100

* 172.16.0.11/32, Intra, cost 1, area 0, Connected

via 172.16.0.11, Loopback0

* 172.16.0.12/32, Intra, cost 2, area 0

via 10.0.0.6, FastEthernet0/0


* 172.16.0.21/32, Intra, cost 51, area 0

via 172.16.1.2, Serial0/0/0.100

* 172.16.0.22/32, Intra, cost 52, area 0

via 10.0.0.6, FastEthernet0/0

via 172.16.1.2, Serial0/0/0.100

* 172.16.1.0/30, Intra, cost 50, area 0, Connected

via 172.16.1.1, Serial0/0/0.100

* 172.16.1.4/30, Intra, cost 51, area 0

via 10.0.0.6, FastEthernet0/0

* 192.168.0.0/24, Intra, cost 51, area 0

via 172.16.1.2, Serial0/0/0.100

a1#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

Gateway of last resort is not set

172.16.0.0 255.255.0.0 is variably subnetted, 6 subnets, 2 masks

D 172.16.0.21 255.255.255.255

[90/1920000] via 172.16.1.2, 00:11:28, Serial0/0/0.100

D 172.16.0.22 255.255.255.255

[90/1922560] via 172.16.1.2, 00:00:43, Serial0/0/0.100

[90/1922560] via 10.0.0.6, 00:00:43, FastEthernet0/0

D 172.16.0.12 255.255.255.255

[90/156160] via 10.0.0.6, 00:11:53, FastEthernet0/0

C 172.16.0.11 255.255.255.255 is connected, Loopback0

D 172.16.1.4 255.255.255.252

[90/1794560] via 10.0.0.6, 00:00:54, FastEthernet0/0

C 172.16.1.0 255.255.255.252 is connected, Serial0/0/0.100

10.0.0.0 255.255.255.0 is subnetted, 5 subnets

D 10.1.3.0 [90/30720] via 10.0.0.6, 00:11:55, FastEthernet0/0

C 10.1.2.0 is connected, FastEthernet0/1


C 10.0.0.0 is connected, FastEthernet0/0

D 10.5.2.0 [90/1797120] via 172.16.1.2, 00:00:45, Serial0/0/0.100

[90/1797120] via 10.0.0.6, 00:00:45, FastEthernet0/0

D 10.5.1.0 [90/1794560] via 172.16.1.2, 00:11:30, Serial0/0/0.100

D 192.168.0.0 255.255.255.0

[90/1794560] via 172.16.1.2, 00:00:45, Serial0/0/0.100


a1#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

Gateway of last resort is not set

172.16.0.0 255.255.0.0 is variably subnetted, 6 subnets, 2 masks

O 172.16.0.21 255.255.255.255

[200/51] via 172.16.1.2, 00:00:03, Serial0/0/0.100


O 172.16.0.22 255.255.255.255

[200/52] via 172.16.1.2, 00:00:03, Serial0/0/0.100

[200/52] via 10.0.0.6, 00:00:03, FastEthernet0/0

O 172.16.0.12 255.255.255.255

[200/2] via 10.0.0.6, 00:00:03, FastEthernet0/0

C 172.16.0.11 255.255.255.255 is connected, Loopback0

O 172.16.1.4 255.255.255.252

[200/51] via 10.0.0.6, 00:00:04, FastEthernet0/0

C 172.16.1.0 255.255.255.252 is connected, Serial0/0/0.100

10.0.0.0 255.255.255.0 is subnetted, 5 subnets

O IA 10.1.3.0 [200/2] via 10.0.0.6, 00:00:05, FastEthernet0/0

C 10.1.2.0 is connected, FastEthernet0/1

C 10.0.0.0 is connected, FastEthernet0/0

O IA 10.5.2.0 [200/52] via 172.16.1.2, 00:00:05, Serial0/0/0.100

[200/52] via 10.0.0.6, 00:00:05, FastEthernet0/0

O IA 10.5.1.0 [200/51] via 172.16.1.2, 00:00:05, Serial0/0/0.100

O 192.168.0.0 255.255.255.0

[200/51] via 172.16.1.2, 00:00:05, Serial0/0/0.100

b2#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

Gateway of last resort is not set

172.16.0.0 255.255.0.0 is variably subnetted, 6 subnets, 2 masks

D 172.16.0.21 255.255.255.255

[90/156160] via 192.168.0.5, 00:04:31, FastEthernet0/0


C 172.16.0.22 255.255.255.255 is connected, Loopback0

D 172.16.0.12 255.255.255.255

[90/1920000] via 172.16.1.5, 00:44:15, Serial0/0/0.101

O 172.16.0.11 255.255.255.255

[200/52] via 192.168.0.5, 00:00:44, FastEthernet0/0

[200/52] via 172.16.1.5, 00:00:44, Serial0/0/0.101

C 172.16.1.4 255.255.255.252 is connected, Serial0/0/0.101

D 172.16.1.0 255.255.255.252

[90/1794560] via 192.168.0.5, 00:15:23, FastEthernet0/0

10.0.0.0 255.255.255.0 is subnetted, 5 subnets

D 10.1.3.0 [90/1794560] via 172.16.1.5, 00:42:59, Serial0/0/0.101

O IA 10.1.2.0 [200/52] via 192.168.0.5, 00:00:46, FastEthernet0/0

[200/52] via 172.16.1.5, 00:00:46, Serial0/0/0.101

D 10.0.0.0 [90/1794560] via 172.16.1.5, 00:15:19, Serial0/0/0.101

C 10.5.2.0 is connected, FastEthernet0/1

D 10.5.1.0 [90/30720] via 192.168.0.5, 00:04:33, FastEthernet0/0

C 192.168.0.0 255.255.255.0 is connected, FastEthernet0/0

b2#ping a1

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 60/67/88 ms







You might also like