cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
477
Views
0
Helpful
1
Replies

Policy based routing

Ejaz Ahmed
Level 1
Level 1

Hi Experts,

I have two ISPs in my office and a layer 3 switch. Two vlans are configured in this switch. My web server is one these VLANs(only one NIC). Both ISPs are active and connected to this layer 3 switch. I want a to setup my network like, if a connection coming from ISP1 to the web server will reply back via ISP1. Same like, if a connection comes from ISP2 to the web server, need to reply back via ISP2. Is this possible?

Regards

Ejaz

1 Reply 1

Jon Marshall
Hall of Fame
Hall of Fame

Ejaz

PBR won't help here because the IP accessing the web server could be any IP ie. internet.

So your switch has no way of knowing which ISP to send the traffic back to.

A possible solution is to NAT the incoming source IPs to a unique IP per ISP then you could use PBR to send the traffic back out the same way but most switches don't support NAT and it's not clear what else is in your network.

I think you may struggle to do this with the equipment you have mentioned.

Jon

Review Cisco Networking for a $25 gift card