IPCONFIG
Configures network IP settings
Platform: |
OEM729, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7-I, SMART7-SI |
This command is used to configure static/dynamic TCP/IP properties for the Ethernet connection.
In addition to configuring an IP address and netmask for the interface, this command also includes a gateway address.
For certain applications when STATIC IP address is used, it is necessary to specify a DNS server using the DNSCONFIG command in order to use host names.
Message ID: 1243
Abbreviated ASCII Syntax:
IPCONFIG [interface_name] address_mode [IP_address [netmask [gateway]]]
Factory Default:
IPCONFIG ETHA DHCP
ASCII Examples:
IPCONFIG ETHA STATIC 192.168.74.10 255.255.255.0 192.168.74.1
Field |
Field Type |
ASCII Value |
Binary Value |
Description |
Format |
Binary Bytes |
Binary Offset |
1 |
Command header |
- |
- |
IPCONFIG header This field contains the command name for abbreviated ASCII or the message header for ASCII or Binary. |
- |
H |
0 |
2 |
interface_name |
ETHA |
2 |
Name of the Ethernet interface |
Enum |
4 |
H |
3 |
address_mode |
DHCP |
1 |
Use Dynamic IP address |
Enum |
4 |
H+4 |
STATIC |
2 |
Use Static IP address |
|||||
4 |
IP_address |
ddd.ddd.ddd.ddd |
IP Address-decimal dot notation |
String [16] |
variable1 |
H+8 |
|
5 |
netmask |
ddd.ddd.ddd.ddd |
Netmask-decimal dot notation |
String |
variable1 |
H+24 |
|
6 |
gateway |
ddd.ddd.ddd.ddd |
Gateway-decimal dot notation |
String [16] |
variable1 |
H+40 |