Creating a static mapping
Situations exist in which it makes sense to map a specific IPv6 address to a specific host rather than dynamically assign an IP address from a pool of addresses. This mapping is known as a static mapping.
A static mapping is defined by using the static-mapping option of the service dhcp-server configuration node.
The following example shows how to map the 2001:db8:100::101 IP address to the device with a MAC address of 00:0c:29:34:91:45.
Step |
Command |
---|---|
Create a static mapping called lab and specify the static IP address. |
|
Specify the host identifier string ( "00:0c:29:34:91:45"- 6 bytes of host MAC address) within the static mapping called lab. |
|
Commit the information. |
|
Show the configuration. |
|