Specifications

Version 2.0
145
ifconfig
Summary
Modify the default IP address of the UEFI IP4 Network Stack.
Usage
ifConfig [-?] [-c [Name]] [-l [Name]] [-s <Name> dhcp | <static <IP> <Mask>
<Gateway>> [permanent]]
Options
Name
Adapter name, i.e., eth0
-c [Name]
Clear the configuration for all or specified interface, and the network stack for
related interface will fall back to the DHCP as default.
-l [Name]
List the configuration for all or the specified interface.
-s <
Name> static <IP> <SubnetMask> <GatewayMask> [permanent]
Use static IP4 address configuration for all or specified interface. If permanent
is not present, the configuration is one-time only, otherwise this configuration
request will survive a network stack reload.
-s <Name> dhcp [permanent]
Use DHCP4 to request the IP4 address configuration dynamically for all interface
or specified interface. If permanent is not present, the configuration is one-time
only, otherwise this configuration request will survive a network stack reload.
IP
IP4 address in four integer values (each between 0-255)
. i.e., 192.168.0.10
SubnetMask
Subnet
mask in four integer values (each between 0-255), i.e., 255.255.255.0
GatewayMask
Default gateway
in four integer values (each between 0-255), i.e., 192.168.0.1
-?
Display the help message
Description
This command is used to modify the default IP address for the UEFI IP4 Network
Stack.