cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
639
Views
0
Helpful
2
Replies

Routing traffic on the same subnet

jstewart33
Level 1
Level 1

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 2

Jon Marshall
Hall of Fame
Hall of Fame

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

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?

Review Cisco Networking products for a $25 gift card