Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Routing traffic on the same subnet

Can you route traffic from one router to another on the same network? I am trying to route traffic coming over a private T1 out to a Linux router that sends traffic to a load balancer. I have two 1841s handling the T1 which I need to pass the traffic to the Linux router. The 1841 in the main office has a Fastethernet interface assigned to a 192.168.0.0/16 address and the Linux router is on the same network. What are my options to get this 1841 to pass traffic to the Linux router?

2 REPLIES
Hall of Fame Super Blue

Re: Routing traffic on the same subnet

If i understand you correctly then yes you can do this, in fact this is what routers do all the time. You just need to add a static route to your 1841 or run a routing protocol between your 1841 and the Linux box which would very probably have to be RIP so a static is probably the best solution.

So if you wanted all traffic destined foer 192.168.5.0/24 to go to the linux box then on the 1841

ip route 192.168.5.0 255.255.255.0

If however your 1841 had an interface in the 192.168.5.x network then no you couldn't route via the linux box.

Jon

New Member

Re: Routing traffic on the same subnet

Thanks Jon for your reply. I do indeed have an interface on the 1841 that is on the same network as the linux box. So what are my options? Can I just change the IP on the 1841 to a different network and then route traffic to the linux box on the 192.168.0.0/16. Right now the 1841 FastEthernet interface and the linux box interface all reside on the same switch. Is this the correct way to cable them?

169
Views
0
Helpful
2
Replies
CreatePlease to create content