13 November 2011

Mikrotik As DHCP Server

Mikrotik As DHCP Server

How to make mikrotik as DHCP Server??


Here it is....

You must Setting Mikrotik As Gateway Server, And Now if we wanted client got IP address automatically then needed us setup dhcp server to Mikrotik. Along with his steps:

1. Make IP address pool

/ip pool add name=dhcp-pool ranges=123.123.123.2-123.123.123.254

2. Add DHCP Network and gateway him that will be distributed to client in this example network him was 123.123.123.0/24 and gateway him 123.123.123.1

/ip dhcp-server network add address=123.123.123.0/24 gateway=123.123.123.1

3. Add DHCP Server (in this example dhcp was applied in interface ether2)

/ip dhcp-server add interface=ether2 address-pool=dhcp-pool

4. See the DHCP status server

[admin@GateMahasiswa] > ip dhcp-server print
Flags: X – disabled, I – invalid
# NAME INTERFACE RELAY ADDRESS-POOL LEASE-TIME ADD-ARP
0 X dhcp1 ether2

The X sign said that DHCP server not yet enable you must enable before in the step 5

5. Don’t forget to be made enable previously dhcp server him

/ip dhcp-server enable 0

Afterwards the cheque came back dhcp-server like the step 4, if the X sign already was not significant has been active.

6. Tes from client

7. Now you complete install mikrotik, Mikrotik As Gatewa Server and Mikrotik As DHCP Server

“”Good Luck”"

0 komentar: