Inter-Vlan
Switch 1 – Server
#vlan data
(vlan)#vlan 10 name server
(vlan)#vlan 12 name kantor
(vlan)#vlan 15 name tu
(vlan)#vlan 19 name lab_jar
(vlan)#vlan 24 name lab_kkpi
(vlan)#exit
#
#conf t
(conf)#host Sw_Nama
(conf)#vtp mode server
(conf)#vtp domain dot.io
(conf)#vtp passw dot.io
(conf)#int fa0/1
(conf-if)#switchport mode trunk
(conf-if)#switchport trunk allowed vlan all
(conf-if)#ex
(conf)#int fa0/2
(conf-if)#sw mo trunk
(conf-if)#switch trunk allow vlan all
(conf-if)#ex
(conf)#int fa0/3
(conf-if)#sw mo tr
(conf-if)#sw tr al vl all
(conf-if)#ex
Switch – Client 1
>en
#conf t
#host Sw-Nama
#conf t
(conf)#vtp mode client
(conf)#vtp domain dot.io
(conf)#vtp passw dot.io
(conf)#int fa0/1
(conf-if)#switchport mode trunk
(conf-if)#switchport trunk allowed vlan all
(conf-if)#ex
(conf)#do show vlan brief
(conf)#
(conf)#int fa0/2
(conf-if)#switchport mode access
(conf-if)#switchport access vlan 10
(conf-if)#ex
(conf)#int fa0/4
(conf-if)#switch mode acc
(conf-if)#switch acc vlan 12
(conf-if)#ex
(conf)#int fa0/3
(conf-if)#sw mo acc
(conf-if)#sw acc vlan 15
(conf-if)#ex
(conf)#int fa0/5
(conf-if)#sw mo acc
(conf-if)#sw acc vlan 19
(conf-if)#ex
(conf)#int fa0/6
(conf-if)#sw mo acc
(conf-if)#sw acc vlan 24
(conf-if)#ex
(conf)#
Switch – Client 2
>en
#conf t
#host Sw-Nama
#conf t
(conf)#vtp mode client
(conf)#vtp domain dot.io
(conf)#vtp passw dot.io
(conf)#int fa0/1
(conf-if)#switchport mode trunk
(conf-if)#switchport trunk allowed vlan all
(conf-if)#ex
(conf)#do show vlan brief
(conf)#
(conf)#int fa0/2
(conf-if)#switchport mode access
(conf-if)#switchport access vlan 10
(conf-if)#ex
(conf)#int fa0/4
(conf-if)#switch mode acc
(conf-if)#switch acc vlan 12
(conf-if)#ex
(conf)#int fa0/3
(conf-if)#sw mo acc
(conf-if)#sw acc vlan 15
(conf-if)#ex
(conf)#int fa0/5
(conf-if)#sw mo acc
(conf-if)#sw acc vlan 19
(conf-if)#ex
(conf)#int fa0/6
(conf-if)#sw mo acc
(conf-if)#sw acc vlan 24
(conf-if)#ex
(conf)#
Router 1
>en
#conf t
(conf)#int fa0/0
(conf-if)#no shutdown
(conf-if)#ex
(conf)#
(conf)#int fa0/0.10
(conf-sub)#encapsulation dot1Q 10
(conf-sub)#ip address 192.168.10.1 255.255.255.0
(conf-sub)#ex
(conf)#int fa0/0.12
(conf-sub)#encapsulation dot1 12
(conf-sub)#ip address 192.168.20.1 255.255.255.0
(conf-sub)#ex
(conf)#int fa0/0.15
(conf-sub)#encap dot 15
(conf-sub)#ip add 192.168.30.1 255.255.255.0
(conf-sub)#ex
(conf)#int fa0/0.19
(conf-sub)#encap dot 19
(conf-sub)#ip add 192.168.40.1 255.255.255.0
(conf-sub)#ex
(conf)#int fa0/0.24
(conf-sub)#encap dot 24
(conf-sub)#ip add 192.168.50.1 255.255.255.0
(conf-sub)#ex
(conf)#
(conf)#ip dhcp excluded-address 192.168.40.0 192.168.40.10
(conf)#ip dhcp pool Lab_Jar
(dhcp-conf)#network 192.168.40.0 255.255.255.0
(dhcp-conf)#default-router 192.168.40.1
(dhcp-conf)#exit
(conf)#
(conf)#ip dh exc 192.168.50.0 192.168.50.10
(conf)#ip dh po Lab_Kkpi
(dhcp-conf)#net 192.168.50.0 255.255.255.0
(dhcp-conf)#def 192.168.50.1
(dhcp-conf)#ex
Komentar
Posting Komentar