KODE DFP HEAD Static Routing | Programming And Networking

YM

Link

IKLAN ADSENSE BAWAH SIDEBAR (250X250)

Static Routing



Routing Static

  • Input or register terubung network address that is not directly (directly connected). Administrative distance (level of trust network address in routing table) is 1. In static routing must be determined at the packet (packet flow) for routing to convergence (valid). This example packet routing direction clockwise.
  • Software that I use cisco packet tracer v.5.3
  • The following step - step configuration of each Roter :

    R1 :

    R1>en

    R1#conf t

    Enter configuration commands, one per line. End with CNTL/Z.

    R1(config)#ip route 192.168.2.0 255.255.255.0 10.1.1.2

    R1(config)#ip route 10.1.1.4 255.255.255.252 10.1.1.2

    R1(config)#ip route 192.168.3.0 255.255.255.0 10.1.1.2

    R2 :

    R2>en

    R2#conf t

    Enter configuration commands, one per line. End with CNTL/Z.

    R2(config)#ip route 192.168.3.0 255.255.255.0 10.1.1.6

    R2(config)#ip route 10.1.1.8 255.255.255.252 10.1.1.6

    R2(config)#ip route 192.168.1.0 255.255.255.0 10.1.1.6

    R3 :

    R3>en

    R3#conf t

    Enter configuration commands, one per line. End with CNTL/Z.

    R3(config)#ip route 192.168.1.0 255.255.255.0 10.1.1.10

    R3(config)#ip route 10.1.1.0 255.255.255.252 10.1.1.10

    R3(config)#ip route 192.168.2.0 255.255.255.0 10.1.1.10

    Routing table

    R1 :

    R1#sh ip route

    Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

    D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

    N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

    E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

    i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

    * - candidate default, U - per-user static route, o - ODR

    P - periodic downloaded static route

    Gateway of last resort is not set

    10.0.0.0/30 is subnetted, 3 subnets

    C 10.1.1.0 is directly connected, Serial2/0

    S 10.1.1.4 [1/0] via 10.1.1.2

    C 10.1.1.8 is directly connected, Serial3/0

    C 192.168.1.0/24 is directly connected, FastEthernet0/0

    S 192.168.2.0/24 [1/0] via 10.1.1.2

    S 192.168.3.0/24 [1/0] via 10.1.1.2

    R2 :

    R2#sh ip route

    Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

    D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

    N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

    E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

    i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

    * - candidate default, U - per-user static route, o - ODR

    P - periodic downloaded static route

    Gateway of last resort is not set

    10.0.0.0/30 is subnetted, 3 subnets

    C 10.1.1.0 is directly connected, Serial2/0

    C 10.1.1.4 is directly connected, Serial3/0

    S 10.1.1.8 [1/0] via 10.1.1.6

    S 192.168.1.0/24 [1/0] via 10.1.1.6

    C 192.168.2.0/24 is directly connected, FastEthernet0/0

    S 192.168.3.0/24 [1/0] via 10.1.1.6

    R3 :

    R3#sh ip route

    Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

    D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

    N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

    E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

    i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

    * - candidate default, U - per-user static route, o - ODR

    P - periodic downloaded static route

    Gateway of last resort is not set

    10.0.0.0/30 is subnetted, 3 subnets

    S 10.1.1.0 [1/0] via 10.1.1.10

    C 10.1.1.4 is directly connected, Serial3/0

    C 10.1.1.8 is directly connected, Serial2/0

    S 192.168.1.0/24 [1/0] via 10.1.1.10

    S 192.168.2.0/24 [1/0] via 10.1.1.10

    C 192.168.3.0/24 is directly connected, FastEthernet0/0

    Testing koneksi (PING)

    R1 à PC 2 :

    R1#ping 192.168.2.2

    Type escape sequence to abort.

    Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:

    !!!!!

    Success rate is 100 percent (5/5), round-trip min/avg/max = 46/68/93 ms

    R1 à PC 3 :

    R1#ping 192.168.3.2

    Type escape sequence to abort.

    Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds:

    !!!!!

    Success rate is 100 percent (5/5), round-trip min/avg/max = 78/103/125 ms

    R3 à PC1 :

    R3#ping 192.168.1.2

    Type escape sequence to abort.

    Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:

    !!!!!

    Success rate is 100 percent (5/5), round-trip min/avg/max = 62/84/110 ms

    R3 à PC2 :

    R3#ping 192.168.2.2

    Type escape sequence to abort.

    Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:

    !!!!!

    Success rate is 100 percent (5/5), round-trip min/avg/max = 78/97/125 ms


Download Cisco Packet Tracer :

hotfile.com/dl/81147380/9b3dffd/PacketTracer5218.tar.gz.html

hotfile.com/dl/81147381/16a4ca4/PacketTracer5218_i386_installer-deb.bin.html

hotfile.com/dl/81147382/ab772f7/PacketTracer5218_i386_installer-rpm.bin.html

hotfile.com/dl/81147404/53d9cef/PacketTracer5218_no_tutorials_i386_installer-deb.bin.html

hotfile.com/dl/81148288/df028d9/PacketTracer5218_no_tutorials_i386_installer-rpm.bin.html

hotfile.com/dl/81148684/0729a15/PacketTracer5218_setup.exe.html

hotfile.com/dl/81148734/8162ab5/PacketTracer5218_setup_no_tutorials.exe.html

hotfile.com/dl/81148749/bc7ca56/PacketTracer531_Fedora.tar.gz.html

hotfile.com/dl/81149083/902f497/PacketTracer531_i386_installer-deb.bin.html

hotfile.com/dl/81149293/5317b24/PacketTracer531_i386_installer-rpm.bin.html

hotfile.com/dl/81149777/af880e1/PacketTracer531_i386_no_tutorials_installer-deb.bin.html

hotfile.com/dl/81150297/7435771/PacketTracer531_i386_no_tutorials_installer-rpm.bin.html

hotfile.com/dl/81150621/3ab366d/PacketTracer531_setup.exe.html

hotfile.com/dl/81150708/025d779/PacketTracer531_setup_no_tutorials.exe.html