[quagga-dev 1558] Re: [quagga-users 2787] Re: Multiple OSPF
ntkarthik at ittc.ku.edu
Tue Sep 28 16:31:18 BST 2004
I am Karthikeyan Nathillvar, working as a quality assurance engineer at
Ipsum networks, Philadelphia. I have been working on zebra/quagga for
quite some time. I have also worked as QA engineer Intern at IpInfusion
(Ishi's firm), California. I have a good knowledge of this zebra stack. I
am a keen observer of this mailing list.
At Ipsum, we were facing the same problem, when there was a need a to run
multiple ZOB routers (Zebra, OSPF, BGP) in single Linux machine. We
followed the following steps to solve this problem:
1. Disable all the checks that don't allow you to run multiple
instances of the daemons.
2. Create an assocation (just logical) such that one ZOB router
has only one Zebra, one OSPF and one BGP process.
3. Each ZOB router is allocated a separate routing table.
(Using Linux kernel's multiple routing table support).
This will avoid the routing table clash.
4. Redistribution of routes among the protocols was
restricted such that it can happen within one ZOB router.
5. If you want to have forwarding (Say for establishing BGP
sessions) between different ZOB routers, you shall setup
appropriate forwarding rules using Iptable's support.
I might have left out some details involved in solving this problem. As
the discussion progresses, I shall answer any questions that may arise.
On Tue, 28 Sep 2004, Paul Jakma wrote:
> On Tue, 28 Sep 2004, Rick Payne wrote:
> > Which isn't what you'd expect as most implementations allow you to
> > specify the protocol instance when you're redistributing. Law of
> > least surprises etc.
> Makes sense to me though. If specify OSPF, you get OSPF routes
> (they'll just happen to have been generated by more than one OSPF
> instance). If I expected it to redistribute only one instance, surely
> I'd also have expected it to have me specify an instance? (which
> obviously zebra cant do, and hence there is no such ability in
> redistribute command).
> anyway, we still have to first hear from someone who has successfully
> ran two ospfd's on one machine. ;)
> > Rick
Team Niehaus Graduate Research Assistant,
245 E, Nichols Hall,
2335 Irving Hill Road,
Kansas 66045 - 7612
"Research is what I'm doing when I don't know what I'm doing. "
- Wernher Von Braun (1912-1977)
More information about the Quagga-dev