Question Locked

OSPF Lab

0 helpful
14 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am new at this. I need to use Boson simulator or a simulator or routers to create a four router topology. Using any interfaces of my choice, with /24 networks to choose the interface addresses from the given network IDS. How do I configure all 4 routers in OSPF area 0 and make sure they can ping from end to end.
Using the following network IDs
Between R1 and R2 = 10.10.10.0/24
Between R2 and R3 = 2020.20.0/24
Between R3 and R4 = 30.30.30.0/24

14 replies

by dumphrey

be a basic ospf setup... if you set up each router properly, it will learn the routes from each other router, and pinging will occur. I assume these are all in a chain?
Look at the cisco site on ospf set up,
http://www.cisco.com/en/US/products/hw/routers/ps4081/products_configuration_example09186a0080094260.shtml

and

http://www.cisco.com/en/US/docs/ios/12_2/iproute/command/reference/1rfospf.html#wp1063340

in particular read "router ospf" "netwok area" "default info originate" and "ip ospf network". An hour or so should have you ospfing like a champ.

by audreyi1

Thanks again, like I stated learning about the OSPF probably could be more meaningful - think it is the textbook that I am studying out of.

by jdclyde

If you can get some money together, go on ebay and look for used routers. You can get some really good deals on them.

I have my collection growing. Got a few 2500's, a few 2611's, a smaller router (don't remember number) and a few switches.

Now I just need to track down a pix.

by jdclyde

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt2/1cfospf.htm

If you read the links, they will get you exactly where you need to not only pass the class, but KNOW the topic better than your peers.

If you wish for some lighter reading, let me recommend this site. SevenOfNine will explain OSPF for you.

http://www.routergod.com/sevenofnine/
http://www.routergod.com/sevenofnine/ospf_part_2.html

Good luck.

by jdclyde

"Google is your friend".

All I did was go to google and search "ospf area 0".

There were several good links that popped up, but I just gave the one that I thought was clearest.

It is much easier to find stuff on the Cisco site with google than going directly there.

What, I don't rate a "thumbs up"? :_|

by dumphrey

the occasionally have pix 501s for around $200. They are a tad more expensive then e-bay, but they come with cables etc, which can save money.

by jdclyde

especially when I want it to just play with so I can learn it.

Been paying an average of $15 to $20 per router/switch, and have a pretty nice lab put together.

will just have to keep my eyes open for the deals.

Thanks for the idea though.

by dumphrey

but all I need to two switches and three routers to do pretty much anything in CCNA base. The extra switch and router are nice, but not required.

When you get the routers from ebay, do they have the serial and or ethernet modules included, or is that a separate purchase?

by dumphrey

if I could, those were some good links.

"Google is your friend," that advice alone is worth 2 thumbs, people always underestimate the power of knowing how to google effectively.

by jdclyde

I don't bother bidding on ones that don't have at least two ethernet ports.

A few have serial ports, but I don't have the DSU cable to allow me to connect two serial connections back-to-back, yet.

That will be soon.

I do like the 2500, because you can program it to emulate a frame relay switch.

The biggest thing I have to work on is a lot of the terminology. I can DO stuff, but to regurgitate a bunch of definitions has never been a strong point.

also need to start playing with subnetting and binary again. If you have to stop and calculate it out, you don't have enough time, so it is good to just KNOW it from playing with it.

It is annoying that they MAKE you know that, because anyone with half a clue wouldn't be stupid enough to calculate subnets by hand anyways. Solarwind has a GREAT subnet calculator free. Wish they would concentrate on REAL workable knowledge. If they did, CCNA's would be qualified for more than level one help desk.

by apoorv182

All 4 routers in OSPF area 0 and make sure they can ping from end to end.
In R1:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int serial 0/0
R1(config-if)#ip address 10.10.10.1 255.0.0.0
R1(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0, changed state to down
R1(config-if)#ex
R1(config)#router ospf ?
<1-65535> Process ID
R1(config)#router ospf 150 (we can assign any process IDs from 1-65535)
R1(config-router)#network 10.10.10.1 0.0.0.255 area 0
R1(config-router)#^Z
R1#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
R1#
R2 needs clocking

In R2:

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#int serial 0/0
R2(config-if)#ip address 10.10.10.2 255.0.0.0
R2(config-if)#clock rate 64000
R2(config-if)#bandwidth 64
R2(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0, changed state to up

R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

R2(config-if)#ex
R2(config)#int serial 0/1
R2(config-if)#ip address 20.20.20.1 255.0.0.0
R2(config-if)#clock rate 64000
R2(config-if)#bandwidth 64
R2(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/1, changed state to down
R2(config-if)#ex
R2(config)#router ospf 151
R2(config-router)#network 10.10.10.0 0.0.0.255 area 0
R2(config-router)#network 20.20.20.0 0.0.0.255 area 0
R2(config-router)#^Z
R2#
%SYS-5-CONFIG_I: Configured from console by console

R2#wr
Building configuration...
[OK]
R2#

In R3:

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int serial 0/0
Router(config-if)#ip address 20.20.20.2 255.0.0.0
Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0, changed state to up

Router(config-if)#ex
Router(config)#int serial 0/1
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

Router(config-if)#ip address 30.30.30.1 255.0.0.0
Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/1, changed state to down
Router(config-if)#ex
Router(config)#hostname R3
R3(config)#router ospf 152
R3(config-router)#network 20.20.20.0 0.0.0.255 area 0
00:20:04: %OSPF-5-ADJCHG: Process 152, Nbr 20.20.20.1 on Serial0/0 from LOADING to FULL, Loading Done
R3(config-router)#network 30.30.30.0 0.0.0.255 area 0
R3(config-router)#^Z
R3#
%SYS-5-CONFIG_I: Configured from console by console

R3#wr
Building configuration...
[OK]
R3#
R4 needs clocking

In R4:

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R4
R4(config)#int serial 0/0
R4(config-if)#ip address 30.30.30.2 255.0.0.0
R4(config-if)#clock rate 64000
R4(config-if)#bandwidth 64
R4(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0, changed state to up

R4(config-if)#ex
R4(config)#router ospf 15
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
R4(config)#router ospf 152
R4(config-router)#network 30.30.30.2 0.0.0.255 area 0
R4(config-router)#
R4(config-router)#^Z
R4#
%SYS-5-CONFIG_I: Configured from console by console

R4#wr
Building configuration...
[OK]
R4#
Now Ping from R1 to R4

R1#ping 30.30.30.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 30.30.30.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 78/90/94 ms

Now Ping from R4 to R1
R4#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 = 93/93/94 ms

R4#
I like to suggest Packet tracer instead of using any other simulator

This discussion is closed to new replies.