You are on page 1of 9

MANAJEMEN JARINGAN

Static Routing

Teknik Informatika
Semester Genap 2011/2012
SYAIFUL AHDAN

StaticRouting
Static routing is the process of an administrator manually adding routes in
each routers routing table. There are benefits and disadvantages to all
routing processes.
Static routing has the following benefits:

No overhead on the router CPU


No bandwidth usage between routers
Security (because the administrator only allows routing to certain networks)

Static routing
g has the following
g disadvantages:
g

The administrator must really understand the internetwork and how each router is
connected to configure the routes correctly.
If one network is added to the internetwork,
internetwork the administrator must add a route to it on all
routers.
Its not feasible in large networks because it would be a full-time job.

SYAIFUL AHDAN, S.KOM

StaticRouting
The command used to add a static route to a routing table is

ip route [destination_network] [mask][next_hop_address or


exitinterface] [administrative_distance][permanent]
p
ip route 192.168.10.0 255.255.255.0 192.168.20.2

SYAIFUL AHDAN, S.KOM

DescribeStaticRouting
The command used to add a static route to a routing table is
1.
1
2.
3.
4.

iip route
t The
Th command
d used
d to
t create
t the
th static
t ti route.
t
destination network The network you are placing in the routingtable.
mask Indicates the subnet mask being used on the network.
next hop address The address of the next hop router that will receivethe packet and
f
forward
d it to
t the
th remote
t network.
t
k This
Thi is
i a router
t interface
i t f
th t is
that
i on a directly
di tl
connected network. You must be able to ping the router interface before you add the
route.
5. exit interface Used in place of the next hop address if desired. Must be on a point-topoint link,
link such
s ch as a WAN.
WAN This command does not work
ork on a LAN;
LAN for example,
e ample
Ethernet.
6. administrative distance By default, static routes have an administrative distance of
1. You can change the default value by adding an administrative weight at the end of
the command.
command
7. permanent If the interface is shut down or the router cannot communicate to the next
hop router, the route is automatically discarded from the routing table. Choosing the
permanent option keeps the entry in the routing table no matter what happens.

SYAIFUL AHDAN, S.KOM

DesignNetwork

SYAIFUL AHDAN, S.KOM

ConfigurationStaticRouting
Static Routing
2621A(Config)#ip
2621A(Config)#ip
2621A(Config)#ip
2621A(Config)#ip

route
route
route
route

172.16.20.0
172.16.30.0
172.16.40.0
172.16.50.0

255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0

172.16.10.2
172.16.10.2
172.16.10.2
172.16.10.2

2501A(Config)#ip route 172.16.30.0 255.255.255.0 172.16.20.2


2501A(Config)#ip route 172.16.40.0 255.255.255.0 172.16.20.2
2501A(Config)#ip route 172.16.50.0 255.255.255.0 172.16.20.2
2501B(Config)#ip route 172.16.10.0 255.255.255.0 172.16.20.1
2501B(Config)#ip route 172.16.50.0 255.255.255.0 172.16.40.2
2501C(Config)#ip route 172.16.10.0 255.255.255.0 172.16.40.1
2501C(Config)#ip route 172.16.20.0 255.255.255.0 172.16.40.1
2501C(Config)#ip route 172.16.30.0 255.255.255.0 172.16.40.1

SYAIFUL AHDAN, S.KOM

DefaultRouting
Default routing is used to send packets with a remote destination network
not in the routing table to the next hop router. You can only use default
routingon stub networks, which means that they have only one exit port
out of the network.

SYAIFUL AHDAN, S.KOM

DesignNetwork

SYAIFUL AHDAN, S.KOM

Bibliografy
Lammle Todd , CCNA 640-802, (6th Edition)
http://cisco.netacad.net
http://cisco netacad net
http://www.cabrilo.net

2/25/12

SYAIFUL AHDAN, S.KOM