Konfigurasi Internet Gateway, DHCP, VLAN, Telnet dan SSH menggunakan Cisco Packet Tracer

Konfigurasi Internet Gateway, DHCP, Vlan, Telnet dan SSH menggunakan Cisco Packet Tracer.

Langkah pertama buatlah topologinya seperti contoh berikut :


Selanjutnya kita konfigurasi router menggunakan console,



Klik PC nya kemudian dekstop setelah itu klik terminal lalu ok


Setelah masuk ke terminal yang pertama kita konfigurasi dhcp terlebih dahulu,

1. Konfigurasi DHCP


Router>en
Router#conf t
Router(config)#ip dhcp pool vlan10
Router(dhcp-config)#default-router 10.10.10.1
Router(dhcp-config)#network 10.10.10.0 255.255.255.0
Router(dhcp-config)#ip dhcp pool vlan20
Router(dhcp-config)#default-router 20.20.20.1
Router(dhcp-config)#network 20.20.20.0 255.255.255.0
Router(config)#ip dhcp pool vlan30
Router(dhcp-config)#default-router 30.30.30.1
Router(dhcp-config)#network 30.30.30.0 255.255.255.0
Router(dhcp-config)#ex

Selanjutnya kita no shutdown kabel yang menyambung ke switch,


Router(config)#int fa0/0
Router(config-if)#no sh

2. Konfigurasi encapsulation


Router(config-if)#int fa0/0.10
Router(config-subif)#encapsulation dot1q 10
Router(config-subif)#ip add 10.10.10.1 255.255.255.0
Router(config-subif)#ex
Router(config)#int fa0/0.20
Router(config-subif)#encapsulation dot1q 20
Router(config-subif)#ip add 20.20.20.1 255.255.255.0
Router(config-subif)#ex
Router(config)#int fa0/0.30
Router(config-subif)#encapsulation dot1q 30
Router(config-subif)#ip add 30.30.30.1 255.255.255.0
Router(config-subif)#ex

3. Konfigurasi Telnet dan SSH


Router(config)#hostname helmi
helmi(config)#ip domain-name helmi.net
helmi(config)#crypto key generate rsa
The name for the keys will be: helmi.helmi.net
Choose the size of the key modulus in the range of 360 to 2048 for your
  General Purpose Keys. Choosing a key modulus greater than 512 may take
  a few minutes.

How many bits in the modulus [512]: 512 (diisi sesuai yang diminta)
% Generating 512 bit RSA keys, keys will be non-exportable...[OK]

helmi(config)#line vty 0 4
*Mar 1 0:51:30.323:  RSA key size needs to be at least 768 bits for ssh version 2
*Mar 1 0:51:30.324:  %SSH-5-ENABLED: SSH 1.5 has been enabled
helmi(config-line)#login local
helmi(config-line)#transport input all
helmi(config-line)#exit
helmi(config)#username helmi password 123
helmi(config)#enable secret helmi

4. Konfigurasi NAT/PATH



helmi(config)#access-list 1 permit 0.0.0.0 255.255.255.240
helmi(config)#ip nat inside source list 1 interface fa0/1 overload
helmi(config)#int fa0/1
helmi(config-if)#no sh
helmi(config-if)#ip add 8.8.8.1 255.255.255.240
helmi(config-if)#ex

Selanjutnya kita konfigurasi di switch


5. Konfigurasi Vlan di switch


Switch>en
Switch#conf t
Switch(config)#vlan 10
Switch(config-vlan)#name vlan10
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name vlan20
Switch(config-vlan)#vlan 30
Switch(config-vlan)#name vlan30
Switch(config-vlan)#ex
Switch(config)#int ra fa0/2-8
Switch(config-if-range)#sw mod acc
Switch(config-if-range)#sw acc vlan 10
Switch(config-if-range)#int ra fa0/9-16
Switch(config-if-range)#sw mod acc
Switch(config-if-range)#sw acc vlan 20
Switch(config-if-range)#int ra fa0/17-24
Switch(config-if-range)#sw mod acc
Switch(config-if-range)#sw acc vlan 30
Switch(config-if-range)#ex

6. Konfigurasi trunk


Switch(config)#int fa0/1
Switch(config-if)#sw mod tr

Setelah semua konfigurasi selesai kita coba PING ke Vlan 20 dan 30


Kemudian kita coba buka SSH dan Telnet

1. SSH



2. Telnet


Selanjutnya kita PING ke server melalui PC Vlan 30


Selesai silahkan kalian coba.

Komentar

Posting Komentar

Postingan populer dari blog ini

Konfigurasi Voip 2 router

TEKNOLOGI JARINGAN BERBASIS LUAS (WAN)