Dynamix DW-2/4 FXO SIP Gateway User Manual
4.2.7 [ifaddr]
Configure and display Gateway network information.
usr/config$ ifaddr
LAN information and configuration
Usage:
ifaddr [-print]|[-mode used]|[-sntp mode [server][-cmcenter ipaddress]]
ifaddr [-ip ipaddress] [-mask subnetmask] [-gate defaultgateway]
ifaddr [-id username][-pwd password][-http http port]
Display LAN information and configuration.
-ip Specify
ip
address.
-mask
Set Internet subnet mask.
-gate
Specify default gateway ip address
-mode Set ip client service(0=Fix ip, 1=DHCP, 2=PPPoE).
-sntp
Set SNTP server mode and specify IP address.
-timezone Set local timezone.
-id
connection user name for pppoe.
-pwd
connection password for pppoe.
-http Http
port.
Note:
SNTP mode (0=no update, 1=specify server IP, 2=broadcast mode).
Example:
ifaddr -ip 210.59.163.202 -mask 255.255.255.0 -gate 210.59.163.254
ifaddr -mode 1
ifaddr -sntp 1 210.59.163.254
usr/config$
Parameters Usage:
-print print out current [ifaddr] settings and status
-ip
assign IP address for Gateway
-mask
assign internet subnet mask
-gate assign IP default gateway
-mode
Switch the network type (0 = Static IP; 1 = DHCP mode 2 =
PPPoE mode)
58