15: Configuring a mobile connection
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW1000 Series User Manual
Issue: 2.3
Page 135 of 463
Web: Use default gateway
UCI: network.3G.defaultroute
Opt: defaultroute
Enables this interface as a default route.
0
Do not use as a default route.
1
Use as a default route.
Web: Use gateway metric
UCI: network.3G.metric
Opt: metric
Defines the metric for the default route. Lower number metrics
are used first when route is up.
0
Range
Web: IPv4 Mode
UCI: network.3G.ipv4mode
Opt: ipv4mode
Defines the IPv4 address assignment approach for mobile
interfaces in Ethernet Mode.
Note: by default, mobile interfaces are in Ethernet mode.
Web
Description
UCI
None
No dynamic assignment
none
DHCP
DHCP address assignment
dhcp
Web: IPv6 Mode
UCI: network.3G.ipv6mode
Opt: ipv6mode
Defines the IPv6 address assignment approach for mobile
interfaces in Ethernet Mode.
Note: by default, mobile interfaces are in Ethernet mode.
Web
Description
UCI
None
No dynamic assignment
none
DHCPv6
DHCP address assignment
dhcp
RA
Router Advertisement (RA)
assignment
ra
DHCPv6 after
RA
Wait for RA, then start DHCP ra_then_dhcp
Web: Use DNS servers advertised by peer
UCI: network.3G.peerdns
Opt: peerdns
If unchecked, the advertised DNS server addresses are ignored.
0
Use static DNS.
1
Use advertised DNS.
Web: Use custom DNS servers
UCI: network.3G.dns
Opt: dns
Specifies DNS server. Only available if Use DNS servers
advertised by peer is unselected. When multiple DNS servers
are required separate using space for UCI or option value.
Example:
uci set network.3G.dns=’1.1.1.1 2.2.2.2’
Web: LCP echo failure threshold
UCI: network.3G.keepalive
Opt: keepalive
Presumes peer to be dead after a given amount of LCP echo
failures, use 0 to ignore failures.
This command is used in conjunction with the LCP echo interval.
The syntax is as follows: uci network.3G.keepalive=<echo failure
threshold> <echo interval>
Example:
uci set network.3G.keepalive=’15 10’
5
PPP peer dead after 5 failures
Range
Web: LCP echo interval
UCI: network.3G.keepalive
Opt: keepalive
Send LCP echo requests at the given interval in seconds, only
effective in conjunction with failure
This command is used in conjunction with the LCP echo failure
threshold. The syntax is as follows: uci
network.3G.keepalive=<echo failure threshold> <echo interval>
Example:
uci set network.3G.keepalive=’15 10’
1
LCP echo request every 1 second
Range
Web: Inactivity timeout
UCI: network.3G.demand
Opt: demand
Closes an inactive connection after the given amount of seconds.
Use 0 to persist connection.
0
Do not disconnect on inactivity.
Range