07-06-2022 11:25 PM
Is there any way to force packets to go back out the same interface they are received on?
Basically, my 3750x has a default route going out one interface. I also have a "special" appliance plugged into int 34. I need packets that arrive on that interface to go back out the same interface and not use the default route. Is there a way to do this? Thank you.
07-06-2022 11:43 PM
Hello
@crockwaxi wrote:
I have a "special" appliance plugged into int 34. I need packets that arrive on that interface to go back out the same interface and not use the default route.
Can you elaborate what your mean regards the above, that traffic arriving ingress on an interface needs to be routed egress by out of that same interface.
Is this interface a part of a segregated vlan, what is this "special" appliance servicing?
Maybe post a topology diagram?
07-06-2022 11:50 PM
@crockwaxi wrote:
I have a "special" appliance plugged into int 34. I need packets that arrive on that interface to go back out the same interface and not use the default route.
Can you elaborate what your mean regards the above, that traffic arriving ingress on an interface needs to be routed egress by out of that same interface.
Is this interface a part of a segregated vlan, what is this "special" appliance servicing?
Maybe post a topology diagram?
07-06-2022 11:56 PM
I need packets that arrive on that interface to go back out the same interface and not use the default route
We need show run information, and your topology to suggest better, Do you have 2 default route available to do traffic steering ?
just to guess and give you an example: below should work, if you have 2 Gateways: and routing in place :
(config)# access-list 20 permit ip host 192.168.1.222
(config)# route-map myroute permit 10
(config-route-map)# match ip address 20
(config-route-map)# set ip next-hop 192.168.2.2 ( this is a different gateway)
(config)# int vlan X (your VLAN ID)
(config-if)# ip policy route-map myroute
07-07-2022 12:06 AM
Hello @balaji.bandi
PBR will not be applicable unless it’s applied at both ends, Otherwise only what you would accomplish would to policy route one way and the return traffic can come in via the default route path.
I think we need to understand further on the topology and actually what that "special " appliance is actually doing
07-07-2022 08:24 AM
this is L3SW,
you config SVI of VLAN as GW of all client in that VLAN
this make traffic go out this VLAN pass through the SVI of VLAN,
NOW
you want L3 device in same VLAN L2 domain to be the GW of specific traffic,
this can done by two way,
1- config static GW in each client which want it traffic not go through SVI of VLAN
2- if you use DHCP config DHCP-class and specify default route and add the IP of router not use the default IP of SVI of VLAN.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide