FXS Gateway Overview
- 84 -
-autodns: Auto or manual configures the DNS IP address when gateway device is
under DHCP and PPPoE mode.
-timezone: set local time zone according to GMT
-ipsharing: To specify a global fixed IP address, user can add this IP address in the
command.
usr/config$ ifaddr -ipsharing 1 210.11.22.33
Note:
If the IP address is not a fixed one, the dedicated IP address is not necessary
in the command. However, dynamic IP Address is not working in Peer-to-Peer
mode.
For example:
usr/config$ ifaddr -print
Internet address information
WAN IP address : 192.168.13.4
Subnet mask : 255.255.248.0
Default gateway : 192.168.8.254
DHCP startup : OFF
SNTP : mode=1
server 168.95.195.12
time zone : GMT+8
cycle=1024 mins
IPSharing : no IPSharing device.
Primary DNS Server : 168.95.192.1
Secondary DNS Server : 168.95.1.1
usr/config$
Figure 21-19 ifaddr –print command
21.7.7
[time]
When SNTP function of Gateway is enabled and SNTP server can be found as
well, type [time] command to show current network time.
usr/config$ time
Current time is WED SEP 17 12:36:49 2003
usr/config$