February 26 2009

can I route traffic from one interface to another on a cisco router?

cisco routers
Charles , MCSE, CCNA, Citrix asked:


I have a cisco router with 2 fast ethernet port. One I assigned to dallas (connected via metro ethernet) 10.5.1.2 and the other to my office 10.4.1.2. both interfaces are pingable from both side. I want to route traffic from 10.5.x.x to 10.4.0.0. When I add ip route 10.4.0.0 255.255.0.0 10.5.1.2, it says I cant do this because the next hop is this router. Is there a way to route on interface to another?
int fe 0/0 10.4.1.2
int fe 0/1 10.5.1.2
The answer is
ip route 10.4.0.0 255.255.0.0 fastethernet 0/0 and vise versa.

Turns out you just have to specify interface and not the ip. Free best answer to anyone who just says hi

You can leave a response, or trackback from your own site.

2 Responses to “can I route traffic from one interface to another on a cisco router?”

  1. kyrrian says:

    good find. i was thinking interface before i got to your additional details. gotta love routing…

  2. SGT_R0ck says:

    The route is already in the table. first you have to make sure routing is enabled (from the response you get it should be) cmd is just ip routing

    All Connected interfaces are added as routes into the routing table (sh ip route will show you this)

    All you need now is to add the IP address on the router as the default gateway on your devices. NB dallas side use the Dallas address other side use the other address.

    You only need to add a route if you are passing the packet to another router.

Leave a Reply

Anti-Spam Protection by WP-SpamFree

Powered by Yahoo! Answers