Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OSPF schema question

Status
Not open for further replies.

injector22

Technical User
Jun 30, 2009
6
US
I have a router with the following OSPF schema
Code:
router ospf 100
router-id 192.168.160.2
log-adjacency-changes
area 0.0.160.0 range 192.168.160.0 255.255.252.0
network 192.168.91.80 0.0.0.3 area 0.0.0.0
network 192.168.160.0 0.0.1.255 area 0.0.160.0

192.168.160.0/24 is a vlan, I need to add a new entry to the table for another vlan i have in the range of 10.0.0.0/22. my problem is that i don't understand the first entry

Code:
area 0.0.160.0 range 192.168.160.0 255.255.252.0
i've never seen an OSPF entry formatted like this.

secondly

if i was to add the entry to my 10.0.0.0/23 Vlan, what area would i use?

would this work?

Code:
area 10.0.0.0 range 10.0.0.0 255.255.252.0
network 10.0.0.0 0.0.3.255 area 10.0.0.0

thanks.
 
Summarisation...

You state that 192.168.160.0/24 is a Subnet/VLAN. The network statement that covers this is 192.168.160.0/23 and puts it in Area 0.0.160.0. This router is an ABR between are 0.0.160.0 and the backbone (Area 0). The 'area range' statement means it will advertise a summary of 192.168.160.0/22 to the backbone instead of the /24 it has an interface in.

HTH

Andy
 
so first question is: why are you changing IP Schemes?
is this a new area, area , or part of backbone (area 0.0.0.0) or is it logically part of area 0.0.160.0

that said, all you need is :
Code:
network 10.0.0.0 0.0.3.255 area X.X.X.X

where X.X.X.X is:
-if backbone: 0.0.0.0
-say you fix the IP scheme and put it part of area 0.0.160.0 with a contiguous IP addy.
-its a totaly new area and you have no regard for IP scheme 2

We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top