praktikum2 komdat_ basic command prompt & sharing file in windows
TRANSCRIPT
LAPORAN PRAKTIKUM 2
“Diajukan untuk memenuhi tugas mata kuliah
Praktikum Komunikasi Data”
JEFRI FAHRIAN
NIM 112103006
PROGRAM STUDI TEKNIK INFORMATIKA
FAKULTAS ILMU REKAYASA
UNIVERSITAS PARAMADINA
2012
PRAKTIKUM COMMAND PROMPT
Dalam praktikum2 ini kami belajar perintah – perintah command promt, antara lain:
Ping : untuk mengecek konektivitas jaringan
Ping –t <tujuan> : untuk mengecek koneksi secara simultan (biasanya jika koneksi ke
internet putus nyambung)
Ipconfig : fungsinya untuk mengetahui IP addreass computer
C:\Users\Mahasiswa>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::d547:9e34:2fb1:2b16%10
IPv4 Address. . . . . . . . . . . : 192.168.101.32
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.101.1
Tunnel adapter isatap.{BEBFD722-FBF6-4110-B15E-0CC5E6149E49}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:5:33ff:3f57:9adf
Link-local IPv6 Address . . . . . : fe80::5:33ff:3f57:9adf%11
Default Gateway . . . . . . . . . : ::
C:\Users\Mahasiswa>
C:\Users\Mahasiswa>ping 192.168.101.2
Pinging 192.168.101.2 with 32 bytes of data:
Reply from 192.168.101.2: bytes=32 time<1ms TTL=128
Reply from 192.168.101.2: bytes=32 time=1ms TTL=128
Reply from 192.168.101.2: bytes=32 time=1ms TTL=128
Reply from 192.168.101.2: bytes=32 time=1ms TTL=128
Ping statistics for 192.168.101.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
C:\Users\Mahasiswa>
Ipconfig all : fungsinya untuk mengetahui informasi detil mengenai hostname, status ip
address detil, DHCP, dsb.
C:\Users\Mahasiswa>ipconfig/all
Windows IP Configuration
Host Name . . . . . . . . . . . . : Labkom-A32
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) 82578DC Gigabit Network
Connecti
on
Physical Address. . . . . . . . . : 70-71-BC-F1-6E-63
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::d547:9e34:2fb1:2b16%10(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.101.32(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 27 Februari 2013 10:45:02
Lease Expires . . . . . . . . . . : 27 Februari 2013 13:15:01
Default Gateway . . . . . . . . . : 192.168.101.1
DHCP Server . . . . . . . . . . . : 192.168.101.1
DHCPv6 IAID . . . . . . . . . . . : 242250172
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-16-F3-41-37-70-71-BC-F1-6E-
63
DNS Servers . . . . . . . . . . . : 192.168.101.1
202.149.84.34
202.149.87.250
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter isatap.{BEBFD722-FBF6-4110-B15E-0CC5E6149E49}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . :
2001:0:4137:9e76:5:33ff:3f57:9adf(Preferr
ed)
Link-local IPv6 Address . . . . . : fe80::5:33ff:3f57:9adf%11(Preferred)
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled
C:\Users\Mahasiswa>
nslookup : fungsinya digunakan untuk melihat informasi seputar Domain Name Systems (DNS)
pada sebuah domain di internet/intranet.
Ping -h : fungsinya untuk menampilkan bantuan yang berhubungan dengan perintah ping
Tracert : fungsinya untuk mengetahui rute perjalanan data melalui paket-paket data yang dikirim ke
host (server) melalui media di Internet atau jaringan komputer.
C:\Users\Mahasiswa>nslookup www.google.com
Server: lab-a.paramadina.ac.id
Address: 192.168.101.1
Non-authoritative answer:
Name: www.google.com
Addresses: 2404:6800:4007:800::1010
74.125.236.52
74.125.236.48
74.125.236.49
74.125.236.50
74.125.236.51
C:\Users\Mahasiswa>ping -h
Bad option -h.
Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-list]]
[-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name
Options:
-t Ping the specified host until stopped.
To see statistics and continue - type Control-Break;
To stop - type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet (IPv4-only).
-i TTL Time To Live.
-v TOS Type Of Service (IPv4-only. This setting has been deprecated
and has no effect on the type of service field in the IP
Head
er).
-r count Record route for count hops (IPv4-only).
-s count Timestamp for count hops (IPv4-only).
-j host-list Loose source route along host-list (IPv4-only).
-k host-list Strict source route along host-list (IPv4-only).
-w timeout Timeout in milliseconds to wait for each reply.
-R Use routing header to test reverse route also (IPv6-only).
-S srcaddr Source address to use.
-4 Force using IPv4.
-6 Force using IPv6.
Perintah lainnya:
Perintah Fungsi
cd Berpindah ke sebuah folder tertentu
dir <nama folder>
Menampilkan daftar file/folder dari sebuah
drive
md <nama folder>
Membuat folder baru
copy <nama file> direktori tujuan Menyalin file ke folder lain
move <nama file> direktori tujuan
Memindahkan file ke folder lain
del <nama file>
Menghapus file
PRAKTIKUM SHARING DATA
A. ALAT DAN BAHAN
Dalam praktikum sharing data alat dan bahan yang diperlukan adalah sebagai berikut :
1. Kabel UTP (cross) 1 meter
2. Laptop 2 buah
B. TOPOLOGI JARINGAN
C. LANGKAH KERJA
Berikut langkah kerja dalam praktikum sharing data :
1. Siapkan semua alat dan bahan yang diperlukan
2. Berdoa untuk keselamatan
3. Nyalakan kedua laptop
4. Hubungkan kedua laptop dengan kabel UTP cross.
5. Jika sedang memakai wifi, silahkan di disable dulu.
6. Pada pojok kanan taskbar, klik ikon Network. Lalu klik “Open Network and Data
Sharing Center”.
LAPTOP 2
IP : 192.168.101.2/24
LAPTOP 1
IP : 192.168.101.1/24
7. Klik “Change adapter settings”.
8. Aktifkan koneksi LAN. Klik kanan pada “Local Area Connection”, kemudian pilih
Enable.
9. Kemudian atur IP address, dengan cara klik kanan lalu pilih properties.
10. Klik pada “Internet Protocol Version 4 (TCP/IPV4)”
11. Atur settingan IP address laptop1 seperti berikut:
12. Atur settingan IP address laptop2 seperti berikut:
13. Untuk mengecek koneksi 2 laptop, lakukan ping pada command prompt:
Ping ke laptop 1
C:\Users\Mahasiswa>ping 192.168.101.2
Pinging 192.168.101.2 with 32 bytes of data:
Reply from 192.168.101.2: bytes=32 time<1ms TTL=128
Reply from 192.168.101.2: bytes=32 time=1ms TTL=128
Reply from 192.168.101.2: bytes=32 time=1ms TTL=128
Reply from 192.168.101.2: bytes=32 time=1ms TTL=128
Ping statistics for 192.168.101.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
C:\Users\Mahasiswa>
Ping ke laptop 2
14. Jika kedua laptop sudah saling terhubung, pada pojok kanan taskbar, klik ikon
Network. Lalu klik “Open Network and Data Sharing Center”.
Klik “Choose homegroup and sharing options”.
C:\Users\Mahasiswa>ping 192.168.101.1
Pinging 192.168.101.1 with 32 bytes of data:
Reply from 192.168.101.1: bytes=32 time<1ms TTL=128
Reply from 192.168.101.1: bytes=32 time=1ms TTL=128
Reply from 192.168.101.1: bytes=32 time=1ms TTL=128
Reply from 192.168.101.1: bytes=32 time=1ms TTL=128
Ping statistics for 192.168.101.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
C:\Users\Mahasiswa>
15. Kemudian klik “Change advanced sharing options”.
Konfigurasi yang dilakukan adalah sebagai berikut:
Jangan lupa klik “Save changes” untuk menyimpan konfigurasi.
16. Sekarang saatnya share folder/file yang diinginkan. Pilih folder tersebut lalu klik
kanan > pilih “Share with” > pilih “Specific people”.
17. Selanjutnya pilih dengan siapa folder/file tersebut di share. Pada kasus ini, pilih
“Everyone”. Jangan lupa klik Share.
18. Untuk mengakses folder yang di sharing, silahkan masuk pada Mycomputer , lalu klik
Network.