Difference between revisions of "Mikrotik: DHCP Server"

From OnnoWiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
  ip pool add name=pool8 ranges=YYY.YYY.YYY.100-YYY.YYY.YYY.120
+
Setup DHCP Server di Mikrotik melalui console
  ip dhcp-server network add address=YYY.YYY.YYY.0/24 gateway=YYY.YYY.YYY.1
+
 
  ip dhcp-server add interface=ether8 address-pool=pool8
+
/ip address add interface=bridge1 address=x.x.x.x/x
  ip dhcp-server network add dns-server=8.8.8.8
+
  /ip dhcp-server setup
  ip dhcp-server enable
+
 
  ip dhcp-server print
+
 
 +
 
 +
==Alternatif Secara manual==
 +
Setup DHCP Server di Mikrotik secara manual menggunakan console,
 +
 
 +
/ip pool add name=pool8 ranges=YYY.YYY.YYY.100-YYY.YYY.YYY.120
 +
  /ip dhcp-server network add address=YYY.YYY.YYY.0/24 gateway=YYY.YYY.YYY.1
 +
  /ip dhcp-server add interface=ether8 address-pool=pool8
 +
  /ip dhcp-server network add dns-server=8.8.8.8
 +
  /ip dhcp-server enable
 +
  /ip dhcp-server print
  
  

Latest revision as of 07:59, 1 December 2021

Setup DHCP Server di Mikrotik melalui console

/ip address add interface=bridge1 address=x.x.x.x/x
/ip dhcp-server setup


Alternatif Secara manual

Setup DHCP Server di Mikrotik secara manual menggunakan console,

/ip pool add name=pool8 ranges=YYY.YYY.YYY.100-YYY.YYY.YYY.120
/ip dhcp-server network add address=YYY.YYY.YYY.0/24 gateway=YYY.YYY.YYY.1
/ip dhcp-server add interface=ether8 address-pool=pool8
/ip dhcp-server network add dns-server=8.8.8.8
/ip dhcp-server enable
/ip dhcp-server print


Pranala Menarik