Setting IP Class B di mikrotik
Lansung saja, pertama kita akan membuat IP Class B di ether2 :
/ip address add address=172.16.0.2/24 interface=ether2 network=172.16.0.0
Add address that will be used for clients (in my example i'm using all available range from 172.16.0.2/24 network)
Add settings to your pool
/ip pool add name=LAN ranges=172.16.0.4-172.16.63.254
Add dhcp server on ether 2 interface
/ip dhcp-server add address-pool=LAN disabled=no interface=ether2 lease-time=1d name=dhcp1
Add settings to your dhcp server
/ip dhcp-server network add address=172.16.0.0/24 dns-server=8.8.4.4 gateway=172.16.0.2
And finaly add gateway to internet:
/ip route add distance=1 gateway=x.x.x.x (sesuai Portnya)
and masqurade ether1 interface:
/ip firewall natadd action=masquerade chain=srcnat out-interface=ether1
selamat mencoba..
Baca juga :
IP CLAS B /18