Tuesday, December 24, 2013

Static routing is how to provide access to network neighbors through the wan interface using static routing table. Static routing is simple routing arrangement in a computer network. Below is an example of the application of static routing to connect 2 routers that are in the city of Jakarta and Surabaya.

2 routers are connected via wan ip address 172.16.40.0/30, ip address for Jakarta 192.168.0.0/24 and Surabaya 192.168.1.0/24.

Setting hostname and IP address on the router Jakarta :
Router>enable
Router#configure terminal
Router(config)#hostname jkt-c2811
jkt-c2811(config)#interface fastEthernet 0/0
jkt-c2811(config-if)#ip address 172.16.40.1 255.255.255.252
jkt-c2811(config-if)#no shutdown
jkt-c2811(config-if)#^Z --> CTRL+Z
jkt-c2811#
jkt-c2811#configure terminal
jkt-c2811(config)#interface fastEthernet 0/1
jkt-c2811(config-if)#ip address 192.168.0.1 255.255.255.0
jkt-c2811(config-if)#no shutdown
And for Surabaya, we can configure the hostname and IP address as follows :
Router>enable
Router#configure terminal
Router(config)# hostname Sby-C2811
sby-C2811(config)#interface fastEthernet 0/0
sby-C2811(config-if)#ip address 172.16.40.2 255.255.255.252
sby-C2811(config-if)#no shutdown
sby-C2811(config-if)#^Z --> CTRL+Z
sby-C2811(config)#interface fastEthernet 0/1
sby-C2811(config-if)#ip address 192.168.1.1 255.255.255.250
sby-C2811(config-if)#no shutdown
If the ip address configured already completed, it is time to provide access static routing.

Routing static on Jkt-c2811 :
jkt-c2811#configure terminal
jkt-c2811(config)#ip route 192.168.1.0 255.255.255.0 172.16.40.2
Routing static on Sby-c2811 :
sby-C2811#configure terminal
sby-C2811(config)#ip route 192.168.0.0 255.255.255.0 172.16.40.1
Thank You For Reading This Article
Title: Static Routing at Cisco Router
Written by achmad saifudin
Give your comments and suggestions on this article. Greetings Bloggers, Thank You

0 comments:

Post a Comment