konfigurasi 2 router menggunakan vlan
cisco- topologinya seperti di bawah ini
- setelah itu kita setting switch 1 nya dengan script dibawah ini
Switch>enSwitch#vlan database% Warning: It is recommended to configure VLAN from config mode,as VLAN database mode is being deprecated. Please consult userdocumentation for configuring VTP/VLAN in config mode.Switch(vlan)#vlan 10 name ( terserah kalian )VLAN 10 added:Name: ( terserah kalian )Switch(vlan)#vlan 20 name ( terserah kalian )VLAN 20 added:Name: ( terserah kalian )Switch(vlan)#exAPPLY completed.Exiting....Switch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#int range fa0/1-2Switch(config-if-range)#sw mode acSwitch(config-if-range)#sw ac vlan 10Switch(config-if-range)#exSwitch(config)#int range fa0/3-4Switch(config-if-range)#sw mode acSwitch(config-if-range)#sw ac vlan 20Switch(config-if-range)#ex
- setelah itu setting switch 0
- dengan script dibawah ini
Switch>enSwitch#vlan database% Warning: It is recommended to configure VLAN from config mode,as VLAN database mode is being deprecated. Please consult userdocumentation for configuring VTP/VLAN in config mode.Switch(vlan)#vlan 30 name ( terserah kamu )VLAN 30 added:Name: ( terserah kamu )Switch(vlan)#vlan 40 name ( terserah kamu )VLAN 40 added:Name: ( terserah kamu )Switch(vlan)#exAPPLY completed.Exiting....Switch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#int range fa0/1-2Switch(config-if-range)#sw mode acSwitch(config-if-range)#sw ac vlan 30Switch(config-if-range)#exSwitch(config)#int range fa0/3-4Switch(config-if-range)#sw mode acSwitch(config-if-range)#sw ac vlan 40Switch(config-if-range)#ex
- setelah itu kita setting routernya