Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > BGP - limiting subnets and uplinks

Reply
Thread Tools

BGP - limiting subnets and uplinks

 
 
david@wmol.com
Guest
Posts: n/a
 
      11-16-2004
Hello:

router bgp XXX
network 192.168.0.0 mask 255.255.255.0
network 192.168.1.0 mask 255.255.255.0
network 10.0.0.0 mask 255.255.255.0
neighbor 1.1.1.1 ...
neighbor 2.2.2.2 ...
neighbor 3.3.3.3 ...


I know to announce certain blocks to my uplinks, i use:
neighbor x.x.x.x distribute-list xxx out


My question is, how would I limit 10.0.0.0 from using the 3.3.3.3 uplink?
So 192.168.0.0/24 and 192.168.1.0/24 can use all the uplinks, but 10.0.0.0/24 can only use
1.1.1.1 and 2.2.2.2?

Thanks

 
Reply With Quote
 
 
 
 
Doan
Guest
Posts: n/a
 
      11-16-2004

On Tue, 16 Nov 2004 http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:

> Hello:
>
> router bgp XXX
> network 192.168.0.0 mask 255.255.255.0
> network 192.168.1.0 mask 255.255.255.0
> network 10.0.0.0 mask 255.255.255.0
> neighbor 1.1.1.1 ...
> neighbor 2.2.2.2 ...
> neighbor 3.3.3.3 ...
>
>
> I know to announce certain blocks to my uplinks, i use:
> neighbor x.x.x.x distribute-list xxx out
>
>
> My question is, how would I limit 10.0.0.0 from using the 3.3.3.3 uplink?
> So 192.168.0.0/24 and 192.168.1.0/24 can use all the uplinks, but 10.0.0.0/24 can only use
> 1.1.1.1 and 2.2.2.2?
>
> Thanks
>

You can use PBR or, for simplicity, you can just use static routes for the
10.0.0.0/24, e.g.
ip route 10.0.0.0/24 any 1.1.1.1
ip route 10.0.0.0/24 any 2.2.2.2

The 10.0.0./24 will then only use 3.3.3.3 when the above two links are
down. I am assuming that 1.1.1.1, 2.2.2.2 & 3.3.3.3 are your next-hops.

Doan



 
Reply With Quote
 
 
 
 
davidh@wmis.net
Guest
Posts: n/a
 
      11-16-2004
Doan <(E-Mail Removed)> wrote:
>
> On Tue, 16 Nov 2004 (E-Mail Removed) wrote:
>
>> Hello:
>>
>> router bgp XXX
>> network 192.168.0.0 mask 255.255.255.0
>> network 192.168.1.0 mask 255.255.255.0
>> network 10.0.0.0 mask 255.255.255.0
>> neighbor 1.1.1.1 ...
>> neighbor 2.2.2.2 ...
>> neighbor 3.3.3.3 ...
>>
>>
>> I know to announce certain blocks to my uplinks, i use:
>> neighbor x.x.x.x distribute-list xxx out
>>
>>
>> My question is, how would I limit 10.0.0.0 from using the 3.3.3.3 uplink?
>> So 192.168.0.0/24 and 192.168.1.0/24 can use all the uplinks, but 10.0.0.0/24 can only use
>> 1.1.1.1 and 2.2.2.2?
>>
>> Thanks
>>

> You can use PBR or, for simplicity, you can just use static routes for the
> 10.0.0.0/24, e.g.
> ip route 10.0.0.0/24 any 1.1.1.1
> ip route 10.0.0.0/24 any 2.2.2.2
>
> The 10.0.0./24 will then only use 3.3.3.3 when the above two links are
> down. I am assuming that 1.1.1.1, 2.2.2.2 & 3.3.3.3 are your next-hops.
>
> Doan
>
>
>


Well, 1.1.1.1 and 2.2.2.2 are two separate uplinks, so I dont want to do:
ip route 10.0.0.0/24 any 1.1.1.1
ip route 10.0.0.0/24 any 2.2.2.2

Can you give me an example of the PBR?
 
Reply With Quote
 
Doan
Guest
Posts: n/a
 
      11-18-2004


a123sdg321

On Tue, 16 Nov 2004 (E-Mail Removed) wrote:

> Doan <(E-Mail Removed)> wrote:
> >
> > On Tue, 16 Nov 2004 (E-Mail Removed) wrote:
> >
> >> Hello:
> >>
> >> router bgp XXX
> >> network 192.168.0.0 mask 255.255.255.0
> >> network 192.168.1.0 mask 255.255.255.0
> >> network 10.0.0.0 mask 255.255.255.0
> >> neighbor 1.1.1.1 ...
> >> neighbor 2.2.2.2 ...
> >> neighbor 3.3.3.3 ...
> >>
> >>
> >> I know to announce certain blocks to my uplinks, i use:
> >> neighbor x.x.x.x distribute-list xxx out
> >>
> >>
> >> My question is, how would I limit 10.0.0.0 from using the 3.3.3.3 uplink?
> >> So 192.168.0.0/24 and 192.168.1.0/24 can use all the uplinks, but 10.0.0.0/24 can only use
> >> 1.1.1.1 and 2.2.2.2?
> >>
> >> Thanks
> >>

> > You can use PBR or, for simplicity, you can just use static routes for the
> > 10.0.0.0/24, e.g.
> > ip route 10.0.0.0/24 any 1.1.1.1
> > ip route 10.0.0.0/24 any 2.2.2.2
> >
> > The 10.0.0./24 will then only use 3.3.3.3 when the above two links are
> > down. I am assuming that 1.1.1.1, 2.2.2.2 & 3.3.3.3 are your next-hops.
> >
> > Doan
> >
> >
> >

>
> Well, 1.1.1.1 and 2.2.2.2 are two separate uplinks, so I dont want to do:
> ip route 10.0.0.0/24 any 1.1.1.1
> ip route 10.0.0.0/24 any 2.2.2.2
>
> Can you give me an example of the PBR?
>

I don't understand why you don't want to use the above since both uplinks
will be used by 10.0.0.0/24. As for PBR, try this link:
http://www.cisco.com/en/US/tech/tk36...8009481d.shtml

Doan


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: What's better a few big subnets or several smaller subnets? jfalken@socket.net Cisco 4 08-29-2008 11:33 AM
6500: User-Based Rate Limiting AND Total Rate Limiting Patrick Cervicek Cisco 0 08-07-2007 03:07 PM
uplinks and trunks tony Cisco 11 10-21-2006 09:16 AM
Difference between "bgp dampening" and "bgp bestpath dampening" harald rüger Cisco 0 10-25-2004 04:07 PM
BGP - limiting outgoing David Hill Cisco 3 10-12-2004 01:54 AM



Advertisments