Re: Trafic Shaping question

From: Pavlo Bykov (slidersv@gmail.com)
Date: Thu Sep 04 2008 - 20:43:31 ART


Right, sorry, the direction is reversed.
Well, all routing is normally done based on destination address.
Since in this case we want to use source address for routing, regardless of
destination, we need to use a special tool.
PBR fits this scenario very well I think.

Define the route-map on "GW router" matching all required source addresses
and setting the output interface to BB-router (or setting next-hop address
of BB-router).
For redundancy you can also set default network under the same match
statement, as per this document:
http://www.cisco.com/en/US/docs/ios/12_0s/feature/guide/12s_pbr.html

Regards,
Pavlo

On Fri, Sep 5, 2008 at 12:10 AM, Zealist Hamamd <zealist@gmail.com> wrote:

>
> Hies Pavlo,
>
> I think that wont work,
> My topology is that
> SMTP server --SW---GW router---BB router ---provider network.
> i am using following route to lead trafic into my network.
> ip route 202.51.6.x 255.255.255.252 ip-add-of-GW--router-next-hop
>
> and these 2 links are use to take trafic out towards provider nw. so this
> route actually loops back the trafic.
>
> regards
>
>
> On Fri, Sep 5, 2008 at 2:51 AM, Pavlo Bykov <slidersv@gmail.com> wrote:
>
>> Well, can you just use static route out of 2mb link for those 3 ip's and
>> default route out of 1mb link?
>> Like this:
>>
>> ip route 0.0.0.0 0.0.0.0 ip-add-of-1mb-link-next-hop
>> ip route 202.51.6.x 255.255.255.252 ip-add-of-2mb-link-next-hop
>> ip route 0.0.0.0 0.0.0.0 ip-add-of-2mb-link-next-hop 240
>>
>> (the last entry is to provide redundancy in case of 1 mb link failure)
>>
>>
>>
>>
>>
>> On Thu, Sep 4, 2008 at 8:51 PM, Zealist Hamamd <zealist@gmail.com>wrote:
>>
>>> I have a question regarding trafic shaping
>>> My topology is like this
>>> SW-->GW router--> BB router <====> provider Nw.
>>> we have two links of 1 MB and 2MB from same provider
>>> Now,
>>> My organisation have two public Ip pools of 202.51.6.X/28 and
>>> 202.154.15.X/24 networks out of which 3 IPs(frm 202.51.6.X/) are binded
>>> to
>>> SMTP servers.
>>> I want to route only that 3 IPs from my 2 Mb link and rest of the trafic
>>> to
>>> other link. For this proder have binded those 3 Ips to 2mb link and SMTP
>>> trafic is coming from that direction, I am getting problem in how to
>>> route
>>> the SMTP trafic back.
>>>
>>> so wat r the efficient ways to achieve this?? also note that i can't use
>>> BGP.
>>> Regards
>>> Hammad Raza
>>>
>>>
>>> Blogs and organic groups at http://www.ccie.net
>>>
>>> _______________________________________________________________________
>>> Subscription information may be found at:
>>> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Sat Oct 04 2008 - 09:26:17 ART