0% found this document useful (0 votes)
4 views6 pages

006 Static Routing & Default Routing Command

The document provides detailed commands for configuring static and default routing on three routers (Router 1, Router 2, and Router 3). Each router's interface settings and IP routes are specified, including IP addresses and subnet masks. The commands include enabling the router, entering configuration mode, setting hostnames, and configuring static routes for network connectivity.

Uploaded by

gtplmayur
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views6 pages

006 Static Routing & Default Routing Command

The document provides detailed commands for configuring static and default routing on three routers (Router 1, Router 2, and Router 3). Each router's interface settings and IP routes are specified, including IP addresses and subnet masks. The commands include enabling the router, entering configuration mode, setting hostnames, and configuring static routes for network connectivity.

Uploaded by

gtplmayur
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like