|
Home > |
|---|
Configure a network interface to use DHCP. Using DHCP will automatically update the SafeNet appliance's system name servers and other network settings that are transmitted via DHCP.
Note: When DHCP is used, the appliance's IP address may change automatically, which may lead to certificate mismatches and client connection issues.
CAUTION: Do not specify DHCP if you intend to use network interface port bonding - a change to the leased IP address disrupts port bonding, which must be manually disabled and then reconfigured before it can be re-enabled.
Note: You cannot configure an interface that is a member of an active bond. You must first disable the bond. See network interface bonding
network interface dhcp -device <netdevice> [-force] [-ipv6]
| Option | Shortcut | Description |
|---|---|---|
| -device <netdevice> | -d |
Specifies the network device you want to configure. Valid values: eth0, eth1 |
| -force | -f | Force the action without being prompted. |
| -ipv6 | -i | Specifies that you want to obtain an IPv6 address via DHCPv6. |
lunash:>network interface dhcp -device eth1 -ipv6
NOTICE: The network service must be restarted for new network settings to take effect.
If you are sure that you wish to restart the network, then type 'proceed', otherwise type 'quit'
> proceed
Proceeding...
Restarting network service...
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Bringing up interface eth1: [ OK ]
Restarting ssh service...
Stopping sshd: [ OK ]
Starting sshd: [ OK ]
Command Result : 0 (Success)