On a Cisco router go to configuration mode with "Config t" command. And execute the command
Ip route <destination subnet> <destination mask> (outgoingBoth of the above have same effect. You can add costs (0-255) to these routes by just specifying the number in the last. Ip route 10.10.10.0 255.255.255.0 serial1/1 50
interface or next hop IP address> I.E., if I want to send all packets destined for 10.10.10.0 / 24 out of serial
interface serial1/1 with 192.168.10.1/30 I would say
Ip route 10.10.10.0 255.255.255.0 192.168.10.2
Ip route 10.10.10.0 255.255.255.0 serial1/1
Related Q&A from Sudhanshu Gupta, Routing and Switching Expert
Unmanaged Linksys switches don't know where to send BootP and DHCP requests. Find out what to do to fix the problem of unmanaged switches and DHCP ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.