Difference between revisions of "Mikrotik: DHCP Server"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
  ip address add interface=ether0 address=YYY.YYY.YYY.1
+
  ip pool add name=pool8 ranges=YYY.YYY.YYY.100-YYY.YYY.YYY.120
  ip pool add ranges=YYY.YYY.YYY.100-YYY.YYY.YYY.2000
+
  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
 +
 
  
  

Revision as of 05:05, 14 November 2018

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