Skip to content

Latest commit

 

History

History
58 lines (26 loc) · 1.14 KB

File metadata and controls

58 lines (26 loc) · 1.14 KB

Static-Routing

How to configure Static Routing.

image

First configure PC1 ip address 192.168.10.2 255.255.255.0 and gateway 192.168.10.1

Second configure Router1

Conf t

Interface g0/0/1

Ip address 192.168.10.1 255.255.255.0

Description connected switch1

No shut

Int g0/0/0

Ip address 172.16.10.1 255.255.255.0

Description connected R2

No shut

Do the same configuration with other side using network 192.168.20.0 255.255.255.0 and 172.16.20.0 255.255.255.255.0.

Now you can configure static routing on Router2

Enable

Conf t

Ip route 192.168.20.0 255.255.255.255.0 172.16.20.1

Ip route 192.168.10.0 255.255.255.0 172.168.10.1

Use command show ip route to see routing table

image

Ping PC1 to PC2 to test static routing protocol is working and now it is working

. image

image