Cara membuat Jaringan Menggunakan Teknologi Vlan seperti gambar topology diatas berikut ini adalah konfigurasi disetiap peralatannya.
Konfigurasi R1
Router>en
Router#conf t
Router(config)#hostname R1
R1(config)#vlan database
R1(config)#exit
R1#
R1#vlan database
% Warning: It is
recommended to configure VLAN from config mode,
as VLAN database
mode is being deprecated. Please consult user
documentation
for configuring VTP/VLAN in config mode.
R1(vlan)#vlan
100 name Lab1
R1(vlan)#vlan
200 name Lab2
R1(vlan)#vlan
300 name Lab3
R1(vlan)#vlan
400 name Lab4
R1(vlan)#exit
R1#conf t
R1(config)#int fa0/0
R1(config-if)#no
sh
R1(config-if)#exit
R1(config)#int fa0/0.100
R1(config-subif)#encapsulation
dot1Q 100
R1(config-subif)#ip
address 192.168.1.1 255.255.255.0
R1(config-subif)#ex
R1(config)#int
fa0/0.200
R1(config-subif)#encapsulation
dot1Q 200
R1(config-subif)#ip
address 192.168.2.1 255.255.255.0
R1(config-subif)#exit
R1(config)#int
fa0/0.300
R1(config-subif)#encapsulation
dot1Q 300
R1(config-subif)#ip
add 192.168.3.1 255.255.255.0
R1(config-subif)#ex
R1(config)#int
fa0/0.400
R1(config-subif)#encapsulation
dot1Q 400
R1(config-subif)#ip
add 192.168.4.1 255.255.255.0
R1(config-subif)#exit
R1(config)#exit
R1#copy r s
R1#write
Konfigurasi S1
Switch>en
Switch#conf t
Switch(config)#hostname
S1
S1 (config)#exit
S1#vlan database
% Warning: It is
recommended to configure VLAN from config mode,
as VLAN database
mode is being deprecated. Please consult user
documentation
for configuring VTP/VLAN in config mode.
S1
(vlan)#vtp server
S1 (vlan)#vtp
domain tkj1
S1 (vlan)#vtp
password admin
S1 (vlan)#vlan
100 name Lab1
S1 (vlan)#vlan
200 name Lab2
S1 (vlan)#vlan
300 name Lab3
S1 (vlan)#vlan 400 name Lab4
S1 (vlan)#exit
S1#show vlan
S1>en
S1#conf t
S1 (config)#int
fa0/24
S1 (config-if)#switchport
mode trunk
S1 (config-if)#exit
S1 (config)#int fa0/23
S1 (config-if)#switchport mode
trunk
S1 (config)#int fa0/22
S1 (config-if)#switchport mode
trunk
Konfigurasi S2
Swithc>en
Switch#conf t
Switch(config)#hostname S2
S2(config)#int fa0/23
S2(config-if)#switchport
mode trunk
S2(config-if)#exi
S2(config)#int fa0/1
S2(config-if)#switchport
access vlan 100
S2(config-if)#exi
S2(config)#int
fa0/6
S2(config-if)#switchport
access vlan 200
S2(config-if)#exit
S2(config)#exit
S2#vlan database
S2(vlan)#vtp
domain tkj1
S2(vlan)#vtp
password admin
S2(vlan)#exit
Konfigurasi S3
Swithc>en
Switch#conf t
Switch(config)#hostname S3
S3(config)#int fa0/22
S3(config-if)#switchport
mode trunk
S3(config-if)#exi
S3(config)#int fa0/1
S3(config-if)#switchport
access vlan 300
S3(config-if)#exi
S3(config)#int
fa0/6
S3(config-if)#switchport
access vlan 400
S3(config-if)#exit
S3(config)#exit
S3#vlan
database
% Warning:
It is recommended to configure VLAN from config mode,
as VLAN
database mode is being deprecated. Please consult user
documentation
for configuring VTP/VLAN in config mode.
S3(vlan)#vtp
client
S3(vlan)#vtp
domain tkj1
S3(vlan)#vtp
password admin
S3(vlan)#exit
S3#show vlan
Lakukan Setting IP address di masing-masing PC
keywords : vlan database, pembuatan vlan mudah, cara membuat vlan, teknik komputer dan jaringan, tkj, administrasi infrastruktur jaringan
0 Response to "Vlan Mode Client Server"
Post a Comment