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

routing out the same interface it was recieved

jkampmeyer
Level 1
Level 1

I have a switch between two routers. On the outside of both routers is connections to two different networks. Also the default routes on the routers point to the outside of router A. Host connected to the switch need to talk to both networks. The problem is if I set the default gateway on the host to point to router A, then the host can talk to everything on the router A network. But not Router B network. Setting the host default gateway to router B, then the host can talk to all on router B network. But not on router A network.

I assume the is because the router will not send the packets out the same interface it was received on. Is there a way to route out to the same interface in came in on.

Jamey

1 Reply 1

rjackson
Level 5
Level 5

Could be, but first check your routing. Can rtra ping the net on rtrb and vice versa? Can they both ping the host?

If thats good do a sho ip int and see if fast cache on same interface is disabled. Turn on with ip route-cache same interface on the interface. Might also want to enable redirects so the host can learn to bypass the gateway when going to the other rtr's lan.

Review Cisco Networking for a $25 gift card