Jika sudah Seperti topologi di atas Lanjut kita Konfigurasi VLAN Di Cisco Packet Tracer , Yang pertama kita Konfig adalah IP Pada masing masing PC Pada Switch 1
PC 1 IP : 192.168.50.130 / Netmask 255.255.255.128 / Gateway 192.168.50.129
PC 2 IP : 192.168.50.131/ Netmask 255.255.255.128 / Gateway 192.168.50.129
PC 3 IP : 192.168.60.66 / Netmask 255.255.255.192 / Gateway 192.168.60.65
PC 4 IP : 192.168.60.67/ Netmask 255.255.255.192 / Gateway 192.168.60.65
Jika sudah Config IP Pada Konfigurasi VLAN Di Cisco Packet Tracer Selanjutnya sekarang kita Konfigurasi Switch 1,
Click Switch1 > CLI
Kemudian masukkan perintah nya seperti di bawah ini,
Menamai Vlan 50 dan 60 Switch 1
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 50
Switch(config-vlan)#tsania
Switch(config-vlan)#exit
Switch(config)#vlan 60
Switch(config-vlan)#ulvie
Switch(config-vlan)#exit
MENGHUBUNGKAN VLAN 50 DAN 60 Switch 1
Switch(config)#int fa0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 50
Switch(config-if)#exit
Switch(config)#int fa0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 50
Switch(config-if)#exit
Switch(config)#int fa0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 60
Switch(config-if)#exit
Switch(config)#int fa0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 60
Switch(config-if)#exit
MENJADIKAN SWITCH KE MODE TRUNK Switch 1
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/5
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode t
Switch(config-if)#switchport mode trunk
Switch(config-if)#
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/6
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode t
Switch(config-if)#switchport mode trunk
Switch(config-if)#
Selanjutnya sekarang kita Konfigurasi Switch 2,
PC 7 IP : 192.168.50.132 / Netmask 255.255.255.128 / Gateway 192.168.50.129
PC 8 IP : 192.168.50.133/ Netmask 255.255.255.128 / Gateway 192.168.50.129
PC 5 IP : 192.168.60.68 / Netmask 255.255.255.192 / Gateway 192.168.60.65
PC 6 IP : 192.168.60.69/ Netmask 255.255.255.192 / Gateway 192.168.60.65
Click Switch1 > CLI
Kemudian masukkan perintah nya seperti di bawah ini,
Menamai Vlan 50 dan 60 Switch 2
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 50
Switch(config-vlan)#tsania
Switch(config-vlan)#exit
Switch(config)#vlan 60
Switch(config-vlan)#ulvie
Switch(config-vlan)#exit
MENGHUBUNGKAN VLAN 50 DAN 60 Switch 2
Switch(config)#int fa0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 50
Switch(config-if)#exit
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 50
Switch(config-if)#exit
Switch(config)#int fa0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 60
Switch(config-if)#exit
Switch(config)#int fa0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 60
Switch(config-if)#exit
MENJADIKAN SWITCH KE MODE TRUNK Switch 2
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/5
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode t
Switch(config-if)#switchport mode trunk
Switch(config-if)#
masukkan perintah nya seperti di bawah ini,
Memberi IP ke Gig0/0 dan Gig0/1
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gig0/0
Router(config-if)#ip add 192.168.10.5 255.255.255.252
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int gig0/1
Router(config-if)#ip add 192.168.20.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit
Menghubungkan Vlan yang satu ke Vlan yang lain
Router(config)#int gig0/0.50
Router(config-subif)#encapsulation dot1Q 50
Router(config-subif)#ip add 192.168.50.129 255.255.255.128
Router(config-subif)#exit
Router(config)#int gig0/0.60
Router(config-subif)#encapsulation dot1Q 60
Router(config-subif)#ip add 192.168.60.65 255.255.255.192
Router(config-subif)#exit
Router(config)#
Dan yang terakhir kita cuma ngasih IP dan Setting Server nya
PC 0 IP : 192.168.20.3 / Netmask 255.255.255.0 / Gateway 192.168.20.1
Server IP : 192.168.20.4 / Netmask 255.255.255.0 / Gateway 192.168.20.1
Click Server > Service > DNS
kemudian kita edit sedikit index.html nya,
Click Server > Service > HTTP > index.html > edit
saya ganti seperti ini,
<html>
<center><font size='+2' color='blue'>tsaniyalaili@gmail.com</font></center>
<hr>Welcome to Cisco Packet Tracer. Opening doors to new opportunities. Mind Wide Open.
<p>Quick Links:
<br><a href='helloworld.html'>A small page</a>
<br><a href='copyrights.html'>Copyrights</a>
<br><a href='image.html'>Image page</a>
<br><a href='cscoptlogo177x111.jpg'>Image</a>
</html>
Save, trus setiap PC DNS nya di isi tsania.com
kita coba, dan hasil nya sperti ini,
- ketik ip dns di web browser yang berada di dalam pc 0 192.168.20.5 sekarang ganti pc 4 ketik di url web browser dengan nama tsania.com
Comments
Post a Comment