I need some help with a route statement. On a 2851 with a point to point connection to another 2851 I need a statement that will send all traffic that comes up from the Gigabit interface destined for subnet 10.0.5.0 out serial interface 0/0/0. The IP address on the other end of the point to point is 10.50.10.1
Thanks in advance! Al replies rated!
Actually, you would add in addition to if the 10.0.5.0 subnet is going to be staying.
Say you have serial0 and serial1:
s0: 10.50.10.2 --> s0: 10.50.10.1
s1: 192.168.2.1 --> s1: 192.168.2.2
The internal network is on G0: 220.127.116.11/24
S0 peers with another router on it's S0 interface with address of 10.50.10.1 and the internal subnet is 10.0.5.0.
S1 peers with a different router on it's S0 interface at 192.168.2.2 and an internal subnet of 18.104.22.168.
On your router with S0 and S1, you would just create two static routes to the two internal subnets on the other side of your links like:
ip route 10.0.5.0 255.255.255.0 10.50.10.1
ip route 22.214.171.124 255.255.255.0 192.168.2.2
The router is smart enough to know which interface to go out of. :) Both static routes can stay.