Tugas Jarkom
Routing Static
1.C:\>ipconfig = Menampilkan IP Address Subnet Mask dan Default Gateway Pada Sebuah Komputer.
Seperti di bawah ini :
PC-PT Host A
IP Address......................: 10.1.4.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 0.0.0.0
PC-PT Host B
IP Address......................: 10.1.9.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 0.0.0.0
2. PC-PT Host A
IP Address......................: 10.1.4.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 10.1.4.1
PC-PT Host B
IP Address......................: 10.1.9.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 10.1.9.1
3. Host A Ke Router A (RA)
PC>ping 10.1.4.1
Pinging 10.1.4.1 with 32 bytes of data:
Reply from 10.1.4.1: bytes=32 time=36ms TTL=255
Reply from 10.1.4.1: bytes=32 time=42ms TTL=255
Reply from 10.1.4.1: bytes=32 time=33ms TTL=255
Reply from 10.1.4.1: bytes=32 time=36ms TTL=255
Ping statistics for 10.1.4.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 33ms, Maximum = 42ms, Average = 36ms
PC>ping 10.1.5.1
Pinging 10.1.5.1 with 32 bytes of data:
Reply from 10.1.5.1: bytes=32 time=35ms TTL=255
Reply from 10.1.5.1: bytes=32 time=43ms TTL=255
Reply from 10.1.5.1: bytes=32 time=44ms TTL=255
Reply from 10.1.5.1: bytes=32 time=43ms TTL=255
Ping statistics for 10.1.5.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Host A Ke Router B (RB)
PC>ping 10.1.5.2
Pinging 10.1.5.2 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 10.1.5.2:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
PC>ping 10.1.7.1
Pinging 10.1.7.1 with 32 bytes of data:
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Ping statistics for 10.1.7.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
PC>ping 10.1.6.1
Pinging 10.1.6.1 with 32 bytes of data:
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Ping statistics for 10.1.6.1:
Host A Ke Router C (RC)
PC>ping 10.1.7.2
Pinging 10.1.7.2 with 32 bytes of data:
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Ping statistics for 10.1.7.2:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
PC>ping 10.1.8.1
Pinging 10.1.8.1 with 32 bytes of data:
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Ping statistics for 10.1.8.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Host A Ke Router D (RD)
PC>ping 10.1.8.2
Pinging 10.1.8.2 with 32 bytes of data:
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Ping statistics for 10.1.8.2:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
PC>ping 10.1.6.2
Pinging 10.1.6.2 with 32 bytes of data:
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Ping statistics for 10.1.6.2:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
PC>ping 10.1.9.1
Pinging 10.1.9.1 with 32 bytes of data:
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Ping statistics for 10.1.9.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Host A Ke Host B
PC>ping 10.1.9.2
Pinging 10.1.9.2 with 32 bytes of data:
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Reply from 10.1.4.1: Destination host unreachable.
Ping statistics for 10.1.9.2:
4. Konfigurasi Router A (RA)
Router(config-if)#conf t
%Invalid hex value
Router(config)#int fa0/0
Router(config-if)#
Router(config-if)#ip address 10.1.4.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int fa0/1
Router(config-if)#ip address 10.1.5.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#sh ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.4.1 YES manual up up
FastEthernet0/1 10.1.5.1 YES manual up up
down down
Router#show ip route = Menampilkan Code Di Bawah ini :
Router#show 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/24 is subnetted, 2 subnets
C 10.1.4.0 is directly connected, FastEthernet0/0
C 10.1.5.0 is directly connected, FastEthernet0/1
5.
A.Konfigurasi Router A
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#ip route 10.1.6.0 255.255.255.0 10.1.5.2
Router(config)#ip route 10.1.7.0 255.255.255.0 10.1.5.2
Router(config)#ip route 10.1.8.0 255.255.255.0 10.1.5.2
Router(config)#ip route 10.1.9.0 255.255.255.0 10.1.5.2
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#show 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/24 is subnetted, 6 subnets
C 10.1.4.0 is directly connected, FastEthernet0/0
C 10.1.5.0 is directly connected, FastEthernet0/1
S 10.1.6.0 [1/0] via 10.1.5.2
S 10.1.7.0 [1/0] via 10.1.5.2
S 10.1.8.0 [1/0] via 10.1.5.2
S 10.1.9.0 [1/0] via 10.1.5.2
B. Konfigurasi Router B (RB)
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip address 10.1.5.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int fa0/1
Router(config-if)#ip address 10.1.7.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int eth 0/0/0
Router(config-if)#ip address 10.1.6.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#sh ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.5.2 YES manual up up
FastEthernet0/1 10.1.7.1 YES manual up up
Ethernet0/0/0 10.1.6.1 YES manual up up
Vlan1 unassigned YES manual administratively down down
Router#show 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/24 is subnetted, 3 subnets
C 10.1.5.0 is directly connected, FastEthernet0/0
C 10.1.6.0 is directly connected, Ethernet0/0/0
C 10.1.7.0 is directly connected, FastEthernet0/1
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 10.1.4.0 255.255.255.0 10.1.5.1
Router(config)#ip route 10.1.8.0 255.255.255.0 10.1.7.2
Router(config)#ip route 10.1.9.0 255.255.255.0 10.1.6.2
Route(config)#exit
Router#show 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/24 is subnetted, 6 subnets
S 10.1.4.0 [1/0] via 10.1.5.1
C 10.1.5.0 is directly connected, FastEthernet0/0
C 10.1.6.0 is directly connected, Ethernet0/0/0
C 10.1.7.0 is directly connected, FastEthernet0/1
S 10.1.8.0 [1/0] via 10.1.7.2
S 10.1.9.0 [1/0] via 10.1.6.2
0 komentar:
Posting Komentar