Jump to content

PNETLab soal: latiihan 2 trunking

From Wiki

mikrotik

/ip dhcp-client
add disabled=no interface=ether1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/ip dns
set allow-remote-requests=yes
/interface vlan
add interface=ether2 name=vlan1 vlan-id=10
/ip address
add address=192.168.9.1/24 interface=ether2 network=192.168.9.0
add address=192.168.10.1/24 interface=vlan1 network=192.168.10.0

silahkan jalankan DHCP server setup untuk vlan1

/ip dhcp-server
setup 





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 Ethernet1/0
 no shutdown
 switchport trunk encapsulation dot1q
 switchport mode trunk

switch 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