Archive for September 2013
Minggu, 15 September 2013
1. Buatlah Rangkaian Seperti Ini
Dengan VLAN RPL 60 host, TKJ 80 host ANI, 30 host
2. Atur CLI Router Yang Menyambung Ke
SWITCH
Router>en
Router#config t
Router(config)#enable password smkn2sby ---> Terserah mau dikasih nama apa saja
Router(config)#line vty 0 4
Router(config-line)#password smkn2sby ---> Setting password untuk telnet router
Router(config-line)#login
Router(config-line)#exit
Router#config t
Router(config)#enable password smkn2sby ---> Terserah mau dikasih nama apa saja
Router(config)#line vty 0 4
Router(config-line)#password smkn2sby ---> Setting password untuk telnet router
Router(config-line)#login
Router(config-line)#exit
Langkah pemberian IP address sub-interface untuk masing2 VLAN
Router(config)#int f0/0
Router(config-if)#no shutdown ---> Perintah untuk mengaktifkan fast eth0/0
Router(config-if)#int f0/0.1 ----> Masuk ke mode sub-interface ditandai dgn config-subif
Router(config-subif)#encapsulation dot1q 1
Router(config-subif)#ip add 10.200.1.1 255.255.255.192 ----> Gateway untuk VLAN 1
Router(config-subif)#int f0/0.2
Router(config-subif)#encapsulation dot1q 2
Router(config-subif)#ip add 10.200.2.1 255.255.255.192 ----> Gateway untuk VLAN 2
Router(config-subif)#int f0/0.3
Router(config-subif)#encapsulation dot1q 3
Router(config-subif)#ip add 10.200.3.1 255.255.255.128 ----> Gateway untuk VLAN 3
Router(config-subif)#int f0/0.4
Router(config-subif)#encapsulation dot1q 4
Router(config-subif)#ip add 10.200.4.1 255.255.255.224 ----> Gateway untuk VLAN 4
Router(config)#end
Router#config t
Router(config)#int s0/0
Router(config-if)#ip add 11.200.30.1 255.255.255.192
Router(config-if)#clock rate 64000
Router(config-if)#bandwidth 2048
Router(config-if)#description IP Public ke Internet
Router(config-if)#no sh
Router(config-if)#
Langkah mengaktifkan Konfigurasi Dynamic Routing RIP version 2
Router(config-if)#router rip
Router(config-router)#network 11.200.30.0
Router(config-router)#network 10.200.1.0
Router(config-router)#network 10.200.2.0
Router(config-router)#network 10.200.3.0
Router(config-router)#network 10.200.4.0
Router(config-router)#version 2
Router(config-router)#no auto-summary
Router(config-router)#exit
Router(config)#end
Langkah mengaktifkan konfigurasi DHCP untuk masing2 VLAN
Router#
Router#config t
Router(config)#int f0/0.2
Router(config-subif)#ip dhcp pool RPL
Router(dhcp-config)#network 10.200.2.0 255.255.255.192
Router(dhcp-config)#default-router 10.200.2.1
Router(dhcp-config)#dns-server 12.200.30.1
Router(dhcp-config)#ip dhcp excluded-address 10.200.2.1 10.200.2.2
Router(config)#exit
Router#config t
Router(config)#int f0/0.3
Router(config-subif)#ip dhcp pool TKJ
Router(dhcp-config)#network 10.200.3.0 255.255.255.128
Router(dhcp-config)#default-router 10.200.3.1
Router(dhcp-config)#dns-server 12.200.30.1
Router(dhcp-config)#ip dhcp excluded-address 10.200.3.1 10.200.3.46
Router(config)#exit
Router#config t
Router(config)#int f0/0.4
Router(config-subif)#ip dhcp pool ANI
Router(dhcp-config)#network 10.200.4.0 255.255.255.224
Router(dhcp-config)#default-router 10.200.4.1
Router(dhcp-config)#dns-server 12.200.30.1
Router(dhcp-config)#exit
Router(config)#end
Router(config-if)#no shutdown ---> Perintah untuk mengaktifkan fast eth0/0
Router(config-if)#int f0/0.1 ----> Masuk ke mode sub-interface ditandai dgn config-subif
Router(config-subif)#encapsulation dot1q 1
Router(config-subif)#ip add 10.200.1.1 255.255.255.192 ----> Gateway untuk VLAN 1
Router(config-subif)#int f0/0.2
Router(config-subif)#encapsulation dot1q 2
Router(config-subif)#ip add 10.200.2.1 255.255.255.192 ----> Gateway untuk VLAN 2
Router(config-subif)#int f0/0.3
Router(config-subif)#encapsulation dot1q 3
Router(config-subif)#ip add 10.200.3.1 255.255.255.128 ----> Gateway untuk VLAN 3
Router(config-subif)#int f0/0.4
Router(config-subif)#encapsulation dot1q 4
Router(config-subif)#ip add 10.200.4.1 255.255.255.224 ----> Gateway untuk VLAN 4
Router(config)#end
Router#config t
Router(config)#int s0/0
Router(config-if)#ip add 11.200.30.1 255.255.255.192
Router(config-if)#clock rate 64000
Router(config-if)#bandwidth 2048
Router(config-if)#description IP Public ke Internet
Router(config-if)#no sh
Router(config-if)#
Langkah mengaktifkan Konfigurasi Dynamic Routing RIP version 2
Router(config-if)#router rip
Router(config-router)#network 11.200.30.0
Router(config-router)#network 10.200.1.0
Router(config-router)#network 10.200.2.0
Router(config-router)#network 10.200.3.0
Router(config-router)#network 10.200.4.0
Router(config-router)#version 2
Router(config-router)#no auto-summary
Router(config-router)#exit
Router(config)#end
Langkah mengaktifkan konfigurasi DHCP untuk masing2 VLAN
Router#
Router#config t
Router(config)#int f0/0.2
Router(config-subif)#ip dhcp pool RPL
Router(dhcp-config)#network 10.200.2.0 255.255.255.192
Router(dhcp-config)#default-router 10.200.2.1
Router(dhcp-config)#dns-server 12.200.30.1
Router(dhcp-config)#ip dhcp excluded-address 10.200.2.1 10.200.2.2
Router(config)#exit
Router#config t
Router(config)#int f0/0.3
Router(config-subif)#ip dhcp pool TKJ
Router(dhcp-config)#network 10.200.3.0 255.255.255.128
Router(dhcp-config)#default-router 10.200.3.1
Router(dhcp-config)#dns-server 12.200.30.1
Router(dhcp-config)#ip dhcp excluded-address 10.200.3.1 10.200.3.46
Router(config)#exit
Router#config t
Router(config)#int f0/0.4
Router(config-subif)#ip dhcp pool ANI
Router(dhcp-config)#network 10.200.4.0 255.255.255.224
Router(dhcp-config)#default-router 10.200.4.1
Router(dhcp-config)#dns-server 12.200.30.1
Router(dhcp-config)#exit
Router(config)#end
3. Kemudian Atur CLI Pada SWITCH
Konfigurasi Di Switch-VLAN
Membuat VLAN Database
Switch>en
Switch#config t
Switch(config)#hostname Switch-VLAN
Switch-VLAN(config)#^Z
Switch-VLAN#vlan database
Switch-VLAN(vlan)#vlan 2 name RPL
Switch-VLAN(vlan)#vlan 3 name TKJ
Switch-VLAN(vlan)#vlan 4 name ANI
Switch-VLAN(vlan)#exit
Mengaktifkan koneksi VLAN ke router /naik ke layer 3 inter-VLAN routing
Switch-VLAN#config t
Switch-VLAN(config)#int f0/1
Switch-VLAN(config-if)#switchport mode trunk
Switch-VLAN(config-if)#end
Membuat VLAN Database
Switch>en
Switch#config t
Switch(config)#hostname Switch-VLAN
Switch-VLAN(config)#^Z
Switch-VLAN#vlan database
Switch-VLAN(vlan)#vlan 2 name RPL
Switch-VLAN(vlan)#vlan 3 name TKJ
Switch-VLAN(vlan)#vlan 4 name ANI
Switch-VLAN(vlan)#exit
Mengaktifkan koneksi VLAN ke router /naik ke layer 3 inter-VLAN routing
Switch-VLAN#config t
Switch-VLAN(config)#int f0/1
Switch-VLAN(config-if)#switchport mode trunk
Switch-VLAN(config-if)#end
Pemberian membership pada VLAN atau IP subnet address based
Switch-VLAN#config t
Switch-VLAN(config)#int f0/2
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 2
Switch-VLAN(config-if)#int f0/3
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 3
Switch-VLAN(config-if)#int f0/4
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 4
Switch-VLAN(config-if)#end
Switch-VLAN#config t
Switch-VLAN(config)#int f0/2
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 2
Switch-VLAN(config-if)#int f0/3
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 3
Switch-VLAN(config-if)#int f0/4
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 4
Switch-VLAN(config-if)#end
Setting Default-gateway pada VLAN 1
Switch-VLAN#config t
Switch-VLAN(config)#int vlan 1
Switch-VLAN(config-if)#ip add 11.200.1.2 255.255.255.192 --->remote address pada switch
Switch-VLAN(config-if)#no sh
Switch-VLAN(config-if)#exit
Switch-VLAN(config)#ip default-gateway 11.200.1.1 ----> fast eth router f0/0.1
Switch-VLAN(config)#end
Switch-VLAN#config t
Switch-VLAN(config)#int vlan 1
Switch-VLAN(config-if)#ip add 11.200.1.2 255.255.255.192 --->remote address pada switch
Switch-VLAN(config-if)#no sh
Switch-VLAN(config-if)#exit
Switch-VLAN(config)#ip default-gateway 11.200.1.1 ----> fast eth router f0/0.1
Switch-VLAN(config)#end
4. Kemudian Atur CLI Di Router Yang
Menyambung Di Server
OPTIONAL
Untuk ISP-Router hanya dikonfigurasi sebagai gateway untuk koneksi ke internet
Router>en
Router#config t
Router(config)#hostname ISP-Router
ISP-Router(config)#enable password smkn2sby
ISP-Router(config)#line vty 0 4
ISP-Router(config-line)#password smkn2sby
ISP-Router(config-line)#login
ISP-Router(config-line)#exit
ISP-Router(config)#int f0/0
ISP-Router(config-if)#ip add 13.200.30.1 255.255.255.192
ISP-Router(config-if)#no sh
ISP-Router(config-if)#int s0/0
ISP-Router(config-if)#ip add 11.200.30.2 255.255.255.192
ISP-Router(config-if)#description IP Gateway
ISP-Router(config-if)#no sh
ISP-Router(config-if)#
ISP-Router(config-if)#router rip
ISP-Router(config-router)#network 11.200.30.0
ISP-Router(config-router)#network 13.200.30.0
ISP-Router(config-router)#version 2
ISP-Router(config-router)#no auto-summary
ISP-Router(config-router)#exit
ISP-Router(config)#end
Untuk ISP-Router hanya dikonfigurasi sebagai gateway untuk koneksi ke internet
Router>en
Router#config t
Router(config)#hostname ISP-Router
ISP-Router(config)#enable password smkn2sby
ISP-Router(config)#line vty 0 4
ISP-Router(config-line)#password smkn2sby
ISP-Router(config-line)#login
ISP-Router(config-line)#exit
ISP-Router(config)#int f0/0
ISP-Router(config-if)#ip add 13.200.30.1 255.255.255.192
ISP-Router(config-if)#no sh
ISP-Router(config-if)#int s0/0
ISP-Router(config-if)#ip add 11.200.30.2 255.255.255.192
ISP-Router(config-if)#description IP Gateway
ISP-Router(config-if)#no sh
ISP-Router(config-if)#
ISP-Router(config-if)#router rip
ISP-Router(config-router)#network 11.200.30.0
ISP-Router(config-router)#network 13.200.30.0
ISP-Router(config-router)#version 2
ISP-Router(config-router)#no auto-summary
ISP-Router(config-router)#exit
ISP-Router(config)#end
5. Kemudian Lihat DHCP Di Masing Masing
PC
6. Dan Coba PING Dari PC VLAN 2 e VLAN 3
Dan Seterusnya
1. Buatlah Rangkaian Seperti Ini
Dengan VLAN RPL 60 host, TKJ 60 host ANI, 40 host
2. Atur CLI Router Yang Menyambung Ke
SWITCH
Router>en
Router#config t
Router(config)#enable password smkn2sby ---> Terserah mau dikasih nama apa saja
Router(config)#line vty 0 4
Router(config-line)#password smkn2sby ---> Setting password untuk telnet router
Router(config-line)#login
Router(config-line)#exit
Router#config t
Router(config)#enable password smkn2sby ---> Terserah mau dikasih nama apa saja
Router(config)#line vty 0 4
Router(config-line)#password smkn2sby ---> Setting password untuk telnet router
Router(config-line)#login
Router(config-line)#exit
Langkah pemberian IP address sub-interface untuk masing2 VLAN
Router(config)#int f0/0
Router(config-if)#no shutdown ---> Perintah untuk mengaktifkan fast eth0/0
Router(config-if)#int f0/0.1 ----> Masuk ke mode sub-interface ditandai dgn config-subif
Router(config-subif)#encapsulation dot1q 1
Router(config-subif)#ip add 10.200.1.1 255.255.255.192 ----> Gateway untuk VLAN 1
Router(config-subif)#int f0/0.2
Router(config-subif)#encapsulation dot1q 2
Router(config-subif)#ip add 10.200.2.1 255.255.255.192 ----> Gateway untuk VLAN 2
Router(config-subif)#int f0/0.3
Router(config-subif)#encapsulation dot1q 3
Router(config-subif)#ip add 10.200.3.1 255.255.255.192 ----> Gateway untuk VLAN 3
Router(config-subif)#int f0/0.4
Router(config-subif)#encapsulation dot1q 4
Router(config-subif)#ip add 10.200.4.1 255.255.255.192 ----> Gateway untuk VLAN 4
Router(config)#end
Router#config t
Router(config)#int s0/0
Router(config-if)#ip add 11.200.30.1 255.255.255.192
Router(config-if)#clock rate 64000
Router(config-if)#bandwidth 2048
Router(config-if)#description IP Public ke Internet
Router(config-if)#no sh
Router(config-if)#
Langkah mengaktifkan Konfigurasi Dynamic Routing RIP version 2
Router(config-if)#router rip
Router(config-router)#network 11.200.30.0
Router(config-router)#network 10.200.1.0
Router(config-router)#network 10.200.2.0
Router(config-router)#network 10.200.3.0
Router(config-router)#network 10.200.4.0
Router(config-router)#version 2
Router(config-router)#no auto-summary
Router(config-router)#exit
Router(config)#end
Langkah mengaktifkan konfigurasi DHCP untuk masing2 VLAN
Router#
Router#config t
Router(config)#int f0/0.2
Router(config-subif)#ip dhcp pool RPL
Router(dhcp-config)#network 10.200.2.0 255.255.255.192
Router(dhcp-config)#default-router 10.200.2.1
Router(dhcp-config)#dns-server 12.200.30.1
Router(dhcp-config)#ip dhcp excluded-address 10.200.2.1 10.200.2.2
Router(config)#exit
Router#config t
Router(config)#int f0/0.3
Router(config-subif)#ip dhcp pool TKJ
Router(dhcp-config)#network 10.200.3.0 255.255.255.192
Router(dhcp-config)#default-router 10.200.3.1
Router(dhcp-config)#dns-server 12.200.30.1
Router(dhcp-config)#ip dhcp excluded-address 10.200.3.1 10.200.3.2
Router(config)#exit
Router#config t
Router(config)#int f0/0.4
Router(config-subif)#ip dhcp pool ANI
Router(dhcp-config)#network 10.200.4.0 255.255.255.192
Router(dhcp-config)#default-router 10.200.4.1
Router(dhcp-config)#dns-server 12.200.30.1
Router(config-if)#no shutdown ---> Perintah untuk mengaktifkan fast eth0/0
Router(config-if)#int f0/0.1 ----> Masuk ke mode sub-interface ditandai dgn config-subif
Router(config-subif)#encapsulation dot1q 1
Router(config-subif)#ip add 10.200.1.1 255.255.255.192 ----> Gateway untuk VLAN 1
Router(config-subif)#int f0/0.2
Router(config-subif)#encapsulation dot1q 2
Router(config-subif)#ip add 10.200.2.1 255.255.255.192 ----> Gateway untuk VLAN 2
Router(config-subif)#int f0/0.3
Router(config-subif)#encapsulation dot1q 3
Router(config-subif)#ip add 10.200.3.1 255.255.255.192 ----> Gateway untuk VLAN 3
Router(config-subif)#int f0/0.4
Router(config-subif)#encapsulation dot1q 4
Router(config-subif)#ip add 10.200.4.1 255.255.255.192 ----> Gateway untuk VLAN 4
Router(config)#end
Router#config t
Router(config)#int s0/0
Router(config-if)#ip add 11.200.30.1 255.255.255.192
Router(config-if)#clock rate 64000
Router(config-if)#bandwidth 2048
Router(config-if)#description IP Public ke Internet
Router(config-if)#no sh
Router(config-if)#
Langkah mengaktifkan Konfigurasi Dynamic Routing RIP version 2
Router(config-if)#router rip
Router(config-router)#network 11.200.30.0
Router(config-router)#network 10.200.1.0
Router(config-router)#network 10.200.2.0
Router(config-router)#network 10.200.3.0
Router(config-router)#network 10.200.4.0
Router(config-router)#version 2
Router(config-router)#no auto-summary
Router(config-router)#exit
Router(config)#end
Langkah mengaktifkan konfigurasi DHCP untuk masing2 VLAN
Router#
Router#config t
Router(config)#int f0/0.2
Router(config-subif)#ip dhcp pool RPL
Router(dhcp-config)#network 10.200.2.0 255.255.255.192
Router(dhcp-config)#default-router 10.200.2.1
Router(dhcp-config)#dns-server 12.200.30.1
Router(dhcp-config)#ip dhcp excluded-address 10.200.2.1 10.200.2.2
Router(config)#exit
Router#config t
Router(config)#int f0/0.3
Router(config-subif)#ip dhcp pool TKJ
Router(dhcp-config)#network 10.200.3.0 255.255.255.192
Router(dhcp-config)#default-router 10.200.3.1
Router(dhcp-config)#dns-server 12.200.30.1
Router(dhcp-config)#ip dhcp excluded-address 10.200.3.1 10.200.3.2
Router(config)#exit
Router#config t
Router(config)#int f0/0.4
Router(config-subif)#ip dhcp pool ANI
Router(dhcp-config)#network 10.200.4.0 255.255.255.192
Router(dhcp-config)#default-router 10.200.4.1
Router(dhcp-config)#dns-server 12.200.30.1
Router(dhcp-config)#ip dhcp
excluded-address 10.200.3.1 10.200.3.2
Router(dhcp-config)#exit
Router(config)#end
Router(dhcp-config)#exit
Router(config)#end
3. Kemudian Atur CLI Pada SWITCH
Konfigurasi Di Switch-VLAN
Membuat VLAN Database
Switch>en
Switch#config t
Switch(config)#hostname Switch-VLAN
Switch-VLAN(config)#^Z
Switch-VLAN#vlan database
Switch-VLAN(vlan)#vlan 2 name RPL
Switch-VLAN(vlan)#vlan 3 name TKJ
Switch-VLAN(vlan)#vlan 4 name ANI
Switch-VLAN(vlan)#exit
Mengaktifkan koneksi VLAN ke router /naik ke layer 3 inter-VLAN routing
Switch-VLAN#config t
Switch-VLAN(config)#int f0/1
Switch-VLAN(config-if)#switchport mode trunk
Switch-VLAN(config-if)#end
Membuat VLAN Database
Switch>en
Switch#config t
Switch(config)#hostname Switch-VLAN
Switch-VLAN(config)#^Z
Switch-VLAN#vlan database
Switch-VLAN(vlan)#vlan 2 name RPL
Switch-VLAN(vlan)#vlan 3 name TKJ
Switch-VLAN(vlan)#vlan 4 name ANI
Switch-VLAN(vlan)#exit
Mengaktifkan koneksi VLAN ke router /naik ke layer 3 inter-VLAN routing
Switch-VLAN#config t
Switch-VLAN(config)#int f0/1
Switch-VLAN(config-if)#switchport mode trunk
Switch-VLAN(config-if)#end
Pemberian membership pada VLAN atau IP subnet address based
Switch-VLAN#config t
Switch-VLAN(config)#int f0/2
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 2
Switch-VLAN(config-if)#int f0/3
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 3
Switch-VLAN(config-if)#int f0/4
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 4
Switch-VLAN(config-if)#end
Switch-VLAN#config t
Switch-VLAN(config)#int f0/2
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 2
Switch-VLAN(config-if)#int f0/3
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 3
Switch-VLAN(config-if)#int f0/4
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 4
Switch-VLAN(config-if)#end
Setting Default-gateway pada VLAN 1
Switch-VLAN#config t
Switch-VLAN(config)#int vlan 1
Switch-VLAN(config-if)#ip add 11.200.1.2 255.255.255.192 --->remote address pada switch
Switch-VLAN(config-if)#no sh
Switch-VLAN(config-if)#exit
Switch-VLAN(config)#ip default-gateway 11.200.1.1 ----> fast eth router f0/0.1
Switch-VLAN(config)#end
Switch-VLAN#config t
Switch-VLAN(config)#int vlan 1
Switch-VLAN(config-if)#ip add 11.200.1.2 255.255.255.192 --->remote address pada switch
Switch-VLAN(config-if)#no sh
Switch-VLAN(config-if)#exit
Switch-VLAN(config)#ip default-gateway 11.200.1.1 ----> fast eth router f0/0.1
Switch-VLAN(config)#end
4. Kemudian Atur CLI Di Router Yang
Menyambung Di Server
OPTIONAL
Untuk ISP-Router hanya dikonfigurasi sebagai gateway untuk koneksi ke internet
Router>en
Router#config t
Router(config)#hostname ISP-Router
ISP-Router(config)#enable password smkn2sby
ISP-Router(config)#line vty 0 4
ISP-Router(config-line)#password smkn2sby
ISP-Router(config-line)#login
ISP-Router(config-line)#exit
ISP-Router(config)#int f0/0
ISP-Router(config-if)#ip add 13.200.30.1 255.255.255.192
ISP-Router(config-if)#no sh
ISP-Router(config-if)#int s0/0
ISP-Router(config-if)#ip add 11.200.30.2 255.255.255.192
ISP-Router(config-if)#description IP Gateway
ISP-Router(config-if)#no sh
ISP-Router(config-if)#
ISP-Router(config-if)#router rip
ISP-Router(config-router)#network 11.200.30.0
ISP-Router(config-router)#network 13.200.30.0
ISP-Router(config-router)#version 2
ISP-Router(config-router)#no auto-summary
ISP-Router(config-router)#exit
ISP-Router(config)#end
Untuk ISP-Router hanya dikonfigurasi sebagai gateway untuk koneksi ke internet
Router>en
Router#config t
Router(config)#hostname ISP-Router
ISP-Router(config)#enable password smkn2sby
ISP-Router(config)#line vty 0 4
ISP-Router(config-line)#password smkn2sby
ISP-Router(config-line)#login
ISP-Router(config-line)#exit
ISP-Router(config)#int f0/0
ISP-Router(config-if)#ip add 13.200.30.1 255.255.255.192
ISP-Router(config-if)#no sh
ISP-Router(config-if)#int s0/0
ISP-Router(config-if)#ip add 11.200.30.2 255.255.255.192
ISP-Router(config-if)#description IP Gateway
ISP-Router(config-if)#no sh
ISP-Router(config-if)#
ISP-Router(config-if)#router rip
ISP-Router(config-router)#network 11.200.30.0
ISP-Router(config-router)#network 13.200.30.0
ISP-Router(config-router)#version 2
ISP-Router(config-router)#no auto-summary
ISP-Router(config-router)#exit
ISP-Router(config)#end
5. Kemudian Lihat DHCP Di Masing Masing
PC
6. Dan Coba PING Dari PC VLAN 2 e VLAN 3
Dan Seterusnya
Minggu, 08 September 2013
Install software DHCP dan
FTP
server:~#
apt-get install dhcp3-server ftpd
Dhcp server
listen > eth0
Pada hasil installasi ada
pesan error periksa di var/lognya
Starting
DHCP server: dhcpd3 failed to start - check syslog for diagnostics
server:~# tail
/var/log/syslog
Feb 18
02:14:02 server dhcpd: Wrote 0 leases to leases file.
Feb 18
02:14:02 server dhcpd:
Feb 18
02:14:02 server dhcpd: No subnet declaration for eth0 (202.100.4.65).
Feb 18
02:14:02 server dhcpd: ** Ignoring requests on eth0. If this is not what
Feb 18
02:14:02 server dhcpd: you want, please write a subnet declaration
Feb 18
02:14:02 server dhcpd: in your dhcpd.conf file for the network segment
Feb 18
02:14:02 server dhcpd: to which interface eth0 is attached. **
Feb 18
02:14:02 server dhcpd:
Feb 18
02:14:02 server dhcpd:
Feb 18
02:14:02 server dhcpd: Not configured to listen on any interfaces!
edit /etc/dhcpd.conf
server:~# vim
/etc/dhcp3/dhcpd.conf
subnet 202.100.4.64 netmask 255.255.255.224 {
range 202.100.4.66 202.100.4.94;
option
domain-name-servers 202.100.4.65;
option
domain-name "hedy.co.id";
option
routers 202.100.4.65;
option
broadcast-address 202.100.4.95;
}
Restart layanandhcp server
server:~#
/etc/init.d/dhcp3-server restart
Stopping
DHCP server: dhcpd3.
Starting
DHCP server: dhcpd3.
Kemudian copy #host fantasia dan atur hardware ethrnet dan fixed-address
periksa pesan error di
var/lognya ada error tidak
server:~# tail
/var/log/syslog
Feb 18
02:39:21 server dhcpd: /etc/dhcp3/dhcpd.conf line 56: unexpected end offile
Feb 18
02:39:21 server dhcpd: #}
Feb 18
02:39:21 server dhcpd: ^
Feb 18
02:39:21 server dhcpd: Configuration file errors encountered-- exiting
Feb 18
02:40:00 server dhcpd: Internet Software Consortium DHCP Server V3.0.1rc9
Feb 18
02:40:00 server dhcpd: Copyright 1995-2001 Internet Software Consortium.
Feb 18
02:40:00 server dhcpd: All rights reserved.
Feb 18
02:40:00 server dhcpd: For info, please visit http://www.isc.org/products/DHCP
Feb 18
02:40:00 server dhcpd: Wrote 0 leases to leases file.
Silahkan di coba pada
ethernet dibuat DHCP > bisa mendapatkan IP tidak kalau bisa berarti sukses
Kemudian atur username dan password untuk FTP
Dan kemudian login
Inilah sekilas cara untun menginsstal OS Debian Woody
1. Buka virtual box, pilih new lalu klik next
3. Kemudian atur RAM
4. Pilih create new hard disk lalu klik next
5. Lalu klik next
6. Pilih dynamucally dan klik next
7. Atur harddisk dan klik next
8. Lalu klik finish
9. Klik finish
10. Pilih menu setting
11. Hapus tanda cawang di floppy dan taruh bawah
12. Masukan iso debian 3.0
13. Hapus tanda cawang di enable network adapter
14. Tulis BF24 di boot
15. Tunggu sampai selesai
16. Pilih en untuk mamilih bahasa
17. Kemudian Pilih Englis United States
18. Pilih continue
19. Kemudian pilih next
20. Pilih qwerty/us
21. Kemudian pilih next
22. Pilih /dev/hda
23. Pilih continue
24. Pilih continue lagi
25. Kemudian ketik hiruf (Y)
26. Pilih new
27. Terus pilih primary
28. Kemudian isi size in MB dengan angka 256
29. Kemudian pilih type
30. Tekan enter
31. Pilih type 82
32. Pilih write
33. Tulis yes dan tekan enter
34. Pilih quit
35. Pilih next partition a hard dist
36. Pilih /dev/hda
37. Pilih continue
38. Pilih continue lagi
39. Pilih next initializa
40. Pilih no
41. Kemudian Pilih yes
42. Pilih initilalize a linux partition
43. Kemudian pilih ext3
44. Pilih no
45. Kemudian pilih yes
46. Tunggu sampai selesai
47. Pilih yes
48. Pilih next install karnel
49. Pilih yes
50. Pilih continue
51. Pilih kernel /drivers/net
52. Pilih bonding
53. Pilih yes
54. Pilih ok
55. Tekan enter
56. Pilih exit finished
57. Pilih exit lagi
58. pilih next configure the network
59. Ketik nama lalu pilih ok
60. Tulis IP lalu pilih ok
61. Tulis Subnet lalu pilih ok
62. Tulis IP geteway dan pilih ok
63. Tulis nama dan pilih ok
64. Pilih next install
65. Tunggu sampai selesai
66. Tunggu lagi
67. Pilih next make system bootable
68. Pilih /dev/hda: install lilo in the MBR
69. Pilih continue
70. Pilih alternate reboot
71. Pilih yes
72. Lepaskan ISO debian 3.0
73. Tekan enter
74. Tunggu sampai selesai
75. Pilih ok
76. Pilih yes
77. Pilih Asia
78. Kemudian pilih Jakarta
79. Pilih no
80. Kemudian pilih yes
81. Ketik password
82. Ketik ulang password
83. Pilih yes
84. Ketik user name
85. Ketik ulang user name
86. Pilih cancel
87. Pilih yes
88. Kemudian pilih no
89. Ketik huruf Y
90. Ketik Y lagi
91. Tekan enter
92. Ketik angka 5 lalu enter
93. Klik OK
94. Login dan selesai
95. Kemudian masuk ke PUTTY
Terimah kasih anda telah membaca tentang cara menginstall OS Debian Woody ini, Mohon maaf jika terjadi kesalahan :)