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 361

	



 	
(	  
( M E   	 
 +3 	 

Example
 	
 /. printFlags: X - disabled, R - radius, D - dynamic, B - blocked# ADDRESS MAC-ADDRESS HOST-NAME SERVER RATE-LIMIT STATUS0 D 10.5.2.90 00:04:EA:C6:0E:40 switch bound1 D 10.5.2.91 00:04:EA:99:63:C0 switch bound[admin@MikroTik] ip dhcp-server lease> add copy-from=0 address=10.5.2.100[admin@MikroTik] ip dhcp-server lease> printFlags: X - disabled, R - radius, D - dynamic, B - blocked#...

Page 362

Notes
+ 	
 
 	
 

	 	
  	 	
 	
 
 
 	

   
 

Q

	D
9
 
	
 7	 	
  

 
/system logging action add target=email
DHCP Option
Home menu level:/ip dhcp-server option
Description
6
   5,3$  

 
 
   
 
 	

	 
 

  5,3$ !( 
 	(

Property Description
code(integer: 1..254) - dhcp option code. All codes are available at...

Page 363

[admin@MikroTik] ip dhcp-server network>
9 
 5,3$ (   
 
 ,
	
.
 5,3$ 

 & 8

DHCP Relay
Home menu level:/ip dhcp-relay
Description
5,3$ 	  4
 	  
	
  	 
 ( 	 5,3$ 8
 	
 
 
 
 
 	 5,3$ (
Property Description
delay-threshold(time; default:none) - if secs field in DHCP packet is smaller than
delay-threshold, then this packet is ignored
dhcp-server(text) - list of DHCP servers IP addresses which should the DHCP...

Page 364

addresses to give out(text) - the pool of IP addresses DHCP server should lease to the clients
dhcp address space(IP addressnetmask; default:192.168.0.0/24) - network the DHCP server will
lease to the clients
dhcp relay(IP address; default:0.0.0.0) - the IP address of the DHCP relay between the DHCP
server and the DHCP clients
dhcp server interface(name) - interface to run DHCP server on
dns servers(IP address) - IP address of the appropriate DNS server to be propagated to the DHCP
clients
gateway(IP...

Page 365

0 dhcp_pool1 10.0.0.2-10.0.0.254
[admin@MikroTik] ip dhcp-server>
Application Examples
Dynamic Addressing, using DHCP-Relay
A
  
 
	
  	( (	 *$ 

 %
% 
 
 
  	

 
  	 5,3$
( 
 	 
 
   
  
 	 5,3$ 	 
  

   5,3$ 8

 

 
 5,3$ (
 	     
 
 	 5,3$ ( 	
 	 5,3$ 	  ( - *$ 

 7
!&%!)(%!%+&1	
!&%!)(%&%+&1
	
 	 
...

Page 366

*$ 	 /,50
[admin@DHCP-Server] ip address> printFlags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 192.168.0.1/24 192.168.0.0 192.168.0.255 To-DHCP-Relay1 10.1.0.2/24 10.1.0.0 10.1.0.255 Public[admin@DHCP-Server] ip address>
*$ 	 /,53
[admin@DHCP-Relay] ip address> printFlags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 192.168.0.1/24 192.168.0.0 192.168.0.255 To-DHCP-Server1 192.168.1.1/24 192.168.1.0...

Page 367

0 Local1-Relay Local1 192.168.0.1 192.168.1.11 Local2-Relay Local2 192.168.0.1 192.168.2.1[admin@DHCP-Relay] ip dhcp-relay>
IP Address assignment, using FreeRADIUS Server
A
  
 
	
  	

 
 	
 *$ 	  

 
 
 +5*0! (
6 	 
	
  		 	( 

	 #+5*0! P
 	 
 
 
  
 
00:0B:6B:31:02:4B Auth-Type := Local, Password == Framed-IP-Address = 192.168.0.55



 
client 172.16.0.1 {secret =...

Page 368

/ip pool add name=Radius-Clients ranges=192.168.0.11-192.168.0.100
2.+ 	 5,3$ (
/ip dhcp-server add address-pool=Radius-Clients use-radius=yes interface=Local \disabled=no
3.3
 5,3$ 


/ip dhcp-server network add address=192.168.0.0/24 gateway=192.168.0.1 \dns-server=159.148.147.194,159.148.60.20
9 
 

 
 +3 	++P+IP)IP2!P+&P1I 		 ( *$ 	!&%!)(%+%**
Page 357 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and...

Page 369

DNS Client and Cache
Document revision 1.3 (November 28, 2007, 10:44 GMT)
This document applies to MikroTik RouterOS V3.0
Table of Contents
TableofContents
Summary
Specifications
Description
AdditionalDocuments
DNSCacheSetup
Description
PropertyDescription
Notes
Example
CacheMonitoring
Description
PropertyDescription
AllDNSEntries
Description
PropertyDescription
StaticDNSEntries
Description
PropertyDescription
Notes
Example
FlushingDNScache
CommandDescription
Example
General Information
Summary
59! 	...

Page 370

+  
 
 59! 	
 
	 	
  
 	 	 59! (  	
 59!7	

 


(  
 	
   	 	 	 59! ( 
 
 7( 


 6
 


 8
 	 
	 
  
 
 
 3$ 	
 05$ 59! 8
 
 
  printprimary-dns: 159.148.60.2secondary-dns: 0.0.0.0allow-remote-requests: yescache-size: 2048KiBcache-max-ttl: 1w
Page 359 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and...
Start reading MikroTik Router OS V3.0 User Manual
All MikroTik manuals