cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
950
Views
5
Helpful
4
Replies

BGP - How to control Ingress Traffic When using Multihoming

Mohamad Qayoom
Level 3
Level 3

Hi everyone,

Network Design: We are using BGP with two ISP peers, and we are using AS Path prepending to somewhat control how traffic comes into our network.

Problem: For the most part AS path prepending is working as intended, but in some cases some networks ingress from the non-preferred ISP. There is one network in particular that we would really like to ingress through a particular ISP.

Proposed Solution: I am thinking of advertising this network to both ISPs, but with different subnet masks. Right now we are advertising the network with 24 bit mask to both ISPs. And I would like to advertise this network to the "non preferred" ISP with a 23 bit mask.

Any advise or suggestions?

Thanks,

Mohamad

1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Mohamad,

you should be fine if the whole /23 block is under your control (if the company owns it as a whole).

Clearly ip addresses will be only on the most specific /24 space.

A /24 should be seen in the internet and as most specific route should be preferred

Hope to help

Giuseppe

View solution in original post

4 Replies 4

kejeusa
Level 1
Level 1

you could just add more to your prepend to assure that the network in question is coming to your preferred isp.

other than that you could do as you proposed but that would lack redundancy if either went down. you could do a /23 on both sides including the /24

ISP-A

10.1.1.0/23

10.1.1.0/24 < use a route-map to set prepending on this advertisement

ISP-B

10.1.1.128/23

10.1.1.0.24 < use a route-map to set prepending on this advertisement

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Mohamad,

you should be fine if the whole /23 block is under your control (if the company owns it as a whole).

Clearly ip addresses will be only on the most specific /24 space.

A /24 should be seen in the internet and as most specific route should be preferred

Hope to help

Giuseppe

Thanks!

Do either of your ISPs support BGP communities?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card