Assume we have three routers.
1.) Each router has two interfaces, one inward facing and one out ward facing.
2.) All the inward facing interfaces connect to a single switch forming a basic star nework.
3.) All machines are running one instance of ospf.
4.) There are multiple different and unique subnets on each of the other outward facing interfaces connected to many different things outside of the star.
It is clear, that if any machine in the star network connected to the main central switch, wants to talk to another machine in the same star network, all it has to do is issue an arp request for the remote IP, and send its packets to the mac address that answers send it here!
However if any machine in the star network wants to talk to any machine in the outward network of machines, there needs
to be another solution, hopefully not a whole lot of manual static routes ![]()
OSPF on each machine should be able to redistribute all connected subnets on all the outward facing
interfaces so that all machines know how to talk to any subnet on any machine.
What is the proper configuraton for OSPF on these these various machines?
Each interface needs a network statement, say 0.0.0.0/0 area 0.0.0.0
That would put all interfaces and subnets of all machines in area 0.0.0.0, and in the routing table a route should be listed along with an LSA
pointing any machine to any subnet on any other machine.
Is this right? Is there a better way to do it?
As a second question, how does one prevent two connected machines that have IP’s on multiple shared subnets on the
interfaces connecting them, from sending multicast LSA’s from each and every subnet to the same subnet
at the other machine.
Firewalling can stop the LSA’s from being broadcast, but that doesn’t stop ospf from trying. Waste of CPU.
Thanks,
Homer W Smith
CEO Lightlink Internet