Command with FXS Gateway
- 170 -
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