cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
939
Views
0
Helpful
10
Replies

I have 2 ISP. I want two ISP carry differnt traffic, can any one solve it

iqbalkhan
Level 1
Level 1
10 Replies 10

b.hsu
Level 5
Level 5

You have to use BGP. COnfigure a longer AS-Path for which the traffic u want to send it thro other ISP. But the 2 ISP have to agree for this kind of differetialting the traffic using AS-Path.

ashok_boin
Level 5
Level 5

Hi,

Elaborating the prev reply a little bit...

Use outbound route-maps for your own prefixes on BGP neighbors.

For eg...

Let's take A & B are two ISPs

x and y are your different prefixes..., then use route-maps as follows...

route-map to-A

match ip prefix

set as-path prepend

route-map to-B

match ip prefix

set as-path prepend

The above command results the inbound traffic through A for "y" network and through B for "x" network. Note that you can influence only your INbound traffic with the above cmds. For outbound traffic load balancing, there are other techniques.

Regards...

-Ashok.


With best regards...
Ashok

hi ashok

I am not worry about inbound traffic. my concern is outbound traffic.

Incoming traffic thru ISP2- www, http, https.

Incoming traffic thru ISP1- smtp.

above incoming working fine.

Outgoing traffic thru ISP2- no internet traffic allowed

Outgoing traffic thru ISP1- smtp & internet e.g. www/http

* To get the above outgoing traffic-I have configured the cisco2611 as policy base routing for the expected services but not working.

Hi,

Please give your PBR configuration and give more information about your problem.

Thanks...

-Ashok.


With best regards...
Ashok

pushkar1782
Level 1
Level 1

hi...

YES .......

you can use Route - map command . You have to create and access-list to filter what traffic u want to allow / disallow. Then using route map u can define the interface to ISP 1 for allowed traffic and interface second to ISP2 for denied traffic. study route-map command from some bookj or site. this will probably help ...

bye

I am trying the same thing.

Here is what I have so far.. (it doesn't completely work yet though..)

*************************************

access-list 110 permit tcp host 192.168.196.2 any eq www

access-list 110 permit tcp host 192.168.196.2 any eq 443

access-list 110 deny tcp host 192.168.196.2 19x.xx.xxx.0 0.0.0.63

route-map adsl-redirect permit 10

match ip address 110

set interface dialer1 s0/0

interface fa0/0

ip policy route-map adsl-redirect

*************************************

My cache engine is on fa0/0 via a switch and has the private ip of 192.168.196.2. I have created ip nat configs for both the s0/0 (currently works) and di1 (not currently working)interfaces.

I am trying to use the ADSL link for browsing and the lease line on s0/0 for ip specific traffic such as VPN, SMTP, RDP, and locally hosted services.

I want to be able to fail over to the s0/0 interface in case of a link failure on the ADSL (via wic-1adsl).

Maybe this is too simple a solution, but if you don't want any outbound traffic going through ISP2, why not simply remove all routes to ISP2? Or, change the metrics such that ISP2 is used for outbound only if ISP1 is offline?

Gary

Maybe this is too simple a solution, but if you don't want any outbound traffic going through ISP2, why not simply remove all routes to ISP2? Or, change the metrics such that ISP2 is used for outbound only if ISP1 is offline?

Gary

alfredshum
Level 1
Level 1

use HSRP to force outbound traffic to ISP1 and use route-map to prepend your AS numbers several times to ISP2 so that inbound is not prefered via ISP2.

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a0080093f2c.shtml

GW6
Level 1
Level 1

.

Review Cisco Networking for a $25 gift card