0% found this document useful (0 votes)
32 views6 pages

OSPF8

The document describes the configuration of two routers, Nathan1 and Nathan2, to establish connectivity and routing between their connected networks. Nathan1 and Nathan2 are configured with IP addresses on their connected interfaces and OSPF routing. Static routes are also configured to allow routing between the 10.0.0.0/29 and 20.0.0.0/29 networks that are connected to each router respectively. Show commands verify the IP routing tables have been established correctly.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views6 pages

OSPF8

The document describes the configuration of two routers, Nathan1 and Nathan2, to establish connectivity and routing between their connected networks. Nathan1 and Nathan2 are configured with IP addresses on their connected interfaces and OSPF routing. Static routes are also configured to allow routing between the 10.0.0.0/29 and 20.0.0.0/29 networks that are connected to each router respectively. Show commands verify the IP routing tables have been established correctly.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

SIMULATION

IP ROUTE
CODE:
ROUTER 0:
Nathan1>en

Nathan1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Nathan1(config)#hostname Nathan1

Nathan1(config)#int fa0/0

Nathan1(config-if)#ip add 10.0.0.1 255.255.255.248

Nathan1(config-if)#no shut

Nathan1(config-if)#exit

Nathan1(config)#int se2/0

Nathan1(config-if)#ip add 30.0.0.1 255.255.255.252

Nathan1(config-if)#clock rate 64000


Nathan1(config-if)#no shut

Nathan1(config-if)#exit

Nathan1(config)#ip route 10.0.0.0 255.255.255.248 30.0.0.2

Nathan1(config)#exit

Nathan1#

%SYS-5-CONFIG_I: Configured from console by console

Nathan1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Nathan1(config)#router ospf 1

Nathan1(config-router)#network 10.0.0.0 0.0.0.7 area 0

Nathan1(config-router)#network 30.0.0.0 0.0.0.3 area 0

Nathan1(config-router)#exit

Nathan1(config)#exit

Nathan1#

%SYS-5-CONFIG_I: Configured from console by console

Nathan1#show ip route

Codes: C - connected, S - static, I - IGRP, 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, E - EGP

i - IS-IS, 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/29 is subnetted, 1 subnets

C 10.0.0.0 is directly connected, FastEthernet0/0

20.0.0.0/29 is subnetted, 1 subnets

S 20.0.0.0 [1/0] via 30.0.0.2

30.0.0.0/30 is subnetted, 1 subnets

C 30.0.0.0 is directly connected, Serial2/0

ROUTER 1:
Nathan2>en

Nathan2#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Nathan2(config)#hostname Nathan2

Nathan2(config)#int fa0/0

Nathan2(config-if)#ip add 20.0.0.1 255.255.255.248

Nathan2(config-if)#no shut

Nathan2(config-if)#exit

Nathan2(config)#int se2/0

Nathan2(config-if)#ip add 30.0.0.2 255.255.255.252

Nathan2(config-if)#clock rate 64000

This command applies only to DCE interfaces


Nathan2(config-if)#no shut

Nathan2(config-if)#exit

Nathan2(config)#ip route 20.0.0.0 255.255.255.248 30.0.0.1

Nathan2(config)#exit

Nathan2#

%SYS-5-CONFIG_I: Configured from console by console

Nathan2#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Nathan2(config)#router ospf 1

Nathan2(config-router)#network 20.0.0.0 0.0.0.7 area 0

Nathan2(config-router)#network 30.0.0.0 0.0.0.3 area 0

Nathan2(config-router)#

Nathan2(config-router)#exit

Nathan2(config)#exit

Nathan2#

%SYS-5-CONFIG_I: Configured from console by console

Nathan2#show ip route

Codes: C - connected, S - static, I - IGRP, 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, E - EGP

i - IS-IS, 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/29 is subnetted, 1 subnets

S 10.0.0.0 [1/0] via 30.0.0.1

20.0.0.0/29 is subnetted, 1 subnets

C 20.0.0.0 is directly connected, FastEthernet0/0

30.0.0.0/30 is subnetted, 1 subnets

C 30.0.0.0 is directly connected, Serial2/0

PING COMMAND

You might also like