Manual:IPv6/Pool: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 23: Line 23:
|prop=Property
|prop=Property
|desc=Description
|desc=Description
}}
{{Mr-arg-table
|arg=chunk-size
|type=[1..32]bits
|default=32bits
|desc=Option represents the prefix size that will be give out to the client. For example, if prefix is 2001::/16 and chunk-size=32, then client will receive prefix with mask of 16+32=46.
}}
}}


Line 40: Line 33:




{{Mr-arg-table-end
{{Mr-arg-table
|arg=prefix
|arg=prefix
|type=IPv6/0..128
|type=IPv6/0..128
Line 47: Line 40:
}}
}}


{{Mr-arg-table-end
|arg=prefix-length
|type=integer [1..128]
|default=
|desc=Option represents the prefix size that will be give out to the client.
}}
'''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                                     CHUNK-SIZE
  # NAME                  PREFIX                                     PREFIX-LENGTH
  0 test                  2001::/64                                       32bits
  0 test                  2001::/60                                       62bits
[admin@test-host] /ipv6 pool>
[admin@test-host] /ipv6 pool>


Line 79: Line 107:
|arg=info
|arg=info
|type=string
|type=string
|desc=Name of the interface 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.
}}
}}


{{Mr-arg-ro-table
{{Mr-arg-ro-table
|arg=owner
|arg=owner
|type=MAC
|type=string
|desc=MAC address of the client
|desc=What reserved the prefix ("DHCP", etc.)
}}
}}



Latest revision as of 05: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 ]