Re: Import src/sys/sys/hash.h from OpenBSD/NetBSD



Gleb Smirnoff wrote:

On Tue, Mar 14, 2006 at 01:42:54PM +0100, Andre Oppermann wrote:
A> > On Fri, Mar 10, 2006 at 03:28:10PM +0000, Florent Thoumie wrote:
A> > F> > > > FYI (if you're not reading -ports or -net), I just sent a prototype for
A> > F> > > > the openospfd port.
A> > F> > > Cool, thanks! I'm happy if you maintain the port as I've never done a port
A> > F> > > before.
A> > F> >
A> > F> > IMHO, Open{BGP,OSPF}D belong in src/contrib, not in ports/net.
A> > F>
A> > F> I'd be more than happy to see them in src/contrib.
A> >
A> > Me too.
A> >
A> > Question to Andre: what do we need to merge/add to our kernel to
A> > run OpenBGPd+OpenOSPFd with all their features?
A>
A> Two more things I want to commit later today. One is the addition of
A> strtonum() to libc and the other is a small change to the routing socket to
A> make it possible to change just the flags on a route instead of replacing
A> the entire route. That's it to get all standard functionality running.

Good!

A> Beyond that we have to fix our IPSEC API (I'm not sure whose fault it is,
A> but Open- and FreeBSD are not fully compatible) and we have to finish the
A> TCPMD5 support in the kernel.

Yes, I remember about TCP MD5.

What about choosing route using administrative distance of the protocol? Does
this feature exist in Open(BSD+BGPdOSPFd)? Is it possible OSPF and BGP to
inject same route into kernel, and kernel prefers the OSPF one until it
is present, and then switches to BGP? This is what we have in zebra, where
the zebra daemon performs this task - choosing between routes originated
from different protocols. Since OpenBSD doesn't have this intermediate
daemon, I guess they do the choosing process in kernel. Is this correct or
I mistake?

They tag (PROTO[1|2]) their routes and OSPF may overwrite BGP routes. When
OSPF removes a route BGP will insert its own again. Claudio and I want to
make this more formal and more in the way you describe it above. That then
needs approriate kernel functionality. We are currently debating the
semantics to find a good solution for both the routing daemon and kernel
hackers. ;) We'll float a proposal in the near future.

--
Andre
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Routing protocols, Internet vs Enterprises
    ... OSPF falls within the IGP category, which means it is used to route IP traffic within an AS. ... BGP falls within the EGP, which it is used to route data within the public Internet and relatively large IP networks. ...
    (Security-Basics)
  • Re: BGP static route from ISP and redistribute into OSPF
    ... from the CORE router post the output of: ... You do not have to redistribute BGP into OSPF and if you are learning ... static route ...
    (comp.dcom.sys.cisco)
  • Re: Announcing to BGP an OSPF route from area 0
    ... I'm facing problem with BGP and OSPF that I'm unable to solve so I'm ... There is a router R0 with eBGP neighbour within AS65001. ... Currently to have a exact prefix match in routing table for BGP on R0, ... to have the 10.0.0.0/8 route announced I put a static route on R0 for ...
    (comp.dcom.sys.cisco)
  • Equal cost paths from separate OSPF Processes
    ... the network statements are valid in all OSPF processes. ... interface Serial0.300 point-to-point ... router#sh ip route ospf ... connected, includes subnets in redistribution ...
    (comp.dcom.sys.cisco)
  • Re: OT - Quagga/CARP
    ... of the routers loses connectivity to the destination network. ... Does the combination of CARP and quagga OSPF work once it's configured ... You're talking about using CARP and OSPF on the edge routers, ... each router has a route through the ...
    (freebsd-net)