Re: redistributing routes

2010-10-23 Thread Insan Praja SW
Hi Tony, On Sat, 23 Oct 2010 18:44:46 +0700, Tony Sarendal wrote: Is there a way to redistribute routes from BGP to OSPF using bgpd and ospfd ? on bgpd.conf you might want to do this: match from $peer1 inet prefix xxx.xxx.xxx.xxx/xx prefixlen bla_bla set rtlabel from_bgpd on ospfd.

Re: redistributing routes

2010-10-23 Thread Tony Sarendal
On Sat, Oct 23, 2010 at 2:05 PM, Insan Praja SW wrote: > Hi Tony, > > On Sat, 23 Oct 2010 18:44:46 +0700, Tony Sarendal > wrote: > > Is there a way to redistribute routes from BGP to OSPF using bgpd and ospfd >> ? >> >> > on bgpd.conf you might want to do this: > > match from $peer1 inet prefix x

Re: redistributing routes

2010-10-23 Thread Insan Praja SW
On Sat, 23 Oct 2010 19:25:22 +0700, Tony Sarendal wrote: On Sat, Oct 23, 2010 at 2:05 PM, Insan Praja SW wrote: Hi Tony, On Sat, 23 Oct 2010 18:44:46 +0700, Tony Sarendal wrote: Is there a way to redistribute routes from BGP to OSPF using bgpd and ospfd ? on bgpd.conf you might w

Re: redistributing routes

2010-10-23 Thread Henning Brauer
* Tony Sarendal [2010-10-23 14:29]: > rtlabel label > Add the prefix with the specified label to the kernel routing > table. > > Is this an error in the page or me reading it wrong ? debatable... this could be worded better. with rtlabel foo, bgpd will add the labe

Re: redistributing routes

2010-10-23 Thread Tony Sarendal
On Sat, Oct 23, 2010 at 3:07 PM, Henning Brauer wrote: > * Tony Sarendal [2010-10-23 14:29]: > > rtlabel label > > Add the prefix with the specified label to the kernel > routing > > table. > > > > Is this an error in the page or me reading it wrong ? > > debatable.

Re: redistributing routes

2010-10-23 Thread Kenneth R Westerback
On Sat, Oct 23, 2010 at 03:20:45PM +0200, Tony Sarendal wrote: > On Sat, Oct 23, 2010 at 3:07 PM, Henning Brauer wrote: > > > * Tony Sarendal [2010-10-23 14:29]: > > > rtlabel label > > > Add the prefix with the specified label to the kernel > > routing > > > table.

Re: redistributing routes

2010-10-23 Thread Stuart Henderson
On 2010-10-23, Tony Sarendal wrote: > rtlabel label > Add the prefix with the specified label to the kernel routing > table. I think this should be: Add the prefix to the kernel routing table with the specified label. Index: bgpd.conf.5 ===

Re: redistributing routes

2010-10-23 Thread Tony Sarendal
On Sat, Oct 23, 2010 at 6:16 PM, Stuart Henderson wrote: > On 2010-10-23, Tony Sarendal wrote: > > rtlabel label > > Add the prefix with the specified label to the kernel > routing > > table. > > I think this should be: > > Add the prefix to the kernel routing table

Re: redistributing routes

2010-10-23 Thread Henning Brauer
* Tony Sarendal [2010-10-23 19:03]: > How does OpenBSD handle the same prefix being in both bgpd and ospfd ? in general? OSPF routes have priority over BGP routes. that's implemented kernel routing table side and the daemons setting the priority field to their respective priorities when inserting

Re: redistributing routes

2010-10-23 Thread Tony Sarendal
On Sat, Oct 23, 2010 at 8:02 PM, Henning Brauer wrote: > * Tony Sarendal [2010-10-23 19:03]: > > How does OpenBSD handle the same prefix being in both bgpd and ospfd ? > > in general? OSPF routes have priority over BGP routes. that's > implemented kernel routing table side and the daemons setting

Re: redistributing routes

2010-10-23 Thread Tony Sarendal
On Sat, Oct 23, 2010 at 8:45 PM, Tony Sarendal wrote: > > > On Sat, Oct 23, 2010 at 8:02 PM, Henning Brauer wrote: > >> * Tony Sarendal [2010-10-23 19:03]: >> > How does OpenBSD handle the same prefix being in both bgpd and ospfd ? >> >> in general? OSPF routes have priority over BGP routes. tha

Re: redistributing routes

2010-10-23 Thread Henning Brauer
* Tony Sarendal [2010-10-23 20:50]: > On Sat, Oct 23, 2010 at 8:02 PM, Henning Brauer wrote: > > * Tony Sarendal [2010-10-23 19:03]: > > > How does OpenBSD handle the same prefix being in both bgpd and ospfd ? > > in general? OSPF routes have priority over BGP routes. that's > > implemented kerne

Re: Redistributing routes for IPSec tunnels with OpenOSPFD

2008-06-18 Thread Stuart Henderson
On 2008-06-17, Russell Howe <[EMAIL PROTECTED]> wrote: > I have a pair of firewall routers running OpenBSD (4.1 and 4.2 at > present - need to get them updated) and I recently added an IPsec tunnel > to their configurations, using ipsecctl and ipsec.conf complete with > sasyncd. > > This works f