
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.2Subnet Mask: 255.255.255.0Gateway: 192.168.1.1
|--------- PC1 ------------|
IP Address: 192.168.2.2Subnet Mask: 255.255.255.0Gateway: 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>enRouter#configure terminalRouter(config)#int fa 0/0Router(config-if)#ip address 192.168.1.1 255.255.255.0Router(config-if)#no shutRouter#Router#configure terminalRouter(config)#interface se 0/0Router(config-if)#ip address 192.168.3.1 255.255.255.252Router(config-if)#clock rate 128000Router(config-if)#no shut
|--------- Router1 ------------|
Router>enRouter#configure terminalRouter(config)#int fa 0/0Router(config-if)#ip address 192.168.2.1 255.255.255.0Router(config-if)#no shutRouter#Router#configure terminalRouter(config)#interface se 0/0Router(config-if)#ip address 192.168.3.2 255.255.255.252Router(config-if)#clock rate 128000Router(config-if)#no shut
|--------- Router0 ------------|
Router>enRouter#configure terminalRouter(config)#ip route 192.168.2.0 255.255.255.0 192.168.3.2
|--------- Router1 ------------|
Router>enRouter#configure terminalRouter(config)#ip route 192.168.1.0 255.255.255.0 192.168.3.1
Post a Comment
Thank you for your comment. Our team will get back to you as soon as possible.