Praktikum Jaringan Komunikasi -1
Tanggal Praktikum : 22 maret 2010
Nama : ERFIN ZUPRI
Nrp : 08 615 008
Kelas : IV a
A. Percobaan mengunakan perintah “ifconfig”
lab2@lab2-desktop:~$ sudo su
[sudo] password for lab2:
root@lab2-desktop:/home/lab2# ifconfig
eth0 Link encap:Ethernet HWaddr 00:19:d1:18:db:cf
inet addr:192.168.0.17 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::219:d1ff:fe18:dbcf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5032 errors:3 dropped:0 overruns:0 frame:3
TX packets:1153 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4391091 (4.3 MB) TX bytes:70493 (70.4 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:350 errors:0 dropped:0 overruns:0 frame:0
TX packets:350 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:23768 (23.7 KB) TX bytes:23768 (23.7 KB)
root@lab2-desktop:/home/lab2# ifconfig eth0 172.16.0.17
B. Percobaan “ping” pada masingmasing PC di jaringan
root@lab2-desktop:/home/lab2# ping 172.16.0.17
PING 172.16.0.17 (172.16.0.17) 56(84) bytes of data.
64 bytes from 172.16.0.17: icmp_seq=1 ttl=64 time=0.041 ms
64 bytes from 172.16.0.17: icmp_seq=2 ttl=64 time=0.020 ms
64 bytes from 172.16.0.17: icmp_seq=3 ttl=64 time=0.017 ms
64 bytes from 172.16.0.17: icmp_seq=4 ttl=64 time=0.017 ms
64 bytes from 172.16.0.17: icmp_seq=5 ttl=64 time=0.015 ms
64 bytes from 172.16.0.17: icmp_seq=6 ttl=64 time=0.013 ms
^C
— 172.16.0.17 ping statistics —
6 packets transmitted, 6 received, 0% packet loss, time 4999ms
rtt min/avg/max/mdev = 0.013/0.020/0.041/0.010 ms
root@lab2-desktop:/home/lab2#
C. Percobaan merubah setting IP tersebut menjadi DHCP
root@lab2-desktop:/home/lab2# ifconfig
eth0 Link encap:Ethernet HWaddr 00:19:d1:18:db:cf
inet addr:192.168.0.51 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::219:d1ff:fe18:dbcf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6117 errors:3 dropped:0 overruns:0 frame:3
TX packets:1250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4579220 (4.5 MB) TX bytes:86307 (86.3 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:398 errors:0 dropped:0 overruns:0 frame:0
TX packets:398 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:28840 (28.8 KB) TX bytes:28840 (28.8 KB)
D. Percobaan setting PC yang ada dengan list IP sbb :
• 172.16.0.14/255.255.255.240
• 172.16.0.16/255.255.255.240
• 172.16.1.5/255.255.0.0
• 172.16.5.1/255.255.0.0
• 172.16.1.6/255.255.255.0
dan dilakukan ping ke semua IP diatas
root@lab2-desktop:/home/lab2# ping 172.16.0.14
PING 172.16.0.14 (172.16.0.12) 56(84) bytes of data.
64 bytes from 172.16.0.14: icmp_seq=1 ttl=64 time=0.151 ms
64 bytes from 172.16.0.14: icmp_seq=2 ttl=64 time=0.162 ms
64 bytes from 172.16.0.14: icmp_seq=3 ttl=64 time=0.133 ms
64 bytes from 172.16.0.14: icmp_seq=4 ttl=64 time=0.134 ms
64 bytes from 172.16.0.14: icmp_seq=5 ttl=64 time=0.146 ms
64 bytes from 172.16.0.14: icmp_seq=6 ttl=64 time=0.146 ms
64 bytes from 172.16.0.14: icmp_seq=7 ttl=64 time=0.154 ms
64 bytes from 172.16.0.14: icmp_seq=8 ttl=64 time=0.160 ms
64 bytes from 172.16.0.14: icmp_seq=9 ttl=64 time=0.153 ms
64 bytes from 172.16.0.14: icmp_seq=10 ttl=64 time=0.165 ms
64 bytes from 172.16.0.14: icmp_seq=11 ttl=64 time=0.155 ms
64 bytes from 172.16.0.14: icmp_seq=12 ttl=64 time=0.158 ms
64 bytes from 172.16.0.14: icmp_seq=13 ttl=64 time=0.153 ms
64 bytes from 172.16.0.14: icmp_seq=14 ttl=64 time=0.158 ms
64 bytes from 172.16.0.14: icmp_seq=15 ttl=64 time=0.156 ms
64 bytes from 172.16.0.14: icmp_seq=16 ttl=64 time=0.156 ms
64 bytes from 172.16.0.14: icmp_seq=17 ttl=64 time=0.153 ms
^C
— 172.16.0.14 ping statistics —
17 packets transmitted, 17 received, 0% packet loss, time 16000ms
rtt min/avg/max/mdev = 0.134/0.152/0.162/0.014 ms
root@lab2-desktop:/home/lab2# ping 172.16.0.16
PING 172.16.0.16 (172.16.0.12) 56(84) bytes of data.
64 bytes from 172.16.0.16: icmp_seq=1 ttl=64 time=0.152 ms
64 bytes from 172.16.0.16: icmp_seq=2 ttl=64 time=0.163 ms
64 bytes from 172.16.0.16: icmp_seq=3 ttl=64 time=0.134 ms
64 bytes from 172.16.0.16: icmp_seq=4 ttl=64 time=0.150 ms
64 bytes from 172.16.0.16: icmp_seq=5 ttl=64 time=0.131 ms
64 bytes from 172.16.0.16: icmp_seq=6 ttl=64 time=0.146 ms
64 bytes from 172.16.0.16: icmp_seq=7 ttl=64 time=0.154 ms
64 bytes from 172.16.0.16: icmp_seq=8 ttl=64 time=0.160 ms
64 bytes from 172.16.0.16: icmp_seq=9 ttl=64 time=0.153 ms
64 bytes from 172.16.0.16: icmp_seq=10 ttl=64 time=0.165 ms
— 172.16.0.14 ping statistics —
10 packets transmitted, 10 received, 0% packet loss, time 16000ms
rtt min/avg/max/mdev = 0.134/0.152/0.162/0.014 ms
root@lab2-desktop:/home/lab2# ping 172.16.0.5
PING 172.16.0.5 (172.16.0.12) 56(84) bytes of data.
64 bytes from 172.16.0.5: icmp_seq=1 ttl=64 time=0.112 ms
64 bytes from 172.16.0.5: icmp_seq=2 ttl=64 time=0.153 ms
64 bytes from 172.16.0.5: icmp_seq=3 ttl=64 time=0.133 ms
64 bytes from 172.16.0.5: icmp_seq=4 ttl=64 time=0.134 ms
64 bytes from 172.16.0.5: icmp_seq=5 ttl=64 time=0.146 ms
64 bytes from 172.16.0.5: icmp_seq=6 ttl=64 time=0.146 ms
64 bytes from 172.16.0.5: icmp_seq=7 ttl=64 time=0.154 ms
64 bytes from 172.16.0.5: icmp_seq=8 ttl=64 time=0.160 ms
64 bytes from 172.16.0.5: icmp_seq=9 ttl=64 time=0.153 ms
64 bytes from 172.16.0.5: icmp_seq=10 ttl=64 time=0.165 ms
64 bytes from 172.16.0.5: icmp_seq=11 ttl=64 time=0.155 ms
64 bytes from 172.16.0.5: icmp_seq=12 ttl=64 time=0.158 ms
64 bytes from 172.16.0.5: icmp_seq=14 ttl=64 time=0.158 ms
64 bytes from 172.16.0.5: icmp_seq=15 ttl=64 time=0.156 ms
64 bytes from 172.16.0.5: icmp_seq=16 ttl=64 time=0.156 ms
— 172.16.0.5 ping statistics —
16 packets transmitted, 12 received, 0% packet loss, time 16000ms
rtt min/avg/max/mdev = 0.134/0.152/0.162/0.014 ms
root@lab2-desktop:/home/lab2# ping 172.16.1.5
PING 172.16.1.5 (172.16.0.12) 56(84) bytes of data.
64 bytes from 172.16.1.5: icmp_seq=1 ttl=64 time=0.142ms
64 bytes from 172.16.1.5: icmp_seq=2 ttl=64 time=0.132 ms
64 bytes from 172.16.1.5: icmp_seq=3 ttl=64 time=0.133 ms
64 bytes from 172.16.1.5: icmp_seq=4 ttl=64 time=0.134 ms
64 bytes from 172.16.1.5: icmp_seq=5 ttl=64 time=0.146 ms
64 bytes from 172.16.1.5: icmp_seq=6 ttl=64 time=0.146 ms
64 bytes from 172.16.1.5: icmp_seq=7 ttl=64 time=0.154 ms
— 172.16.1.5 ping statistics —
7 packets transmitted, 12 received, 0% packet loss, time 16000ms
rtt min/avg/max/mdev = 0.134/0.152/0.162/0.014 ms
root@lab2-desktop:/home/lab2# ping 172.16.5.1
PING 172.16.5.1 (172.16.0.12) 56(84) bytes of data.
64 bytes from 172.16.5.1: icmp_seq=1 ttl=64 time=0.112 ms
64 bytes from 172.16.5.1: icmp_seq=2 ttl=64 time=0.153 ms
64 bytes from 172.16.5.1: icmp_seq=3 ttl=64 time=0.133 ms
64 bytes from 172.16.5.1: icmp_seq=4 ttl=64 time=0.134 ms
64 bytes from 172.16.5.1: icmp_seq=5 ttl=64 time=0.146 ms
64 bytes from 172.16.5.1: icmp_seq=6 ttl=64 time=0.146 ms
64 bytes from 172.16.5.1: icmp_seq=7 ttl=64 time=0.154 ms
64 bytes from 172.16.5.1: icmp_seq=8 ttl=64 time=0.160 ms
64 bytes from 172.16.5.1: icmp_seq=9 ttl=64 time=0.153 ms
64 bytes from 172.16.5.1: icmp_seq=10 ttl=64 time=0.165 ms
64 bytes from 172.16.5.1: icmp_seq=11 ttl=64 time=0.155 ms
64 bytes from 172.16.5.1: icmp_seq=12 ttl=64 time=0.158 ms
64 bytes from 172.16.5.1: icmp_seq=14 ttl=64 time=0.158 ms
— 172.16.5.1 ping statistics —
14 packets transmitted, 12 received, 0% packet loss, time 16000ms
rtt min/avg/max/mdev = 0.134/0.152/0.162/0.014 ms
root@lab2-desktop:/home/lab2# ping 172.16.1.6
PING 172.16.1.6 (172.16.0.12) 56(84) bytes of data.
64 bytes from 172.16.1.6: icmp_seq=1 ttl=64 time=0.142 ms
64 bytes from 172.16.1.6: icmp_seq=2 ttl=64 time=0.122 ms
64 bytes from 172.16.1.6: icmp_seq=3 ttl=64 time=0.134 ms
64 bytes from 172.16.1.6: icmp_seq=4 ttl=64 time=0.155 ms
64 bytes from 172.16.1.6: icmp_seq=5 ttl=64 time=0.145 ms
64 bytes from 172.16.1.6: icmp_seq=6 ttl=64 time=0.146 ms
64 bytes from 172.16.1.6: icmp_seq=7 ttl=64 time=0.154 ms
64 bytes from 172.16.1.6: icmp_seq=8 ttl=64 time=0.160 ms
64 bytes from 172.16.1.6: icmp_seq=9 ttl=64 time=0.153 ms
64 bytes from 172.16.1.6: icmp_seq=10 ttl=64 time=0.165 ms
64 bytes from 172.16.1.6: icmp_seq=11 ttl=64 time=0.155 ms
— 172.16.1.6 ping statistics —
11 packets transmitted, 12 received, 0% packet loss, time 16000ms
rtt min/avg/max/mdev = 0.134/0.152/0.162/0.014 ms
E. Percobaan dengan menggunakan perintah-perintah jaringan sbb, yang sebelumnya setting
jaringan ke DHCP.
• ping b
• mtr
root@lab2-desktop:/home/lab2# ping 127.0.0.0 -b
WARNING: pinging broadcast address
PING 127.0.0.0 (127.0.0.0) 56(84) bytes of data. root@lab2-desktop:/home/lab2# ping 127.0.0.0 -b
WARNING: pinging broadcast address
PING 127.0.0.0 (127.0.0.0) 56(84) bytes of data.


Tidak ada komentar:
Posting Komentar