PNETLab soal: 2 VTP
Appearance
Router server
jika belum ada DHCP client, tapi kalau defaultnya sudah ada di ether1
/ip dhcp-client add disabled=no interface=ether1
menambahkan interface vlan MikroTik
/interface vlan add interface=ether2 name=bendahara vlan-id=11 add interface=ether2 name=sekretaris vlan-id=10
/ip address add address=192.168.11.1/24 interface=bendahara network=192.168.11.0 add address=192.168.10.1/24 interface=sekretaris network=192.168.10.0
/ip dhcp-server add address-pool=dhcp_pool0 disabled=no interface=sekretaris name=dhcp1 add address-pool=dhcp_pool1 disabled=no interface=bendahara name=dhcp2
/ip dhcp-server network add address=192.168.10.0/24 gateway=192.168.10.1 add address=192.168.11.0/24 gateway=192.168.11.1
/ip dns set allow-remote-requests=yes
/ip firewall nat add action=masquerade chain=srcnat out-interface=ether1
Switch 1
interface Ethernet0/0 no shutdown switchport trunk encapsulation dot1q switchport mode trunk
interface Ethernet0/1 no shutdown switchport access vlan 10 switchport mode access
interface Ethernet0/2 no shutdown switchport access vlan 11 switchport mode access
interface Ethernet0/3 no shutdown switchport access vlan 11 switchport mode access
interface Ethernet1/0 no shutdown switchport trunk encapsulation dot1q switchport mode trunk
Swith 2
interface Ethernet0/0 no shutdown switchport trunk encapsulation dot1q switchport mode trunk
interface Ethernet0/1 no shutdown switchport access vlan 10 switchport mode access
interface Ethernet0/2 no shutdown switchport access vlan 10 switchport mode access
interface Ethernet0/3 no shutdown switchport access vlan 11 switchport mode access