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?
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.
1. Log into CLI of DNAC:
ssh maglev@< DNAC appliance IP> -p 2222
2. Run this curl command to get token to get member id:
curl -X POST -u admin:<admin user password> -H -V https://<CLUSTER-IP>/api/system/v1/identitymgmt/token
Enterprise Switching Business Unit is glad to announce Beta release 16.12.2 for all Catalyst 9200/9300/9400/9500/9600 and Catalyst 3650/3850 Platforms. This release is made available to allow users to test, evaluate and share fee...
Purpose of the document
This document describes the general recommendations or best practices when designing and deploying the Cisco SD-Access technology. The document assumes that the reader has a general overview of Cisco's SD-Access for Distributed C...
Do you currently have hands-on networking experience? If you do, we'd love to hear from you!
Your feedback will be reviewed and analyzed by our team to directly influence a networking management and monitoring product.
Take the 20-min or les...