IP Pool Management

Document revision 1.1 (17-Feb-2003)
This document applies to the MikroTik RouterOS v2.7

Table of Contents

Summary

IP pools are used to define range of IP addresses that is used for DHCP server and Point-to-Point servers

Specifications

Packages required : system
License required : Any
Home menu level : /ip pool
Protocols utilized : None
Hardware usage: not significant

Related Documents

Software Package Installation and Upgrading
IP Addresses and Address Resolution Protocol (ARP)
Authentication, Authorization and Accounting
Dynamic Host Configuration Protocol (DHCP) Client and Server
HotSpot Gateway
Universal Client Interface
General Point to Point Settings

Description

IP pools simply group IP addresses for further usage. It is a single configuration point for all features that assign IP addresses to clients.

Note that whenever possible, the same ip address is given out to each client (OWNER/INFO pair).

IP Pool Setup

Submenu level : /ip pool

Property Description

name (name) – name of the pool
ranges (string) - IP address list of non-overlapping IP address ranges in form of: from1-to1,from2-to2,...,fromN-toN. For example, 10.0.0.1-10.0.0.27,10.0.0.32-10.0.0.47

Example

To define a pool named ip-pool with the 10.0.0.1-10.0.0.125 address range excluding gateway's address 10.0.0.1 and server's address 10.0.0.100, and the other pool dhcp-pool, with the 10.0.0.200-10.0.0.250 address pool:
[admin@MikroTik] ip pool> add name=ip-pool ranges=10.0.0.2-10.0.0.99,10.0.0.101
10.0.0.126
[admin@MikroTik] ip pool> add name=dhcp-pool ranges=10.0.0.200-10.0.0.250
[admin@MikroTik] ip pool> print
  # NAME                                        RANGES
  0 ip-pool                                     10.0.0.2-10.0.0.99
                                                10.0.0.101-10.0.0.126
  1 dhcp-pool                                   10.0.0.200-10.0.0.250

[admin@MikroTik] ip pool>

Monitoring Used IP Addresses

Command name : /ip pool used print

Property Description

Statistics:

pool (name) - name of the pool, the address is given from
address (IP address) - IP address assigned to the client
owner (string) - application name, that has given the address out
info (string) - unique client identifier

Example

To see, what addresses are currently used:
[admin@MikroTik] ip pool> used print
 POOL		       ADDRESS	       OWNER		    INFO
 dhcp-pool	       10.0.0.250      DHCP		    00:e0:c5:6e:23:1d
[admin@MikroTik] ip pool>


© Copyright 1999-2003, MikroTik