1. Baca bismillah
2. Siap siap snack
3. Siap siap obat sakit kepala
4. siapkan cd debian 1-7
1. Install bind9
#apt-get install bind9
2. File instalan akan berada di /etc/bind9
3. kopi file db.local menjadi db.arief
#cp db.local db.arief
4. kopi file db.127 menjadi db.192
#cp db.127 db.192
5. edit file db.arief
ubah kata localhost dengan nama domain yang diinginkan, misal arief.com
tambah diakhir skrip
@ IN NS arief.com
@ IN A 192.168.7.2
@ IN A 192.168.7.2
Nb: IP tersebut ialah IP yang kita jadikan default untuk IP server kita
6. edit file db.192
ubah localhost dengan nama domain, seperti diatas arief.com
edit dan tambahkan dibagian akhir
@ IN NS arief.com
2.7.168.192 IN PTR arief.com
7. edit file named.conf
cari bagian skrip seperti yang dibawah ini
zone "arief.com"{
type master;
file "/etc/bind/db.arief";
};
zone "192.in-addr.arpa"
type master;
file "/etc/bind/db.192";
};
8. edit file /etc/resolv.conf dengan tambahkan
nameserver 192.168.7.2
Selengkapnya...
1. Baca bismillah
2. Siap siap snack
3. Siap siap obat sakit kepala
4. siapkan cd debian 1-7
1. Install dhcp3-server dengan mengetikkan :
#apt-get install dhcp3-server
2. File berada di /etc/dhcp3/
edit file dhcpd.conf,
#nano /etc/dhcp3/dhcpd.conf
3. edit pada bagian
#A slightly different configuration for internal subnet
subnet 192.168.7.0 netmask 255.255.255.0;{
range 192.168.7.2 192.168.7.100;
option domain-name-server 192.168.7.2;
option domain-name arief.com;
option routers 192.168.7.2;
option broadcast-address 192.168.21.255;
default-lease-time 600;
max-lease-time 700;
}
3. simpan
4. ketik perintah
#/etc/init.d/dhcp3-server restart
5. gunakan laptop atau pc lainnya untuk mengecek apakah dhcp kamu sudah berjalan
6. kalo udah dapat IP silahkan beliin es teman2 anda.
Selengkapnya...
Sama dengan membuat router statik di posting sebelumnya, maka buat susunan router awal seperti dibawah ini...
Buat 3 buah router dengan konfigurasi awal sebagai berikut :
nb : buat dengan RouterPT-Empty dengan 2 FastEthernet dan 2 Serial
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastethernet 0/0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#interface fastethernet 1/0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
Router(config-if)#interface serial 2/0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#clock rate 9600
Router(config-if)#interface serial 3/0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial3/0, changed state to down
Router(config-if)#clock rate 9600
== KONFIGURASI IP ROUTER ==
Pada Router 1
Router>en
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastethernet 0/0
Router(config-if)#ip address 192.168.3.254 255.255.255.0
Router(config-if)#interface serial 2/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#interface serial 3/0
Router(config-if)#ip address 192.168.2.1 255.255.255.0
Pada Router 0
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastethernet 0/0
Router(config-if)#ip address 192.168.5.1 255.255.255.0
Router(config-if)#interface serial 2/0
Router(config-if)#ip address 192.168.1.254 255.255.255.0
Pada Router 2
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastethernet 0/0
Router(config-if)#ip address 192.168.4.1 255.255.255.0
Router(config-if)#interface serial 2/0
Router(config-if)#ip address 192.168.2.2 255.255.255.0
== KONFIGURASI PC ==
ROUTER 0
PC 1 : IP 192.168.5.2 GW 192.168.5.1
PC 2 : IP 192.168.5.3 GW 192.168.5.1
ROUTER 1
PC 1 : IP 192.168.3.1 GW 192.168.3.254
PC 2 : IP 192.168.3.2 GW 192.168.3.254
ROUTER 2
PC 1 : IP 192.168.4.2 GW 192.168.4.1
PC 2 : IP 192.168.4.3 GW 192.168.4.1
== KONFIGURASI RIP ROUTER ==
Router 0
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)# network 192.168.2.0
Router(config-router)# network 192.168.3.0
Router(config-router)# network 192.168.4.0
Router 1
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)# network 192.168.4.0
Router(config-router)# network 192.168.5.0
Router 2
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)# network 192.168.1.0
Router(config-router)# network 192.168.2.0
Router(config-router)# network 192.168.3.0
Router(config-router)# network 192.168.5.0
Selengkapnya...
Buat 3 buah router dengan konfigurasi awal sebagai berikut :
nb : buat dengan RouterPT-Empty dengan 2 FastEthernet dan 2 Serial
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastethernet 0/0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#interface fastethernet 1/0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
Router(config-if)#interface serial 2/0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#clock rate 9600
Router(config-if)#interface serial 3/0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial3/0, changed state to down
Router(config-if)#clock rate 9600
== KONFIGURASI IP ROUTER ==
Pada Router 1
Router>en
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastethernet 0/0
Router(config-if)#ip address 192.168.3.254 255.255.255.0
Router(config-if)#interface serial 2/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#interface serial 3/0
Router(config-if)#ip address 192.168.2.1 255.255.255.0
Pada Router 0
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastethernet 0/0
Router(config-if)#ip address 192.168.5.1 255.255.255.0
Router(config-if)#interface serial 2/0
Router(config-if)#ip address 192.168.1.254 255.255.255.0
Pada Router 2
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastethernet 0/0
Router(config-if)#ip address 192.168.4.1 255.255.255.0
Router(config-if)#interface serial 2/0
Router(config-if)#ip address 192.168.2.2 255.255.255.0
== KONFIGURASI ROUTER STATIK ==
Pada Router 1
Router>EN
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.2.2
Router(config)#ip route 192.168.5.0 255.255.255.0 192.168.1.254
Pada Router 0
Router>en
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.1.1
Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.1
Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.2.1
Pada Router 2
Router>en
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1
Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.2.1
Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.1
Router(config)#ip route 192.168.5.0 255.255.255.0 192.168.2.1
Router(config)#ip route 192.168.5.0 255.255.255.0 192.168.1.1
Sambungkan semua router dengan kabel serial DTE, peta sambungan jaringan seperti dibawah ini. lalu kemudian lakukan test ping.
== KONFIGURASI KLIEN ==
siapkan 2 buah klien masing-masing disetiap router yang ada. hubungkan router dengan memasukkan SwitchPT seperti pada gambar dibawah.
Koneksikan Router dengan SwitchPT dan PC dengan memakai 'automatically choose connection type' (otomatis pilih koneksi)
ROUTER 0
PC 1 : IP 192.168.5.2 GW 192.168.5.1
PC 2 : IP 192.168.5.3 GW 192.168.5.1
ROUTER 1
PC 1 : IP 192.168.3.1 GW 192.168.3.254
PC 2 : IP 192.168.3.2 GW 192.168.3.254
ROUTER 2
PC 1 : IP 192.168.4.2 GW 192.168.4.1
PC 2 : IP 192.168.4.3 GW 192.168.4.1
Dan lakukan test ping seperti biasanya.
Selengkapnya...
langkah langkahnya :
buat 4 buah router:
>> konfigurasi router
router 0
serial 2 : 192.168.2.254
serial 3 : 192.168.3.1
serial 4 : 192.168.4.1
serial 5 : 192.168.5.1
fast ethernet 1 : 192.168.16.254
router 1
serial 2 : 192.168.3.2
serial 3 : 192.168.6.2
router 2
serial 2 : 192.168.4.2
serial 3 : 192.168.6.3
serial 4 : 192.168.7.2
router 3
serial 2 : 192.168.5.2
serial 3 : 192.168.7.3
>>koneksi
serial3 router0 koneksikan dengan serial2 router1
serial4 router0 koneksikan dengan serial2 router2
serial5 router0 koneksikan dengan serial2 router3
serial3 router1 koneksikan dengan serial3 router2
serial4 router2 koneksikan dengan serial3 router3
nb: semua sambungan diatas gunakan kabel serial DTE
>> kemudian buat 1 buah switch PT
buat 3 buah PC
PC0 IP : 192.168.16.1
PC1 IP : 192.168.16.2
PC2 IP : 192.168.16.3
semua port di PC hubungkan di switch dan switch hubungkan ke router0 dengan automatically choose connection type.
>> memulai access list
disini kita akan mencoba memblok PC0, kita buka CLI di router0 dan ketikkan konfigurasi seperti ini :
Router(config)#interface fastethernet 0/0
Router(config-if)#ip access
Router(config-if)#ip access-group 1 in
Router(config-if)#exit
Router(config)#access
Router(config)#access-list 1 deny 192.168.16.1
Router(config)#access
Router(config)#access-list 1 permit any
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#
jadi, pc0 yang ber IP 192.168.16.1 telah di blok untuk tidak bisa melakukan ping ke router0 dan router0 tidak bisa melakukan ping ke pc0
tetapi pc0 masih masih bisa melakukan ping ke pc1 dan pc2,
untuk melihat apakah ada access list yang aktif, ketikkan :
Router#show access-lists
Standard IP access list 1
deny host 192.168.16.1 (3 match(es))
permit any (5 match(es))
Router#
untuk mencabut access-list, silahkan ketikkan :
router#configure terminal
router(config)#no access-list 1
Selengkapnya...
