Laman

Kamis, 04 Oktober 2012

TUGAS JARKOM.2


 1.      Mengecek konektivitas ke host lain
Hasil tes ping ke IP adalah :
A.    PING 10.17.0.254 (10.17.0.254) 56(84) bytes of data.
64    bytes from 10.17.0.254 : icmp_req=1 ttl=255 time=0.553ms
--- 10.17.0.254 ping statistics ---
2        packets transmitted, 2 received, 0% packet loss, time 1001ms

PENJELASAN :
 bahwa data telah terkirim. Dengan waktu pengiriman 1001ms, 2 data yang  
 terkirim tanpa ada data yang hilang

B.     PING 10.10.1.1 (10.17.1.1) 56(84) bytes of data.
64    bytes from 10.10.1.1 : icmp_req=1 ttl=255 time=0.553ms
--- 10.17.1.1 ping statistics ---
4        packets transmitted, 4 received, 0% packet loss, time 3004ms

PENJELASAN :
bahwa data telah terkirim. Dengan waktu pengiriman 3004ms, 4 data yang 
terkirim tanpa ada data yang hilang

C.     PING 202.17.0.1 (202.17.0.1) 56(84) bytes of data.
64    bytes from 202.17.0.1: icmp_req=1 ttl=255 time=0.553ms
--- 202.17.0.1 ping statistics ---
2        packets transmitted, 2 received, 0% packet loss, time 1001ms

PENJELASAN :
bahwa data telah terkirim. Dengan waktu pengiriman 1001ms, 2 data yang 
terkirim tanpa ada data yang hilang

D.    PING 10.17.0.1 (10.17.0.1) 56(84) bytes of data.
64 bytes from 10.17.0.193 : icmp_seq=1 destination host unreachable
--- 10.17.0.1 ping statistics ---
5        packets transmitted, 0 received, +3errors, 100% packet loss, time 3004ms
pipe 3

PENJELASAN :
bahwa data tidak terkirim, dengan 3 paket data error, dengan waktu pengiriman 3004ms

E.     PING 10.17.4.2 (10.17.4.2) 56(84) bytes of data.
--- 10.17.1.1 ping statistics ---
(tidak mengeluarkan hasil)
IP yang dimasukkan tidak mengeluarkan hasil apa-apa

2.      Menganalisa rute paket host dan tujuan.
Traceroute
root@ubuntu:/home/kel2#Traceroute 10.17.0.254
Ø    Traceroute to 10.17.0.254(10.17.0.254),30 hops max, 60 byte packets
1.                   10.17.0.254(10.17.0.254) 0.503 ms **
root@ubuntu:/home/kel2#Traceroute 10.10.1.1
Ø    Traceroute to 10.10.1.1(10.10.1.1),30 hops maxs, 60 byte packets
1.                   10.17.0.254(10.17.0.254) 0,480 ms 0.987ms 1.205ms
2.                   10.2.6.1 (10.2.6.1)0.572ms 0.589ms 0.593ms
3.                   10.10.1.1(10.10.1.1) 0.393ms 0.395ms 0.394ms
root@ubuntu:/home/kel2#Traceroute 202.9.69.9
Ø    Traceroute 202.9.69.9(202.9.69.9)
1.                   10.17.0.254(10.17.0.254) 0.982ms 1.185ms 1.406ms
2.                   10.2.6.1(10.2.6.1) 0.529ms 0.547ms 0.548ms
root@ubuntu:/home/kel2#Traceroute 10.17.0.1
Ø    Traceroute 10.17.0.1(10.17.0.1)
1.                   10.17.0.193 (10.17.0.1) 3000.208ms !H 3000.200ms !H 3000.189ms !H
root@ubuntu:/home/kel2#Traceroute 10.17.4.2
Ø    Traceroute 10.17.2.3 (10.17.2.3)
1.                   10.17.0.254 (10.17.0.254) 0.578ms 2.012ms 2.230ms

3.        Menganalisa servis yang membuka port di komputer lokal.
root@ubuntu:/home/kel2# netstat –listenning |more
Active internet connections (w/o services)
Proto Recv-Q Send-Q Local Address Foreign Address State
Active UNIX domain sockets( w/o servers)
Proto    Ref Cnt Flags       Type               State                I_Node                        Patch
Unix     4               [ ]         DGRAM                                             6618                /dev/log
Unix     2               [ ]         DGRAM                                             7939                           
Unix     2               [ ]         DGRAM                                             7763   
Unix     2               [ ]         DGRAM                                             7492               
Unix     3               [ ]         STREAM        CONNECTED           7298                @/com/ubuntu/upstart           
Unix     3               []          STREAM        CONNECTED           7295               
Unix     3               []          DGRAM                                             6508               
Unix     3               []          DGRAM                                             6507               
Unix     3               []          STREAM        CONNECTED           6458                @/com/ubuntu/upstart
Unix     3               []          STREAM        CONNECTED           6454   

4.        Menganalisa servis yang membuka port dikomputer anda dengan perintah network mapper.
root@ubuntu:/home/kel2# nmap localhost
Starting Nmap 5.21 (http://nmap.0rg) at 2012-10-04 13.16 WIT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000135  latency)
All 1000 scanned Ports on Localhost (127.0.0.1) are closed
Nmap done : IP Address (1host up) Scanned in 0.19 seconds
                            
5.        Menganalisa IP asal, IP tujuan,port tujuan dalam sebuah koneksi.
-pada terminal 1
root@ubuntu:/home/kel2# ssh 202.9.69.2

password tidak di masukkan dan langsung pindah ke terminal 2, dan hasilnya :
root@ubuntu:/home/kel2#netstat | grep ESTABLISHED
tcp                        0          0          10.17.0.193:35003      lib.polsri.ac.id:ssh        ESTABLISHED

PENJELASAN :
IP asal Dan IP tujuan telah terhubung dalam sebuah koneksi. Saat masuk ke terminal 1 dengan perintah ctrl+alt+F1, akan diminta password. Namun setelah masuk pada terminal 2, tidak akan diminta password.

6.      Menganalisa IP asal, IP tujuan,port tujuan dalam sebuah koneksi.
Perintahnya:
root@ubuntu:/home/kel2#tcpdump -1 eth0

tcpdump: verbse output suppressed, use –v or –vv for full protected decode
listening on eth0,link-type EN10MB (Ethernet),capture size 65535 bytes
13:47:36.909228 IP6 feB0::a658:fc25:ee2f:a2ec:dhcpv6-client > ff02::1:2.dhcpv6-server:dhcp6 solicit
13:47:37.013431 IP 10.17.0.193.39008 >10.10.1.1domain: 8225+ PTR? 2.0.0.0.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.f.arpa. (90)
13:47:37.013927 IP 10.10.1.1domain >10.17.0.193.39008: 8225 NXDomain 0/0/0 (90)
13:47:37.014129 IP 10.17.0.193.32096 >10.10.1.1domain: 9323+ PTR? c.e.2.a.f.2.e.e.5.2.e.f.8.6.5.a.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.e.f.ip6.arpa. (90)
13:47:37.014408 IP 10.10.1.1domain >10.17.0.193.32896: 9323 NXDomain* 0/0/0 (90)
13:47:37.038319 10.17.0.193.32896> IP 10.10.1.1domain: 53801 + PTR? 1.1.10.10 in-addr.arpa. (40)
13:47:37.030615 IP 10.10.1.1domain >10.17.0.193.38273: 53801 NXDomain* 0/0/0 (40)
13:47:37.038319 10.17.0.193.47852> IP 10.10.1.1domain: 27363 + PTR? 193.0.17.10 in-addr.arpa. (42)
13:47:37.038978 IP 10.10.1.1domain >10.17.0.193.47852: 27363 NXDomain* 0/0/0 (42)
^C
9 packets captured
9 packets received by filter
0 packet dropped by kernel

Tidak ada komentar:

Posting Komentar