Home > MikroTik > Router > MikroTik Router OS V3.0 User Manual

MikroTik Router OS V3.0 User Manual

Here you can view all the pages of manual MikroTik Router OS V3.0 User Manual. The MikroTik manuals for Router are available online for free. You can easily download all the documents as PDF.

Page 351

DHCP Client and Server
Document revision 2.8 (December 12, 2007, 11:43 GMT)
This document applies to MikroTik RouterOS V3.0
Table of Contents
TableofContents
Summary
QuickSetupGuide
Specifications
Description
AdditionalDocuments
DHCPClientSetup
Description
PropertyDescription
CommandDescription
Notes
Example
DHCPServerSetup
Description
PropertyDescription
Notes
Example
StoreLeasesonDisk
Description
PropertyDescription
DHCPNetworks
PropertyDescription
Notes
DHCPServerLeases
Description...

Page 352

Notes
Example
Question&Answer-BasedSetup
CommandDescription
Notes
Example
DynamicAddressing,usingDHCP-Relay
IPAddressassignment,usingFreeRADIUSServer
General Information
Summary
 5,3$ &5
	 ,
 3
	

 $
  
  	 


  *$ 	 
 	


   
 ! 

	

 
 
 ( 	
 

 	
 	
  	

 

#3-/:/
I
	 	  5,3$
•*$ 	


 
 A+9 	7 	
  

• 
	

 *$ 


 
 	7...

Page 353

[admin@Server] ip dhcp-client> print detailFlags: X - disabled, I - invalid0 interface=wlan1 add-default-route=yes use-peer-dns=yes status=boundaddress=172.16.0.20/12 gateway=172.16.0.1 dhcp-server=192.168.0.1primary-dns=159.148.147.194 expires-after=2d23:58:52[admin@Server] ip dhcp-client>
Specifications
Packages required:dhcp
License required:level1
Home menu level:/ip dhcp-client, /ip dhcp-server, /ip dhcp-relay
Standards and Technologies:DHCP
Description
 5,3$ 
 ( 	
 		
 *$...

Page 354

client-id(text) - corresponds to the settings suggested by the network administrator or ISP.
Commonly it is set to the clients MAC address, but it may as well be any text string
dhcp-server(read-only: IP address) - IP address of the DHCP server
expires-after(read-only: time) - time, when the lease expires (specified by the DHCP server)
gateway(read-only: IP address) - IP address of the gateway which is assigned by DHCP server
host-name(text) - the host name of the client as sent to a DHCP server...

Page 355

/ip dhcp-client add interface=ether1 disabled=no[admin@MikroTik] ip dhcp-client> print detailFlags: X - disabled, I - invalid0 interface=ether1 add-default-route=yes use-peer-dns=yes use-peer-ntp=yesstatus=bound address=192.168.0.65/24 gateway=192.168.0.1dhcp-server=192.168.0.1 primary-dns=192.168.0.1 primary-ntp=192.168.0.1expires-after=9m44s[admin@MikroTik] ip dhcp-client>
DHCP Server Setup
Home menu level:/ip dhcp-server
Description
 
 
 	
 
(	 (  	 F


7 ...

Page 356

but 8 - the lowest. If rx-rate-min and tx-rate-min are not specified rx-rate and tx-rate values are
used. The rx-rate-min and tx-rate-min values can not exceed rx-rate and tx-rate values.
•Ascend-Data-Rate- tx/rx data rate limitation if multiple attributes are provided, first limits tx
data rate, second - rx data rate. If used together with Ascend-Xmit-Rate, specifies rx rate. 0 if
unlimited
•Ascend-Xmit-Rate- tx data rate limitation. It may be used to specify tx limit only instead of
sending two...

Page 357

name(name) - reference name
relay(IP address; default:0.0.0.0) - the IP address of the relay this DHCP server should process
requests from:
•0.0.0.0- the DHCP server will be used only for direct requests from clients (no DHCP really
allowed)
•255.255.255.255- the DHCP server should be used for any incomming request from a DHCP
relay except for those, which are processed by another DHCP server that exists in the /ip
dhcp-server submenu
src-address(IP address; default:0.0.0.0) - the address which the DHCP...

Page 358


 	  
 	 
 &	 
 	  

 * 
 
   ( 
 &
( 

 
  

 
 
  
 
	

 	
 	
( 	 	  
 
 	    *
 
 	 
( 	 ( 
 
 	  	 
 	

 

  
 
  

 
 
 
 8

Property Description
store-leases-disk(time-interval|immediately|never; default:5min) - how frequently lease
changes should be stored on disk
DHCP Networks
Home menu level:/ip...

Page 359

DHCP Server Leases
Home menu level:/ip dhcp-server lease
Description
5,3$ ( 	 
   
 

 	
 	
	 (% 	   	 	 
 	 
	 

 E 	
 	 	 
	
 	 
  	 	
	 

 &

  +3
	 
  *$ 	
I
	 
 5,3$ 	 
 		
 	 
1.	
 
 	  
$


	

2. 	 

 	  	
 *$ 	 
 (  

3. 
 

  ( 
	
	 	
 	...

Page 360

host-name(read-only: text) - shows host name option from last received DHCP request
lease-time(time; default:0s) - time that the client may use the address
•0s- lease will never expire
mac-address(MAC address; default:00:00:00:00:00:00) - if specified, must match the MAC
address of the client
radius(read-only:yes | no) - shows, whether this dynamic lease is authenticated by RADIUS or
not
rate-limit(read-only: text; default:) - sets rate limit for active lease. Format is: rx-rate[/tx-rate]...
Start reading MikroTik Router OS V3.0 User Manual
All MikroTik manuals