What is Static Routing || Why we use Static Routing in Network || Topology || Mir's IT Lab

 




What is Static Routing?

Routing- In Internetworking, the process of moving a packet of data from source to destination. Routing is generally performed by a devoted device called a router. Routing is a crucial point of the Internet because it enables dispatches to pass from one computer to another and ultimately reach the target machine. Each central computer performs routing by passing along the communication to the coming computer. Part of this process involves assaying a routing table to determine the stylish path.

Example of Static Routing.


In above topology we consider 2 PCs, 2 Switches and 2 Routers


Network 1 ( Head Office )

|--------- PC0 ------------|
IP Address : 192.168.1.2
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.1

|--------- PC1 ------------|
IP Address: 192.168.2.2
Subnet Mask: 255.255.255.0
Gateway: 192.168.2.1


First we double click on Router0 and add Serial port as shown in below gif image.



After adding serial port connect all PC, Switches and Routers.

|--------- Router0 ------------|

Router>en
Router#configure terminal 
Router(config)#int fa 0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shut

Router#
Router#configure terminal 
Router(config)#interface se 0/0
Router(config-if)#ip address 192.168.3.1 255.255.255.252
Router(config-if)#clock rate 128000
Router(config-if)#no shut


|--------- Router1 ------------|

Router>en
Router#configure terminal 
Router(config)#int fa 0/0
Router(config-if)#ip address 192.168.2.1 255.255.255.0
Router(config-if)#no shut

Router#
Router#configure terminal 
Router(config)#interface se 0/0
Router(config-if)#ip address 192.168.3.2 255.255.255.252
Router(config-if)#clock rate 128000
Router(config-if)#no shut

Now we going to configure static routing on routers:

|--------- Router0 ------------|

Router>en
Router#configure terminal 
Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.3.2


|--------- Router1 ------------|

Router>en
Router#configure terminal 
Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.3.1


Output: 



For Full Video Watch Below





Thank you for your comment. Our team will get back to you as soon as possible.

Post a Comment

Thank you for your comment. Our team will get back to you as soon as possible.

Post a Comment (0)

Previous Post Next Post