Manual:IP/Pools: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Versions|2.9, v3, v4 +}} | |||
__TOC__ | |||
<div class="manual"> | |||
IP pools are used to define range of IP addresses that is used for DHCP server and Point-to-Point servers | IP pools are used to define range of IP addresses that is used for DHCP server and Point-to-Point servers | ||
Line 13: | Line 18: | ||
IP pools simply group IP addresses for further usage. It is a single configuration point for all features that assign IP addresses to clients. | 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 | Whenever possible, the same ip address is given out to each client (OWNER/INFO pair). }} | |||
Whenever possible, the same ip address is given out to each client (OWNER/INFO pair). | |||
==Setup== | ==Setup== | ||
<p id="shbox"><b>Sub-menu:</b> <code>/ip pool</code></p> | |||
===Property Description=== | ===Property Description=== | ||
Line 55: | Line 58: | ||
* '''address''' (read-only: IP address) - IP address that is assigned to client form the pool | * '''address''' (read-only: IP address) - IP address that is assigned to client form the pool | ||
* '''info''' (read-only: name) - | * '''info''' (read-only: name) - For DHCP MAC address from leases menu and for PPP connections username of PPP type client | ||
* '''owner''' (read-only: MAC address) - | * '''owner''' (read-only: MAC address) - Service which is using this IP address | ||
* '''pool''' (read-only: name) - name of the IP pool | * '''pool''' (read-only: name) - name of the IP pool | ||
Line 69: | Line 72: | ||
</pre> | </pre> | ||
[[Category:Manual]] | </div> | ||
{{cont}} | |||
[[Category:Manual|Pool]] | |||
[[Category:IP|Pool]] |
Latest revision as of 10:26, 13 February 2019
Applies to RouterOS: 2.9, v3, v4 +
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: Level1
- Submenu level: /ip pool
- Standards and Technologies: none
- Hardware usage: Not significant
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: Whenever possible, the same ip address is given out to each client (OWNER/INFO pair).
Setup
Sub-menu: /ip pool
Property Description
- 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
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 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
Description
Here you can see all used IP addresses from IP pools.
Property Description
- address (read-only: IP address) - IP address that is assigned to client form the pool
- info (read-only: name) - For DHCP MAC address from leases menu and for PPP connections username of PPP type client
- owner (read-only: MAC address) - Service which is using this IP address
- pool (read-only: name) - name of the IP pool
Example
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
[ Top | Back to Content ]