Wednesday, March 30, 2016

CCNAv2 Completed Packet Tracer - H8.2.2.5 (Custom)

Greetings, and welcome to Seeseenayy.
Today I have a custom packet tracer that is good practice for basic OSPF configuration, the first download is the blank version of the packet tracer, and the second is the completed version.
For both versions you will need the PDF!




If you are stuck on something, look at the post before this one-- about the previous lab, it shows exactly what is needed for this lab, as well as other OSPF features.

Alternatively, if you do not wish to download this packet tracer, you may use the command configuration below.

So, we're going to start with the first configuration of our routers. 
First, Open Router 1 (R1), and enter as follows:

Router>en
Router#conf t
Router(config)#hostname R1
R1(config)#int g0/0
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)#no sh

R1(config-if)#int s0/0/0
R1(config-if)#ip add 192.168.12.1 255.255.255.252
R1(config-if)#no sh

R1(config-if)#int s0/0/1
R1(config-if)#ip add 192.168.13.1 255.255.255.252

R1(config-if)#no sh

Now, Open Router 2 (R2), and enter as follows:
Router>en
Router#conf t
Router(config)#hostname R2

R2(config)#int g0/0
R2(config-if)#ip add 192.168.2.1 255.255.255.0
R2(config-if)#no sh

R2(config-if)#int g0/1
R2(config-if)#ip add 100.100.100.10 255.255.255.0
R2(config-if)#no sh

R2(config-if)#int s0/0/0
R2(config-if)#ip add 192.168.12.2 255.255.255.252
R2(config-if)#no sh

R2(config-if)#int s0/0/1
R2(config-if)#ip add 192.168.23.2 255.255.255.252

R2(config-if)#no sh

Then, Open Router 3 (R3), and enter as follows:
Router>en
Router#conf t
Router(config)#hostname R3

R3(config)#int g0/0
R3(config-if)#ip add 192.168.3.1 255.255.255.0
R3(config-if)#no sh

R3(config-if)#int g0/1
R3(config-if)#ip add 200.200.200.20 255.255.255.0
R3(config-if)#no sh

R3(config-if)#int s0/0/0
R3(config-if)#ip add 192.168.13.2 255.255.255.252
R3(config-if)#no sh

R3(config-if)#int s0/0/1
R3(config-if)#ip add 192.168.23.2 255.255.255.252

R3(config-if)#no sh

After configuring all three routers and PCs with correct addresses, (according to the routing table) we are able to ping our own network. For instance, PC-C on R3 is able to ping 192.168.13.2 (Our Serial Side from R1), 192.168.23.2 (Our Serial Side from R2), and even the Web Server, however, it is not able to reach anything beyond that network. So, we need to configure OSPF. 

Once our IP-Addressing is complete, we must move on to configuring OSPF. 
Close all tabs and open R1 (Router 1)'s configuration and enter as follows:
R1(config)#router ospf 10
R1(config-router)#router-id 1.1.1.1
R1(config-router)#network 192.168.13.0 0.0.0.3 area 0
R1(config-router)#network 192.168.1.0 0.0.0.255 area 0
R1(config-router)#network 192.168.12.0 0.0.0.3 area 0

R1(config-router)#passive-interface g0/0

Close all tabs and open R2 (Router 2)'s configuration and enter as follows:
R2(config)#router ospf 10
R2(config-router)#network 192.168.23.0 0.0.0.3 area 0
R2(config-router)#network 192.168.2.0 0.0.0.255 area 0 
R2(config-router)#network 100.100.100.0 0.0.0.255 area 0
R2(config-router)#network 192.168.12.0 0.0.0.3 area 0
R2(config-router)#passive-interface g0/1

R2(config-router)#passive-interface g0/0

Close all tabs and open R3 (Router 3)'s configuration and enter as follows:
R3(config)#router ospf 10
R3(config-router)#router-id 3.3.3.3
R3(config-router)#network 192.168.3.0 0.0.0.255 area 0
R3(config-router)#network 200.200.200.0 0.0.0.255 area 0
R3(config-router)#network 192.168.23.0 0.0.0.3 area 0
R3(config-router)#network 192.168.13.0 0.0.0.3 area 0
R3(config-router)#passive-interface g0/1
R3(config-router)#passive-interface g0/0

Finally, verify that your PCs are able to ping each other. (R1 to R3, etc). Alternatively (and reccomended), use the router command to display neighbors from OSPF, your table should look like this:

R2#show ip ospf neighbor


Neighbor ID     Pri   State           Dead Time   Address         Interface
1.1.1.1           0   FULL/  -        00:00:33    192.168.12.1    Serial0/0/0
3.3.3.3           0   FULL/  -        00:00:38    192.168.23.2    Serial0/0/1

R3#show ip ospf neighbor


Neighbor ID     Pri   State           Dead Time   Address         Interface
1.1.1.1           0   FULL/  -        00:00:36    192.168.13.1    Serial0/0/0
192.168.23.2      0   FULL/  -        00:00:37    192.168.23.2    Serial0/0/1

--------
R1#show ip ospf neighbor


Neighbor ID     Pri   State           Dead Time   Address         Interface
192.168.23.2      0   FULL/  -        00:00:33    192.168.12.2    Serial0/0/0

3.3.3.3           0   FULL/  -        00:00:33    192.168.13.2    Serial0/0/1

No comments:

Post a Comment

Feel free to comment if you have a question, commendation, or concern. We love to hear your feedback!

Please do not share links to external websites if it not relevant to discussion. We reserve our right to remove any content we deem advertising.