bgpd questions

2006-12-28 Thread Frans Haarman

Hi! We are wondering about a certain bgp setup.
We want to announce some private networks to a select group of neighhbors.

Is it possible to define multiple networks in bgp.conf ?  Can I choose
which networks get announced to which neighbors ? I ask this because
the manual states I can announce self, none, default-route, all.

I am hoping I can use communities and or filters to achieve what I
want. Any pointers/example configs would be nice.



Regards,
Frans



Re: bgpd questions

2006-12-28 Thread Stuart Henderson
On 2006/12/28 15:30, Frans Haarman wrote:
 Is it possible to define multiple networks in bgp.conf ?  Can I choose
 which networks get announced to which neighbors ? I ask this because
 the manual states I can announce self, none, default-route, all.

Those announce are shortcuts to generating filter rules for simpler
configurations. If you want more control you can write the filter rules
yourself. Set a config file up with some announce and run it through
bgpd -nv, you should see what to do.



Re: bgpd questions

2006-12-28 Thread Claudio Jeker
On Thu, Dec 28, 2006 at 03:30:02PM +0100, Frans Haarman wrote:
 Hi! We are wondering about a certain bgp setup.
 We want to announce some private networks to a select group of neighhbors.
 
 Is it possible to define multiple networks in bgp.conf ?  Can I choose
 which networks get announced to which neighbors ? I ask this because
 the manual states I can announce self, none, default-route, all.
 
 I am hoping I can use communities and or filters to achieve what I
 want. Any pointers/example configs would be nice.
 

This is a more complex setup. In such cases it is best to add networks
with a community tag network 10.1.2/24 set community $as:123 and filter
on these communities later on to allow or deny the prefix.

-- 
:wq Claudio



Re: bgpd questions

2006-12-28 Thread Frans Haarman

On 12/28/06, Claudio Jeker [EMAIL PROTECTED] wrote:


This is a more complex setup. In such cases it is best to add networks
with a community tag network 10.1.2/24 set community $as:123 and filter
on these communities later on to allow or deny the prefix.



Right. Thanks for both replies. Will report my findings when we have
things running.

Curious: Is there an OpenBGPD FAQ in the making ?  I am sure you are
all bgp guru's and what not, but I am a simple chela and need
instructions ;p

Regards,
Frans



Re: bgpd questions

2006-12-28 Thread Claudio Jeker
On Thu, Dec 28, 2006 at 04:32:16PM +0100, Frans Haarman wrote:
 On 12/28/06, Claudio Jeker [EMAIL PROTECTED] wrote:
 
 This is a more complex setup. In such cases it is best to add networks
 with a community tag network 10.1.2/24 set community $as:123 and filter
 on these communities later on to allow or deny the prefix.
 
 
 Right. Thanks for both replies. Will report my findings when we have
 things running.
 
 Curious: Is there an OpenBGPD FAQ in the making ?  I am sure you are
 all bgp guru's and what not, but I am a simple chela and need
 instructions ;p
 

Nope, nobody worked on that. As a starter you could read
http://www.openbsd.org/papers/linuxtag06-network.pdf
This gives a brief introduction.

-- 
:wq Claudio



Re: bgpd questions

2006-12-28 Thread Henning Brauer
* Frans Haarman [EMAIL PROTECTED] [2006-12-28 15:38]:
 Hi! We are wondering about a certain bgp setup.
 We want to announce some private networks to a select group of neighhbors.
 
 Is it possible to define multiple networks in bgp.conf ?

errr... yes of course.

 Can I choose which networks get announced to which neighbors ?

yes, you need to write filters in that case.

 I ask this because
 the manual states I can announce self, none, default-route, all.

so you chose self and filter out the private ones where you don't wanna 
announce them

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam