Re: OpenBGP load balancing between 2 ISP (multihoming)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Simon Slaytor
Date: Wednesday, October 8, 2008 - 12:23 pm

Hi,

First off lets clear up to things:

OSPF is an igp protocol, you would use it to share routes between your 
own routers not a transit providers.
iBGP is again an igp, this time BGP will automatically talk iBGP when 
talking to routers within the same AS. Your BGP sessions will 
automatically talk eBGP to your transits.

Ok so lets look at the way it will need to work, BGP works by 
propagating the routes you announce to your  up stream 'transit' peers, 
via eBGP. In turn these transit providers announce your routes to the 
larger internet. Remote AS's will choose a path back to you based on 
several factors inc. AS path length,  local preference, weighting etc.

You can control to some extent the provider your inbound traffic arrives 
on by padding your announcement to one provider over another, outbound 
traffic is much easier as you can use various methods of setting local 
preferences based on inbound communities etc.

Now this is all great in theory however to do this with two providers 
you will need your OWN AS, this is necessary as the transit will simply 
filter out any private AS's (65xxx).

You will also need your own reasonably large IP allocation. From your 
diagram I see you are using a /28 how did you come by this? If this was 
given to you by a provider e.g. ISP1 they will already be announcing 
this as part of a summarised route to their transits, as such they 
probably won't let you re announce their allocation to ISP2. Even if 
this IP space has been allocated to you e.g. by ripe many transit 
providers are now filtering out smaller routes such as /24 routes, let 
alone /28 in an effort to keep their routing tables to a minimum. See 
below we're now at about 260k routes! So in this case even if ISP1 & 2 
re transmit your routes their upstreams will filter you out so you won't 
get connectivity.

Now I'm no BGP expert by any means so please forgive me if any of this 
is wrong or misleading.

Out of pure 'play' factor I do maintain a BGP peering session with one 
of my ISP's from a OpenBSD 4.3 box, I usually use Cisco so wanted to 
play OpenBGP.

# bgpctl sh sum
Neighbor             AS       MsgRcvd    MsgSent    OutQ  Up/Down  
State/PrfRcvd
MT Peering           13122    183343     3245       0     2d06h03m 263451
#

I would suggest your best bet is to follow the good advice of others and 
look at the multi homed solutions suggested.

Hope that helps

Simon

 



BARDOU Pierre wrote:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
OpenBGP load balancing between 2 ISP (multihoming), BARDOU Pierre, (Tue Oct 7, 6:40 am)
Re: OpenBGP load balancing between 2 ISP (multihoming), Frans Haarman, (Tue Oct 7, 9:53 am)
Re: OpenBGP load balancing between 2 ISP (multihoming), Mariusz Makowski, (Tue Oct 7, 12:38 pm)
Re: OpenBGP load balancing between 2 ISP (multihoming), BARDOU Pierre, (Tue Oct 7, 11:31 pm)
Re: OpenBGP load balancing between 2 ISP (multihoming), BARDOU Pierre, (Tue Oct 7, 11:38 pm)
Re: OpenBGP load balancing between 2 ISP (multihoming), cnav@talamasca.pl, (Wed Oct 8, 12:04 am)
Re: OpenBGP load balancing between 2 ISP (multihoming), BARDOU Pierre, (Wed Oct 8, 12:14 am)
Re: OpenBGP load balancing between 2 ISP (multihoming), BARDOU Pierre, (Wed Oct 8, 1:21 am)
Re: OpenBGP load balancing between 2 ISP (multihoming), Frans Haarman, (Wed Oct 8, 1:55 am)
Re: OpenBGP load balancing between 2 ISP (multihoming), Claudio Jeker, (Wed Oct 8, 2:08 am)
Re: OpenBGP load balancing between 2 ISP (multihoming), BARDOU Pierre, (Wed Oct 8, 2:10 am)
Re: OpenBGP load balancing between 2 ISP (multihoming), Simon Slaytor, (Wed Oct 8, 12:23 pm)
Re: OpenBGP load balancing between 2 ISP (multihoming), Simon Slaytor, (Wed Oct 8, 12:50 pm)