Static Routing Command
Configure Router
Router 1 Command
Enable
Config t
Hostname r1
Interface fa0/0
Ip address [Link] [Link]
No shutdown
Exit
Interface s0/0/0
Ip address [Link] [Link]
No shutdown
Exit
Router 2 Command
Enable
Config t
Hostname r2
Interface fa0/0
Ip address [Link] [Link]
No shutdown
Exit
Interface s0/0/0
Ip address [Link] [Link]
No shutdown
Exit Interface s0/0/1
Ip address [Link] [Link]
No shutdown
Exit
Router 3 Command
Enable
Config t
Hostname r3
Interface fa0/0
Ip address [Link] [Link]
No shutdown
Exit
Interface s0/0/0
Ip address [Link] [Link]
No shutdown
Exit
IP Route
Router 1
Ip route – {destination – network} {destination -mask} {via}
R1(config)#ip route [Link] [Link] [Link]
R1(config)#ip route [Link] [Link] [Link]
R1(config)#ip route [Link] [Link] [Link]
R1(config)#end
R1#show ip route static
R1#show ip route
Router 2
R2(config)# ip route [Link] [Link] [Link]
R2(config)# ip route [Link] [Link] [Link]
R2(config)# end
R1#show ip route
R1#show ip route static
Router 3
R3(config)# ip route [Link] [Link] [Link]
R3(config)# ip route [Link] [Link] [Link]
R3(config)# ip route [Link] [Link] [Link]
R3(config)# end
R1#show ip route
R1#show ip route static
Default Routing Command
Configure Router
Router 1 Command
Enable
Config t
Hostname r1
Interface fa0/0
Ip address [Link] [Link]
No shutdown
Exit
Interface s0/0/0
Ip address [Link] [Link]
No shutdown
Exit
Router 2 Command
Enable
Config t
Hostname r2
Interface fa0/0
Ip address [Link] [Link]
No shutdown
Exit
Interface s0/0/0
Ip address [Link] [Link]
No shutdown
Exit Interface s0/0/1
Ip address [Link] [Link]
No shutdown
Exit
Router 3 Command
Enable
Config t
Hostname r3
Interface fa0/0
Ip address [Link] [Link]
No shutdown
Exit
Interface s0/0/0
Ip address [Link] [Link]
No shutdown
Exit
IP Route
Router 1
Ip route – {destination – network} {destination -mask} {via}
R1(config)#ip route [Link] [Link] [Link]
R1(config)#ip route [Link] [Link] [Link]
R1(config)#ip route [Link] [Link] [Link]
R1(config)#end
R1#show ip route static
R1#show ip route
Router 2
R2(config)# ip route [Link] [Link] [Link]
R2(config)# ip route [Link] [Link] [Link]
R2(config)# end
R1#show ip route
R1#show ip route static
Router 3
R3(config)# ip route [Link] [Link] [Link]
R3(config)# ip route [Link] [Link] [Link]
R3(config)# ip route [Link] [Link] [Link]
R3(config)# end
R1#show ip route
R1#show ip route static