0% found this document useful (0 votes)
37 views

Static & Default Routing

The document contains configuration examples for three routers, R1, R2 and R3, implementing static and default routing. For static routing, interface and static route configurations are shown for each router to route between subnets 192.168.10.0, 192.168.20.0 and 192.168.30.0 through serial links. For default routing, a default route is configured on each router pointing to the connected serial interface.

Uploaded by

emma rose
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views

Static & Default Routing

The document contains configuration examples for three routers, R1, R2 and R3, implementing static and default routing. For static routing, interface and static route configurations are shown for each router to route between subnets 192.168.10.0, 192.168.20.0 and 192.168.30.0 through serial links. For default routing, a default route is configured on each router pointing to the connected serial interface.

Uploaded by

emma rose
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

CCNA QUAZI MAHMUDUL HUQ

Static Routing

Configuration Router R1:


Router>enable
Router#configure terminal
Router(config)#hostname R1
R1(config)#interface serial 0/0/0
R1(config-if)#ip address 172.150.1.1 255.255.255.252
R1(config-if)#clock rate 64000
R1(config-if)#no shutdown
R1(config-if)#exit

R1(config)#interface fastEthernet 0/0


R1(config-if)#ip address 192.168.10.1 255.255.255.0
R1(config-if)#no shutdown

R1(config)#ip route 172.150.1.4 255.255.255.252 serial 0/0/0


R1(config)#ip route 192.168.20.0 255.255.255.0 serial 0/0/0
R1(config)#ip route 192.168.30.0 255.255.255.0 serial 0/0/0
R1(config)#exit
R1#show ip route

[email protected] Cell: 01711282944


CCNA QUAZI MAHMUDUL HUQ

Configuration Router R2:


Router>enable
Router#configure terminal
Router(config)#hostname R2
R2(config)#interface serial 0/0/0
R2(config-if)#ip address 172.150.1.2 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)# exit

R2(config)#interface serial 0/0/1


R2(config-if)#ip address 172.150.1.5 255.255.255.252
R2(config-if)#clock rate 64000
R2(config-if)#no shutdown
R2(config-if)#exit

R2(config)#interface fastEthernet 0/0


R2(config-if)#ip address 192.168.20.1 255.255.255.0
R2(config-if)#no shutdown

R2(config)#ip route 192.168.10.0 255.255.255.0 serial 0/0/0


R2(config)#ip route 192.168.30.0 255.255.255.0 serial 0/0/1

Configuration Router R3:


Router>enable
Router#configure terminal
Router(config)#hostname R3
R3(config)#interface serial 0/0/0
R3(config-if)#ip address 172.150.1.6 255.255.255.252
R3(config-if)#no shutdown
R3(config-if)#exit

R3(config)#interface fastEthernet 0/0


R3(config-if)#ip address 192.168.30.1 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#exit

R3(config)#ip route 172.150.1.0 255.255.255.252 serial 0/0/0


R3(config)#ip route 192.168.20.0 255.255.255.0 serial 0/0/0
R3(config)#ip route 192.168.10.0 255.255.255.0 serial 0/0/0

[email protected] Cell: 01711282944


CCNA QUAZI MAHMUDUL HUQ

Default Routing

Configuration Router R1:


Router>enable
Router#configure terminal
Router(config)#hostname R1
R1(config)#interface serial 0/0/0
R1(config-if)#ip address 172.150.1.1 255.255.255.252
R1(config-if)#clock rate 64000
R1(config-if)#no shutdown
R1(config-if)#exit

R1(config)#interface fastEthernet 0/0


R1(config-if)#ip address 192.168.10.1 255.255.255.0
R1(config-if)#no shutdown

R1(config)#ip route 0.0.0.0 0.0.0.0 serial 0/0/0

[email protected] Cell: 01711282944


CCNA QUAZI MAHMUDUL HUQ

Configuration Router R2:


Router>enable
Router#configure terminal
Router(config)#hostname R2
R2(config)#interface serial 0/0/0
R2(config-if)#ip address 172.150.1.2 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)# exit

R2(config)#interface serial 0/0/1


R2(config-if)#ip address 172.150.1.5 255.255.255.252
R2(config-if)#clock rate 64000
R2(config-if)#no shutdown
R2(config-if)#exit

R2(config)#interface fastEthernet 0/0


R2(config-if)#ip address 192.168.20.1 255.255.255.0
R2(config-if)#no shutdown

R2(config)#ip route 0.0.0.0 0.0.0.0 serial 0/0/0


R2(config)#ip route 0.0.0.0 0.0.0.0 serial 0/0/1

Configuration Router R3:


Router>enable
Router#configure terminal
Router(config)#hostname R3
R3(config)#interface serial 0/0/0
R3(config-if)#ip address 172.150.1.6 255.255.255.252
R3(config-if)#no shutdown
R3(config-if)#exit

R3(config)#interface fastEthernet 0/0


R3(config-if)#ip address 192.168.30.1 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#ip route 0.0.0.0 0.0.0.0 serial 0/0/0

[email protected] Cell: 01711282944

You might also like