Routing Statik

From OnnoWiki
Revision as of 10:56, 25 October 2013 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Static routing adalah konsep yang memberikan salah satu cara untuk mengkonfigurasi pemilihan jalur dari router yang akan di lewati di jaringan komputer. Routing statik adalah tipe routing yang biasanya digunakan saat tidak ada komunikasi antar router tentang topologi jaringan. Routing statik dilakukan dengan cara menambahkan secara manual routing ke tabel routing. Lawan dari routing statik adalah dynamic routing / routing dinamis, kadang kala di kenal sebagai adaptive routing.

In these systems, routes through a data network are described by fixed paths (statically). These routes are usually entered into the router by the system administrator. An entire network can be configured using static routes, but this type of configuration is not fault tolerant. When there is a change in the network or a failure occurs between two statically defined nodes, traffic will not be rerouted. This means that anything that wishes to take an affected path will either have to wait for the failure to be repaired or the static route to be updated by the administrator before restarting its journey. Most requests will time out (ultimately failing) before these repairs can be made. There are, however, times when static routes can improve the performance of a network. Some of these include stub networks and default routes.

Example

To configure a static route to network 10.10.20.0/24, pointing to a next-hop router with the IP address of 192.168.100.1, type: (Note that this example is written in the Cisco IOS command line syntax and will only work on certain Cisco routers)

Destination network 10.10.20.0
subnet 255.255.255.0
next-hop 192.168.100.1


Router(config)# ip route 10.10.20.0 255.255.255.0 192.168.100.1

The other option is to define a static route with reference to the outgoing interface which is connected to the next hop towards the destination network.

Destination network 10.10.20.0
subnet 255.255.255.0
next-hop Serial interface 0/0 (local exit)


Router(config)# ip route 10.10.20.0 255.255.255.0 Serial 0/0

Pranala Menarik