5.2. IPv4 DHCP Client
In a NetDefend Firewall, any Ethernet interface or VLAN interface can act as an IPv4 DHCP client
so that the IPv4 address and network for the interface can be assigned by an external DHCP
server. This feature can be enabled or disabled by changing the
Enable DHCP
property for the
interface object in the NetDefendOS configuration. The default settings are as follows:
•
Ethernet interfaces - The default setting for Ethernet interfaces depends on the hardware
platform. For the NetDefendOS product series, consult the relevant hardware guide.
•
VLAN interfaces - DHCP is always disabled by default for VLAN interfaces.
Important: IPv4 DHCP clients are not supported in HA clusters
The IPv4 DHCP client is not supported for interfaces in a NetDefendOS high availability
cluster. If it is enabled in a cluster, this will result in the error message
Shared HA IP
address not set
when trying to commit the configuration.
As soon as DHCP is enabled on an interface and the changed NetDefendOS configuration is
deployed, the following will occur:
•
A DHCP lease request is issued on the DHCP enabled interface.
•
A listening DHCP server will issue a lease to the interface.
•
NetDefendOS will change the IPv4 address and network of the interface to become the
values in the lease.
•
The NetDefendOS address book objects associated with the interface will lose their original
values and take on the value
0.0.0.0
for the IPv4 address and
0.0.0.0/0
for the IPv4 network.
The address book objects will not show the DHCP assigned values although these will be
shown when examining the properties of the interface configuration object.
The same process of requesting a lease will also take place if NetDefendOS is restarted. If the
DHCP is subsequently disabled on an interface, the administrator will need to manually assign
the IPv4 address and network.
Note: The IP address icon changes in the Web Interface
When IP addresses are allocated to an interface, the IPv4 address and network icons
change in the Web Interface display of interface properties so they have an asterisk in
the lower left corner.
The examples below shows how the option is enabled for an Ethernet interface. The procedure is
almost identical for a VLAN interface.
Example 5.1. Enabling an Ethernet Interface as a DHCP Client
This example shows how to enable the Ethernet interface
If1
as a DHCP client.
Command-Line Interface
gw-world:/> set Interface Ethernet If1 DHCPEnabled=Yes
Chapter 5: DHCP Services
395
Содержание NetDefendOS
Страница 30: ...Figure 1 3 Packet Flow Schematic Part III Chapter 1 NetDefendOS Overview 30 ...
Страница 32: ...Chapter 1 NetDefendOS Overview 32 ...
Страница 144: ...Chapter 2 Management and Maintenance 144 ...
Страница 220: ... Enable DHCP passthrough Enable L2 passthrough for non IP protocols 4 Click OK Chapter 3 Fundamentals 220 ...
Страница 267: ... SourceNetwork lannet DestinationInterface any DestinationNetwork all nets 4 Click OK Chapter 3 Fundamentals 267 ...
Страница 284: ...Chapter 3 Fundamentals 284 ...
Страница 360: ...The ospf command options are fully described in the separate NetDefendOS CLI Reference Guide Chapter 4 Routing 360 ...
Страница 392: ...Chapter 4 Routing 392 ...
Страница 396: ...Web Interface 1 Go to Network Ethernet If1 2 Select Enable DHCP 3 Click OK Chapter 5 DHCP Services 396 ...
Страница 419: ... Host 2001 DB8 1 MAC 00 90 12 13 14 15 5 Click OK Chapter 5 DHCP Services 419 ...
Страница 420: ...Chapter 5 DHCP Services 420 ...
Страница 424: ...2 Now enter Name lan_Access Action Expect Interface lan Network lannet 3 Click OK Chapter 6 Security Mechanisms 424 ...
Страница 573: ...Chapter 6 Security Mechanisms 573 ...
Страница 575: ...This section describes and provides examples of configuring NAT and SAT rules Chapter 7 Address Translation 575 ...
Страница 607: ...Chapter 7 Address Translation 607 ...
Страница 666: ...Chapter 8 User Authentication 666 ...
Страница 775: ...Chapter 9 VPN 775 ...
Страница 819: ...Chapter 10 Traffic Management 819 ...
Страница 842: ...Chapter 11 High Availability 842 ...
Страница 866: ...Default Enabled Chapter 13 Advanced Settings 866 ...
Страница 879: ...Chapter 13 Advanced Settings 879 ...