366
1.1.11 Get/Set
Network
Interface
info
Example: Get Network interface information
http://<servername>/cgi-bin/view/param?action=list&group=General.Network.eth0
Return:
Parameter name
value
Security
level
(get/set)
Description
Brocast
IP address
6/6
Broadcast address. (read only)
DNSAuto
on, off
6/6
Specifies if the DNS server should be obtained
from a DHCP server.
DNSServer1
IP address
6/6
Primary Domain Name System server.
DNSServer2
IP address
6/6
Secondary Domain Name System server.
BootProto
dhcp,
6/6
Enable/disable dynamic IP address
none
assignment.
IPAddress
IP address
6/6
IP address. The physical address of the device
on the network.
MACAddress
00:xx:xx:xx:xx:xx
6/4
MAC address. The unique identity of the
device. (read only)
SubnetMask
IP address
6/6
Subnet mask. Divides the network
DefaultRouter
IP address
6/6
Default gateway address
IPAddressRange
string
6/6
Auto assign range when DHCP fail.
Ex:192.168.0.99-192.168.0.254
root.General.Network.eth0.Brocast=192.168.1.255
root.General.Network.eth0.DNSAuto=192.168.1.255
root.General.Network.eth0.DNSServer1=192.168.1.255
root.General.Network.eth0.DNSServer2=192.168.1.255
root.General.Network.eth0.BootProto=192.168.1.255
root.General.Network.eth0.IPAddress=192.168.1.255
root.General.Network.eth0.MACAddress=192.168.1.255
root.General.Network.eth0.SubnetMask=192.168.1.255
root.General.Network.eth0.DefaultRouter=192.168.1.255
root.General.Network.eth0.IPAddressRange=192.168.1.25
5
Example: Set Network interface information
http://<servername>/cgi-bin/admin/param?action=update&General.Network.eth0.BootProto=off&Gen
eral.Network.eth0.IPAddress=192.168.1.99
Return:
OK