OSPF question

Red Squirrel

No Lifer
May 24, 2003
69,718
13,337
126
www.betteroff.ca
Lets say I have 3 routers setup like a triangle, and each "corner" has a 3rd link that goes to a NAT (outside) and i setup OSPF, do I need to also specify that 3rd network as OSPF? Or do I only specify networks that contain other OSPF routers?

I'm using Zebra on Trustix linux.

Also anyone know of a good tutorial on setting this up? I can't seem to get routing to work properly. The documentation I did find is not very detailed so I've been guessing my way through.
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
Need more information. This third network - is it a single broadcast domain?

If you want this network to be in your tables then you'll need to include it's interface in your ospf configuration. I'm not familiar with linux, but the protocol works the same no matter what it's on. Do you have good neighbor relationships between your routers and are they in an establiched 2-way state?
 

Red Squirrel

No Lifer
May 24, 2003
69,718
13,337
126
www.betteroff.ca
the other networks are separate, think of the triangle as the internet, and the 3 other networks customers, so all you can see is their router, the IPs within are just lan IPs behind a nat.

From router to router within the triangle I can ping any other router, but I can't seem to be able to ping any of those nats (outside interface), or from the nats I can't reach anything past the first router.

Hope this makes sense.

 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
Somewhat. What does your routing table say on each router? Does it have the correct routes from OSPF? How are the OSPF routers connected and what kind of network are they - this matters a big deal on configuring the network type for OSPF on each interface.

You'll need someway to look at what OSPF is doing.
 

nightowl

Golden Member
Oct 12, 2000
1,935
0
0
Even if you are using NAT, you still need a route to access anything beyond the outside NAT interface be it a default route or something more specific. Those routes may or may not allow you to ping the outside interface. It just depends on how specific they are.
 

Red Squirrel

No Lifer
May 24, 2003
69,718
13,337
126
www.betteroff.ca
I ended up getting my network working, I had to in fact enable OSPF on the "outside" (of the OSPF network) interface. But also the NAT did not have a default gateway, was using smoothwall 2.0 which did not have that option, updated to 3.0 and added it.

If I get more issues I'll post more specific info.