Difference between revisions of "Manual:IPv6/Pool"

From MikroTik Wiki
Jump to: navigation, search
(Example)
 
(5 intermediate revisions by the same user not shown)
Line 47: Line 47:
 
}}
 
}}
  
 +
 +
 +
'''Read-only properties'''
 +
 +
 +
{{Mr-arg-table-h
 +
|prop=Property
 +
|desc=Description
 +
}}
 +
 +
{{Mr-arg-ro-table
 +
|arg=dynamic
 +
|type=yes {{!}} no
 +
|desc=Whether pool is dynamic.
 +
}}
 +
 +
{{Mr-arg-ro-table
 +
|arg=id
 +
|type=integer
 +
|desc=
 +
}}
 +
 +
{{Mr-arg-ro-table-end
 +
|arg=expire-time
 +
|type=time
 +
|desc=Expire time is set to dynamic pools added by [[M:IPv6/DHCP_Client | DHCPv6 client]].
 +
}}
 
===Example===
 
===Example===
  
Define a pool named "test" with prefix "2001::/64":
+
Example will create a pool of "2001::/60" to give out /62 prefixes:
  
 
<pre>
 
<pre>
 
[admin@test-host] /ipv6 pool> add             
 
[admin@test-host] /ipv6 pool> add             
 
name: test
 
name: test
prefix: 2001::/64
+
prefix: 2001::/60
 +
prefix-length: 62
 
[admin@test-host] /ipv6 pool> print  
 
[admin@test-host] /ipv6 pool> print  
 
  # NAME                  PREFIX                                    PREFIX-LENGTH
 
  # NAME                  PREFIX                                    PREFIX-LENGTH
Line 79: Line 107:
 
|arg=info
 
|arg=info
 
|type=string
 
|type=string
|desc=Name of the interface/mac address to which the client is connected to.
+
|desc=Shows DUID related information received from client (value in hex).Can contain also raw timestamp in hex.
 
}}
 
}}
  

Latest revision as of 07:10, 14 August 2018

Version.png

Applies to RouterOS: v5.7+


Summary

Sub-menu: /ipv6 pool
Standards:
Package : IPv6


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

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


Pool Configuration

Property Description
name (string; Default: ) Descriptive name of the pool.
prefix (IPv6/0..128; Default: ) Ipv6 address prefix
prefix-length (integer [1..128]; Default: ) Option represents the prefix size that will be give out to the client.


Read-only properties


Property Description
dynamic (yes | no) Whether pool is dynamic.
id (integer)
expire-time (time) Expire time is set to dynamic pools added by DHCPv6 client.

Example

Example will create a pool of "2001::/60" to give out /62 prefixes:

[admin@test-host] /ipv6 pool> add            
name: test
prefix: 2001::/60
prefix-length: 62
[admin@test-host] /ipv6 pool> print 
 # NAME                  PREFIX                                     PREFIX-LENGTH
 0 test                  2001::/60                                       62bits
[admin@test-host] /ipv6 pool>

Used Addresses from Pool

Sub-menu: /ipv6 pool used


In this menu you can see all used IPv6 addresses from the pools.

All properties are read-only.

Property Description
info (string) Shows DUID related information received from client (value in hex).Can contain also raw timestamp in hex.
owner (string) What reserved the prefix ("DHCP", etc.)
pool (string) Name of the pool.
prefix (IPv6/0..128) IPv6 prefix that is assigned to client form the pool.


[ Top | Back to Content ]