Creating a static mapping
Situations exist in which it makes sense to map a specific IP 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 create a static mapping by associating the 172.16.0.101 IP address to the device with a MAC address of 00:15:c5:b3:2e:65.
Step |
Command |
---|---|
Create a static mapping called lab and specify the static IP address. |
|
Specify the associated MAC address within the lab static mapping. |
|
Commit the changes. |
|
Show the configuration. |
|