add internet-connection interface WAN
In the R81.10.X releases, this command is available starting from the R81.10.00 version.
Description
Adds a new internet connection using the WAN physical interface (multiple internet connection can engage in High Availability/Load Sharing).
WAN - DHCP
Syntax
|
Parameters
Parameter |
Description |
---|---|
name |
Connection name |
interface |
Interface name Press TAB to see available options |
type |
Connection type Press TAB to see available options |
vlan-id |
VLAN ID A number with no fractional part (integer) |
conn-test-timeout |
Connection test timeout - When configuring a connection you can define that the command does not return until the connection was established successfully or when a timeout is reached (on failure). The conn-test-timeout is the maximum amount of time (in seconds) to wait until checking the status of the configured Internet connection.
By default, there is no check and the output is "Skipped connection test." |
WAN - Static IP Address
Syntax
|
|
Parameters
Parameter |
Description |
---|---|
name |
Connection name |
interface |
Interface name Press TAB to see available options |
type |
Connection type Press TAB to see available options |
default-gw |
WAN default gateway (in the advanced section of PPTP and L2TP) |
ipv4-address |
IP address field (for static IP and bridge settings) |
mask-length |
Subnet mask length |
subnet-mask |
Subnet mask A subnet mask, or 255.255.255.255 |
dns-primary |
First DNS server IP address |
dns-secondary |
Second DNS server IP address |
dns-tertiary |
Third DNS server IP address |
vlan-id |
VLAN ID A number with no fractional part (integer) |
conn-test-timeout |
Connection test timeout A number with no fractional part (integer) |
WAN - L2TP
Syntax
|
|
|
Parameters
Parameter |
Description |
---|---|
name |
Connection name |
interface |
Interface name Press TAB to see available options |
type |
Connection type Press TAB to see available options |
server |
Server IP address |
password |
Password for PPP connection or cellular modem settings |
password-hash |
The hash of the user password |
username |
User name for PPP connection or cellular modem settings Usually <username>@<ISP> |
local-ipv4-address |
Local tunnel IP address or Auto for automatic An IP address, or ' |
wan-ipv4-address |
WAN IP address wrapper An IP address, or ' |
wan-mask-length |
WAN subnet mask length |
wan-subnet-mask |
WAN subnet mask (in the advanced section) |
default-gw |
WAN default gateway (in the advanced section of PPTP and L2TP) |
vlan-id |
VLAN ID A number with no fractional part (integer) |
conn-test-timeout |
Connection test timeout A number with no fractional part (integer) |
WAN - PPPoE
Syntax
|
|
Parameters
Parameter |
Description |
---|---|
name |
Connection name |
interface |
Interface name Press TAB to see available options |
type |
Connection type Press TAB to see available options |
is-unnumbered-pppoe |
Unnumbered PPPoE lets you manage a range of IP addresses and dial only once Type: Boolean (true/false) |
local-ipv4-address |
Local tunnel IP address or Auto for automatic An IP address, or ' |
password |
Password for PPP connection or cellular modem settings |
password-hash |
The hash of the user password |
username |
User name for PPP connection or cellular modem settings Usually <username>@<ISP> |
vlan-id |
VLAN ID A number with no fractional part (integer) |
conn-test-timeout |
Connection test timeout A number with no fractional part (integer) |
WAN - PPTP
Syntax
|
|
|
Parameters
Parameter |
Description |
---|---|
name |
Connection name |
interface |
Interface name Press TAB to see available options |
type |
Connection type Press TAB to see available options |
server |
Server IP address |
password |
Password for PPP connection or cellular modem settings |
password-hash |
The hash of the user password |
username |
User name for PPP connection or cellular modem settings Usually <username>@<ISP> |
local-ipv4-address |
Local tunnel IP address or Auto for automatic An IP address, or ' |
wan-ipv4-address |
WAN IP address wrapper An IP address, or ' |
wan-mask-length |
WAN subnet mask length |
wan-subnet-mask |
WAN subnet mask (in the advanced section) |
default-gw |
Default Gateway |
vlan-id |
VLAN ID |
conn-test-timeout |
Connection test timeout (in seconds) |
Example Command
|