FXS H.323 VoIP Gateway User Manual
-gate
Specify WAN port static IP default gateway IP address
-dns
Set DNS server IP address. Provide set DNS primary and
secondary IP address (1=primary IP address, 2=secondary).
-http
Specify http port number.
-lanip
Specify LAN port IP address (For NAT function).
-sntp
Set SNTP server mode and specify IP address.
SNTP mode (0=No update, 1=Specify server IP, 2=broadcast mode).
-timezone Set local timezone.
-ipsharing Specify usage of an IP sharing device and specify IP address
(0=Disable, 1=Enable).
-ipchange Replace IP address if the shared IP is changed
(0=Disable, 1=Enable).
-id
PPPoE connection user name.
-pwd
PPPoE connection password.
-reboot
Reboot after remote host disconnection in PPPoE mode
(0=No Reboot, 1=Yes Reboot).
Note:
Range of IP address setting (0.0.0.0 ~ 255.255.255.255).
Example:
ifaddr -mode 0
ifaddr -ip 210.59.163.202 -mask 255.255.255.0 -gate 210.59.163.254
ifaddr -dns 1 168.92.1.1 -dns 2 168.95.1.2
ifaddr -http 80
ifaddr -lanip 192.168.123.123
ifaddr -sntp 1 210.59.163.254
ifaddr -ipsharing 1 210.59.163.254
ifaddr -ipchange 1
ifaddr -id 123456@hinet.net -pwd 123456 -reboot 1
Figure 24-15 ifaddr commend list
Parameter Usages:
-print: Print current IP setting and status
-mode: Specify WAN IP mode (0=Static, 1=DHCP, 2=PPPoE), DHCP mode: Dynamic Host
Configuration, PPPoE mode: PPPoE Dial-up function.
-ip: Assigned IP address for Gateway
-mask: Assigned internet subnet mask
-gate: Assigned IP default gateway
-dns: Setup DNS Server IP Address.
- 98 -