PNETLab soal: 2 VTP: Difference between revisions

Kangmus (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
===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===
=== Switch 1===
  interface Ethernet0/0
  interface Ethernet0/0