Difference between revisions of "Manual:IP/Pools"
|Line 22:||Line 22:|
Revision as of 11:34, 30 April 2010
IP pools are used to define range of IP addresses that is used for DHCP server and Point-to-Point servers
- Packages required: system
- License required: Level1
- Submenu level: /ip pool
- Standards and Technologies: none
- Hardware usage: Not significant
IP pools simply group IP addresses for further usage. It is a single configuration point for all features that assign IP addresses to clients.
- name (name) - the name of the pool
- next-pool (name) - when address is acquired from pool that has no free addresses, and next-pool property is set to another pool, then next IP address will be acquired from next-pool
- ranges (IP address) - 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
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 range:
[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>
Used Addresses from Pool
- Submenu level: /ip pool used
Here you can see all used IP addresses from IP pools.
- address (read-only: IP address) - IP address that is assigned to client form the pool
- info (read-only: name) - name of the interface to which the client is connected to
- owner (read-only: MAC address) - MAC address of the client
- pool (read-only: name) - name of the IP pool
See used addresses from pool:
[admin@MikroTik] ip pool used> print POOL ADDRESS OWNER INFO local 192.168.0.100 00:0C:42:03:1F:60 test local 192.168.0.99 00:0C:42:03:21:0F test