So the best way to achieve redundancy is to multi-home (connect up to two different providers). Right now, this FAQ only covers "full multi-homing" - not backup arrangements that can be used in case of emergency, but cases where you are fully operational immediately if either (any) of your lines or providers gets hosed.
So how does someone someplace on the Net send data to you? They send a packet to their provider. If you are using a different provider, then their provider sends that packet to your provder based on a "route announcement" having occurred between those two providers.
So outgoing route announcements bring data in to your network.
Either your provider "nails" your routes into their internal routing table and external route-announcement table somehow, or you announce your routes to your provider and then those routes go into their internal & external-announcement routing tables. Of course, if you got your IP address space from that provider, they will not be announcing your smaller sub-route to the rest of the Internet at the exchange points.
[Insert link to the CIDR FAQ.]
Default route: If you have a default route (also written as the 0.0.0.0 route), then you are just sending all data that you don't know what to do with the one of your providers. Even with functional multi-homing, you may still be doing this.
Taking routes from your provider: If you have one provider, you *could* take all of the routes on the Internet (about 32,000 of them on 12/15/95). This WILL fit in a 16mb Cisco 2500 series router. But why would you want to do that if you only have one provider? It gives you the same net effect as if you just defaulted into that provider.
You default route into your provider.
int e0
ip add [local_ip_adx] [local_ip_mask]
int s0
ip add [local_t1_adx] 255.255.255.252
ip route 0.0.0.0 s0
note: Usually the mask on a serial is 255.255.255.252.
This is to conserve ip address space.
Slighly More Desirable Configuration:You default route into your provider.
int e0
ip add [local_ip_adx] [local_ip_mask]
int s0
ip add [local_t1_adx] 255.255.255.252
router bgp [your-asn]
network [net1]
network [net2] mask 255.255.254.0
network [net3] mask 255.255.252.0
neighbor [remote_t1_adx] remote-as [provider-as]
ip route 0.0.0.0 s0
ip route [net1] dest1
ip route [net2] 255.255.254.0 dest2
ip route [net3] 255.255.252.0 dest3
note: This way ensures that wild routes won't creep in.
But this will ONLY be enough if you have a single provider.
BGP NOTE:
You *can* do this while speaking BGP to one or both providers, but if you are speaking BGP you probably want to take "customer routes" (see Method 3).
Of course, if you want to speak BGP for outgoing route announcements, you can just filter all incoming routes and know that you can multi-home using this method on even a 1mb Cisco 2501.
This might work when one provider is not as good - and when you don't need the bandwidth of the 2nd connection.
These numbers might be wrong for you! You'll have to look at your routing table (at the AS-paths for ftp.uu.net, ftp.psi.com, ftp.sprintlink.net, etc...) to figure it out.
Then, just decide to hear MCI routes through provider A and Sprint routes through provider B. Or whatever mix you want. Balance whose routes you hear through which provider until your average utilization looks balanced. Add default routes to both (equal weighted) or to one as primary and one as secondary to suit.
terry@spcvxb.spc.edu Terry Kennedy, Operations Mgr. at St. Peter's College, US
In article <1995Dec18.164944.1@hujicc>, yehavi@vms.huji.ac.il (Yehavi Bourvine (58-4279)) writes:
> An ISP is going soon to be dual-homed to two ISPs which are directly
> connected to the NAPs. THe question is which router to use: 4,500 with 32MB or
> 7010 with 64MB. My main concern is the routing tables (full BGP tables) and the
> amount of memory they use. WIll I have enough free memory on the 4,500 for the
> forseen future size of the tables, or shall we take a 7010 with 64MB to be on
> the safe side? 7,000 and 7,500 are out of question due to the price.
There are conflicting answers to this question. I posted some numbers a
while back from the CIX router, and people told me "the CIX router filters
many routes and you'll have problems with full routing".
Well, I went ahead and did it anyway. I'm using a 4500M with 32MB main
memory and 16MB I/O memory. It is dual-connected to Sprint and Alternet
and maintains full routing. Here's the output from sho ip bgp sum and sho
mem:
router>sh ip bgp sum
BGP table version is 2436598, main routing table version 2436598
32175 network entries (61909/64360 paths) using 5679608 bytes of memory
3550 BGP path attribute entries using 413828 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
5246 BGP filter-list cache entries using 83936 bytes of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State
xxx.xxx.xxx.xxx 4 701 432288 20337 2436532 0 0 2d13
xxx.xxx.xxx.xxx 4 1239 411988 20314 2436532 0 0 1w6d
xxx.xxx.xxx.xxx 4 xxxx 19984 19978 2436594 0 0 3d04
xxx.xxx.xxx.xxx 4 xxxx 20222 19979 2436532 0 0 4d23
xxx.xxx.xxx.xxx 4 xxxx 19512 19881 2436532 0 0 2d17
router>sh mem
Head FreeList Total(b) Used(b) Free(b) Largest(b)
Processor 60508B40 604ACA78 28275904 15935728 12340176 11647024
I/O 40000000 604AD78C 16777216 1842080 14935136 14877616
Terry Kennedy Operations Manager, Academic Computing
terry@spcvxa.spc.edu St. Peter's College, Jersey City, NJ USA
+1 201 915 9381 (voice) +1 201 435-3662 (FAX)