Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 296
  • Last Modified:

Practice with OSPF

I have two spare 2501s in my internal LAN not doing anything. I would like to use them to practice OSPF on.

Can anyone give me any recommendations on how to begin the process?
I"m assuming I'll need a few PCs behind each router


RouterA--------PPP----------RouterB
PC                                      PC

config# router ospf
config-router# ????


0
dissolved
Asked:
dissolved
  • 2
  • 2
1 Solution
 
JFrederick29Commented:
Basic configs to get you started:

If using a single area:

RouterA:

int e0
ip address 10.0.0.1 255.255.255.0
no shut

int s0
ip address 192.168.0.1 255.255.255.252
clock rate 2000000 (if DCE end of serial cable)
no shut

router ospf 1
network 10.0.0.0 mask 0.0.0.255 area 0
network 192.168.0.0 0.0.0.3 area 0

Router B:

int e0
ip address 10.0.1.1 255.255.255.0
no shut

int s0
ip address 192.168.0.2 255.255.255.252
no shut

router ospf 1
network 10.0.1.0 mask 0.0.0.255 area 0
network 192.168.0.0 0.0.0.3 area 0

If using multiple areas:

RouterA:

int e0
ip address 10.0.0.1 255.255.255.0
no shut

int s0
ip address 192.168.0.1 255.255.255.252
clock rate 2000000 (if DCE end of serial cable)
no shut

router ospf 1
network 10.0.0.0 mask 0.0.0.255 area 1
network 192.168.0.0 0.0.0.3 area 0

Router B:

int e0
ip address 10.0.1.1 255.255.255.0
no shut

int s0
ip address 192.168.0.2 255.255.255.252
no shut

router ospf 1
network 10.0.1.0 mask 0.0.0.255 area 2
network 192.168.0.0 0.0.0.3 area 0

0
 
dissolvedAuthor Commented:
Thanks! What is the significance of "areas?"
0
 
JFrederick29Commented:
To seperate a large network into smaller "areas".  It helps cut down on routing table size.  It makes a large network more manageable.  With a good IP addressing strategy and summarization, a very large network can be very efficient.  Routers in an area will only know about the other internal routers in the same area, for inter-area traffic, the Area Border Router is used to get to the other areas.
0
 
dissolvedAuthor Commented:
You rule!
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now