2. Reserving a DHCP IP address for a particular MAC address (IP/MAC binding)
Use the CLI command config system dhcp reserved-address to reserve an IP address for a particular client identified by its device MAC address and type of connection. The DHCP server then always assigns the reserved IP address to the client.
Syntax:
config system dhcp reserved-address
edit <name_str> - the number in the IP/MAC binding table
set ip <address_ipv4> - IP address value
set mac <address_hex> - MAC address value
set type {regular | ipsec}
end
Note: An IP address bound to a MAC address must be in the range of IP addresses (start-IP to end-IP) from an existing DHCP server already configured on the FortiGate.
Delete DHCP IP MAC Binding:
If we want to delete IP and MAC binding then execute the following command.
Syntax:
config system dhcp reserved-address
delete <name_str>
end
'via Blog this'
Ingen kommentarer:
Legg inn en kommentar