4.1 static routing

Upload: hadi-riswandi

Post on 13-Apr-2018

237 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/26/2019 4.1 Static Routing

    1/9

    Static Routing

    Teknik Informatika

    SYAIFUL AHDAN

  • 7/26/2019 4.1 Static Routing

    2/9

    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

    Security (because the administrator only allows routing to certain networks)

    Static routing has the following disadvantages:

    The administrator must really understand the internetwork and how each router is

    connected to configure the routes correctly.

    ,

    routers.

    Its not feasible in large networks because it would be a full-time job.

    SYAIFUL AHDAN, S.KOM

  • 7/26/2019 4.1 Static Routing

    3/9

    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]_

    ip route192.168.10.0 255.255.255.0 192.168.20.2

    SYAIFUL AHDAN, S.KOM

  • 7/26/2019 4.1 Static Routing

    4/9

    DescribeStaticRouting

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

    . p rou e e comman use o crea e e s a c rou e.

    2. destination networkThe network you are placing in the routingtable.3. maskIndicates the subnet mask being used on the network.

    4. next hop addressThe address of the next hop router that will receivethe packet and

    orwar o e remo e ne wor . s s a rou er n er ace a s on a rec y

    connected network. You must be able to ping the router interface before you add the

    route.

    5. exit interfaceUsed in place of the next hop address if desired. Must be on a point-to-, u . w ; x ,

    Ethernet.

    6. administrative distanceBy default, static routes have an administrative distance of

    1. You can change the default value by adding an administrative weight at the end of

    .7. permanentIf 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

  • 7/26/2019 4.1 Static Routing

    5/9

    DesignNetwork

    SYAIFUL AHDAN, S.KOM

  • 7/26/2019 4.1 Static Routing

    6/9

    ConfigurationStaticRouting

    Static Routing

    2621A( Conf i g) #ip route 172.16.30.0 255.255.255.0 172.16.10.22621A( Conf i g) #ip route 172.16.40.0 255.255.255.0 172.16.10.22621A( Conf i g) #ip route 172.16.50.0 255.255.255.0 172.16.10.2

    2501A( Conf i g) #ip route 172.16.30.0 255.255.255.0 172.16.20.22501A( Conf i g) #ip route 172.16.40.0 255.255.255.0 172.16.20.2

    2501A( Conf i g) #ip route 172.16.50.0 255.255.255.0 172.16.20.2

    2501B( Conf i g) #ip route 172.16.10.0 255.255.255.0 172.16.20.12501B( Conf i g) #ip route 172.16.50.0 255.255.255.0 172.16.40.2

    2501C( Conf i g) #ip route 172.16.10.0 255.255.255.0 172.16.40.12501C( Conf i g) #ip route 172.16.20.0 255.255.255.0 172.16.40.12501C( Conf i g) #ip route 172.16.30.0 255.255.255.0 172.16.40.1

    SYAIFUL AHDAN, S.KOM

  • 7/26/2019 4.1 Static Routing

    7/9

    DefaultRouting

    Default routingis used to send packets with a remote destination network

    not in the routing table to the next hop router. You can only use default

    routin on stub networks which means that the have onl one exit ort

    out of the network.

    SYAIFUL AHDAN, S.KOM

  • 7/26/2019 4.1 Static Routing

    8/9

    DesignNetwork

    SYAIFUL AHDAN, S.KOM

  • 7/26/2019 4.1 Static Routing

    9/9

    Bibliografy

    Lammle Todd , CCNA 640-802, (6th Edition). .

    http://www.cabrilo.net

    SYAIFUL AHDAN, S.KOM2/25/12