cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
601
Views
0
Helpful
5
Replies

Routing issue / question

crockwaxi
Level 1
Level 1

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.

5 Replies 5

paul.driver
Level 1
Level 1

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?

 

@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?


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

balaji.bandi
Hall of Fame
Hall of Fame
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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

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.