FXS Gateway Overview
- 83 -
-dns specify IP address of DNS Server.
-timezone Set local timezone.
-ipsharing Specify usage of an IP sharing device and specify IP address.
-httpdport WEB management HTTP port.
-stun Specify STUN Server address(x:disable STUN).
-stunport Specify STUN Server port.
-security The encrypt switch (0:Off/1:On).
-key The encrypt key
Note:
Range of ip address setting (0.0.0.0 ~ 255.255.255.255).
DHCP client setting value (On=1, Off=0). If DHCP set to 'On',
Obtain a set of Internet configuration from DHCP server assgined.
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 -dhcp 1
ifaddr -sntp 1 210.59.163.254
ifaddr -ipsharing 1 210.59.163.254
ifaddr -autodns 1
ifaddr -dns 1 168.95.1.1
ifaddr -security 1
ifaddr -key welltech
usr/config$
Figure 21-18 ifaddr command list
Parameter Usages:
-print: Print current IP setting and status
-ip: Assigned IP address for Gateway
-mask: Assigned internet subnet mask
-gate: Assigned IP default gateway
-dhcp: Dynamic Host Configuration (1 = ON; 0 = OFF)
-dns: Setup DNS Server IP Address.
-sntp: Simple Network Time Protocol (0=No update, 1=Specify server IP, 2=broadcast
mode). When SNTP function is activated, users have to specify a SNTP
server as network time source. An example is demonstrated below:
usr/config$ ifaddr -sntp 1 10.1.1.1