Fortinet black logo

Handbook

Managing Fortinet devices

6.0.0
Copy Link
Copy Doc ID 4afb0436-a998-11e9-81a4-00505692583a:128236
Download PDF

Managing Fortinet devices

DHCP server port-based address allocation

This feature provides port-based address allocation support when using the Dynamic Host Configuration Protocol (DHCP). The DHCP server supports address allocation based on the point of attachment of the client network.

Network devices performing DHCP Snooping can provide additional information about clients by adding options to the DHCP packets.

DHCP Snooping devices can insert information (option 82) about the client's network location into the packet of that request. The device then sends the request to the DHCP server. The DHCP server reads the option 82 information in the packet header and uses it to implement the IP address or another parameter for the client.

Syntax

config system dhcp server

edit <name>

set option82-match {enable | disable}

config option82-pool

edit <name>

set circuit-id <hex>

set remote-id <hex>

set address <ip address>

set description <string>

next

end

next

end

note icon

  • IPs within the option82 pool are not available for normal DHCP lease. Only a request from a matching circuit-id/remote-id results in the address being leased.
  • If a lease is out and a new request is received, the old lease is automatically removed and a new lease is issued.

Managing Fortinet devices

DHCP server port-based address allocation

This feature provides port-based address allocation support when using the Dynamic Host Configuration Protocol (DHCP). The DHCP server supports address allocation based on the point of attachment of the client network.

Network devices performing DHCP Snooping can provide additional information about clients by adding options to the DHCP packets.

DHCP Snooping devices can insert information (option 82) about the client's network location into the packet of that request. The device then sends the request to the DHCP server. The DHCP server reads the option 82 information in the packet header and uses it to implement the IP address or another parameter for the client.

Syntax

config system dhcp server

edit <name>

set option82-match {enable | disable}

config option82-pool

edit <name>

set circuit-id <hex>

set remote-id <hex>

set address <ip address>

set description <string>

next

end

next

end

note icon

  • IPs within the option82 pool are not available for normal DHCP lease. Only a request from a matching circuit-id/remote-id results in the address being leased.
  • If a lease is out and a new request is received, the old lease is automatically removed and a new lease is issued.