Loadbalancing outbound traffic while using openbgpd on freebsd
Posted
by Rajkumar S
on Server Fault
See other posts from Server Fault
or by Rajkumar S
Published on 2010-03-03T16:25:16Z
Indexed on
2010/03/12
8:27 UTC
Read the original article
Hit count: 668
bgp
|ip-routing
Hi,
I am using openbgpd in freeBSD with 2 ISP connections. I have my own AS number and a /22 network. Currently I am advertising entire /22 to both networks. Inbound traffic comes in But my outbound traffic goes via a single link.
I would like to either distribute my outbound traffic via both links so that outbound traffic is also load balanced.
How to configure this using openbgpd in freebsd?
My current openbgpd config is attached for reference.
AS 00my-as
listen on xx.xx.xx.x
router-id xx.xx.xx.x
network aa.aa.aa.0/22
group "ISP1" {
remote-as 11remoteas-1
neighbor bb.bb.bb.1 {
descr "ISP1"
announce all
}
}
group "ISP2" {
remote-as 22remoteas-2
neighbor cc.cc.cc.37 {
descr "ISP2"
announce all
}
}
deny from any
deny to any
allow from bb.bb.bb.1
allow to bb.bb.bb.1
allow from cc.cc.cc.37
allow to cc.cc.cc.37
© Server Fault or respective owner