Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i use quagga as active for bgp4 but i am searching openbgpd. I installed openbgpd on freebsd. i am new at openbgpd.

I have an AS and also my customer's AS. I have 2 IPSs for internet. how can i restrict sending all our prefixes towards my isps by AS or me and my ip prefixes ? Namely i want to apply filter not in order to send prefixes the isp from other isp. Could you give me an example ?

is there any mailing lists or forum about openbgpd ?

thanks

share|improve this question
add comment

1 Answer

how can i restrict sending all our prefixes towards my isps by AS or me and my ip prefixes? Namely i want to apply filter not in order to send prefixes the isp from other isp. Could you give me an example?

In your bgpd.conf you use the announce self configuration syntax (assuming you want to announce 192.168.1.0/24 from AS 100 to your neighbors at 192.0.2.1 (AS 777) and 192.0.2.9 (AS 778))...

# FILE: bgpd.conf
AS 100
network    192.168.1.0/24  
router-id  192.0.2.2

neighbor 192.0.2.1 {
    remote-as           777
    descr               upstream
    local-address       192.0.2.2
    announce            self
}
neighbor 192.0.2.9 {
    remote-as           778
    descr               upstream
    local-address       192.0.2.10
    announce            self
}

Also look up Henning Brauer's openbgp config notes

AS112 also has some good information

BTW, openbgpd is also available for pfSense, as it's a BSD-based platform

share|improve this answer
    
Ok I have also a customer who has an AS. I have to send its prefixes towards our 2 isps ( as777 and as778 ). How can i add that above conf ? –  Bulend Mali Aug 1 '12 at 11:16
    
You will need to announce all to the upstreams and use filter language –  Mike Pennington Aug 1 '12 at 11:24
2  
If you're going to run a complex network like this, there's no substitute for you actually learning BGP and the configuration language for the tool you've chosen to run it. –  David Schwartz Aug 1 '12 at 12:03
    
i am looking for the equivalents for openbgpd of some expressions in the quagga/zebra. because i want to migrate openbgpd instead of quagga. But i am novice at openbgpd. thanks –  Bulend Mali Aug 1 '12 at 12:18
    
"announce all" and my customer AS200 and its prefix 192.168.200.0/24 and my prefix 192.168.1.0/24 by that of, announce all deny from any allow from any inet prefix 192.168.200.0/24 prefixlen >= 24 allow from any inet prefix 192.168.10.0/24 prefixlen >= 24 does it be enough ? –  Bulend Mali Aug 1 '12 at 12:31
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.