add internet-connection (physical interface)

Description

Adds a new internet connection using an existing physical interface (multiple internet connection can engage in High Availability/Load Sharing).

WAN

Syntax for DHCP

add internet-connection name <name> interface WAN type dhcp

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

interface

Interface name

Type: Press TAB to see available options

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

type

Connection type

Type: Press TAB to see available options

vlan-id

VLAN ID

Type: A number with no fractional part (integer)

Syntax for Static IP

add internet-connection name <name> interface WAN type static default-gw <default-gw> ipv4-address <ipv4-address> mask-length <mask-length>

add internet-connection name <name> interface WAN type static default-gw <default-gw> ipv4-address <ipv4-address> subnet-mask <subnet-mask> { dns-primary <dns-primary>dns-secondary <dns-secondary> dns-tertiary <dns-tertiary>} { use-connection-as-vlan vlan-id <vlan-id>} { conn-test-timeout <conn-test-timeout>}

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

interface

Interface name

Type: Press TAB to see available options

default-gw

WAN default gateway (in the advanced section of PPTP and l2TP)

Type: IP address

dns-primary

First DNS server IP address

Type: IP address

dns-secondary

Second DNS server IP address

Type: IP address

dns-tertiary

Third DNS server IP address

Type: IP address

ipv4-address

IP address field (for static IP and bridge settings)

Type: IP address

mask-length

Subnet mask length

Type: A string that contains numbers only

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

subnet-mask

Subnet mask

Type: A subnet mask, or 255.255.255.255

type

Connection type

Type: Press TAB to see available options

vlan-id

VLAN ID

Type: A number with no fractional part (integer)

Syntax for L2TP

add internet-connection name <name> interface WAN type l2tp server <server> password-hash <password-hash>

add internet-connection name <name> interface WAN type l2tp server <server> password <password> username <username> { local-ipv4-address <local-ipv4-address> wan-ipv4-address <wan-ipv4-address> wan-mask-length <wan-mask-length>

add internet-connection name <name>interface WAN type l2tp server <server> password <password> username <username> { local-ipv4-address <local-ipv4-address> wan-ipv4-address <wan-ipv4-address> wan-subnet-mask <wan-mask-length> default-gw <default-gw>} { is-unnumbered-pppoe <is-unnumbered-pppoe>local-ipv4-address <local-ipv4-address>}

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

interface

Interface name

Type: Press TAB to see available options

default-gw

WAN default gateway (in the advanced section of PPTP and l2TP)

Type: IP address

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

Type: An IP address, or 'auto'

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

password

Password for PPP connection settings

Type: internetPassword

password-hash

The hash of the user password

Type: passwordHash

server

Server IP address

Type: IP address

type

Connection type

Type: Press TAB to see available options

username

User name for PPP connection settings

Type: A string that contains all printable characters but a single or double quote- like characters. Usually <username>@<ISP>

vlan-id

VLAN ID

Type: A number with no fractional part (integer)

wan-ipv4-address

Wan IP address wrapper

Type: An IP address, or 'auto'

wan-mask-length

WAN subnet mask length

Type: A string that contains numbers only

wan-subnet-mask

WAN subnet mask (in the advanced section)

Type: Subnet mask

Syntax for PPPoE

add internet-connection name < name> interface WAN type pppoe username <username> password-hash <password-hash>

add internet-connection name <name> interface WAN type pppoe username <username> password <password-hash> { is-unnumbered-pppoe <is-unnumbered-pppoe> local-ipv4-address <local-ipv4-address> }

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

interface

Interface name

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

Type: An IP address, or 'auto'

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

password

Password for PPP connection settings

Type: internetPassword

password-hash

The hash of the user password

Type: passwordHash

type

Connection type

Type: Press TAB to see available options

username

User name for PPP connection settings

Type: A string that contains all printable characters but a single or double quote- like characters. Usually <username>@<ISP>

vlan-id

VLAN ID

Type: A number with no fractional part (integer)

Syntax for PPTP

add internet-connection name <name> interface WAN type pptp server <server> password-hash <password-hash>

command_synadd internet-connection name <name> interface WAN type pptpserver <server> password <password > username <username> { { local-ipv4-address <local-ipv4-address> wan-ipv4-address <wan-ipv4-address> wan-mask-length <wan-mask-length>tax

add internet-connection name <name> interface WAN type pptp server <server> password <password> username <username> { local-ipv4-address <local-ipv4-address> wan-ipv4-address <wan-ipv4-address> wan-subnet-mask <wan-subnet-mask> default-gw <default-gw>} { is-unnumbered-pppoe <is-unnumbered-pppoe> local-ipv4-address <local-ipv4-address>}

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

interface

Interface name

Type: Press TAB to see available options

default-gw

 

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

Type: An IP address, or 'auto'

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

password

Password for PPP connection settings

Type: internetPassword

password-hash

The hash of the user password

Type: passwordHash

server

Server IP address

Type: IP address

type

Connection type

Type: Press TAB to see available options

username

User name for PPP connection settings

Type: A string that contains all printable characters but a single or double quote- like characters. Usually <username>@<ISP>

vlan-id

VLAN ID

Type: A number with no fractional part (integer)

wan-ipv4-address

Wan IP address wrapper

Type: An IP address, or 'auto'

wan-mask-length

WAN subnet mask length

Type: A string that contains numbers only

wan-subnet-mask

WAN subnet mask (in the advanced section)

Type: Subnet mask

ADSL

Syntax for EoA

add internet-connection name <name> interface ADSL type eoa

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

encapsulation

Encapsulation type for the ADSL connection

Options: llc, vcmux

interface

Interface name

Type: Press TAB to see available options

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

standard

The ADSL standard to use

Options: multimode, t1413, glite, gdmt, adsl2, adsl2+

type

Connection type

Type: Press TAB to see available options

vci

VCI value for the ADSL connection

Type: A number between 0 and 65535

vpi

VPI value for the ADSL connection

Type: A number between 0 and 255

Syntax for PPPoA

add internet-connection name <name> interface ADSL type pppoa username <username> password-hash <password-hash>

add internet-connection name <name>interface ADSL type pppoa username <username> password <password>{ encapsulation <encapsulation> is-unnumbered-pppoe <is-unnumbered-pppoe> local-ipv4-address <local-ipv4-address> vci <vci> vpi <vpi> }

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

encapsulation

Encapsulation type for the ADSL connection

Options: llc, vcmux

interface

Interface name

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

Type: An IP address, or 'auto'

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

password

Password for PPP connection settings

Type: internetPassword

password-hash

The hash of the user password

Type: passwordHash

type

Connection type

Type: Press TAB to see available options

 

username

User name for PPP connection settings

Type: A string that contains all printable characters but a single or double quote- like characters. Usually <username>@<ISP>

vci

VCI value for the ADSL connection

Type: A number between 0 and 65535

vpi

VPI value for the ADSL connection

Type: A number between 0 and 255

Syntax for PPPoE

add internet-connection name <name> interface ADSL type pppoe username <username> password-hash <password-hash>

add internet-connection name <name> interface ADSLtype pppoe username <username> password <password> { encapsulation <encapsulation> is-unnumbered-pppoe <is-unnumbered-pppoe> local-ipv4-address <local-ipv4-address> vci <vci> vpi <vpi>} { encapsulation <encapsulation> vci <vci> vpi <vpi>} { conn-test-timeout <conn-test-timeout> standard <standard>}

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

encapsulation

Encapsulation type for the ADSL connection

Options: llc, vcmux

interface

Interface name

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

Type: An IP address, or 'auto'

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

password

Password for PPP connection settings

Type: internetPassword

password-hash

The hash of the user password

Type: passwordHash

type

Connection type

Type: Press TAB to see available options

username

User name for PPP connection settings

Type: A string that contains all printable characters but a single or double quote- like characters. Usually <username>@<ISP>

vci

VCI value for the ADSL connection

Type: A number between 0 and 65535

vpi

VPI value for the ADSL connection

Type: A number between 0 and 255

DSL

Syntax for IPoE Dynamic

add internet-connection name <name> interface DSL type ipoe-dynamic

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

encapsulation

Encapsulation type for the ADSL connection

Options: llc, vcmux

interface

Interface name

Type: Press TAB to see available options

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

type

Connection type

Type: Press TAB to see available options

vci

VCI value for the ADSL connection

Type: A number between 0 and 65535

vlan-id

VLAN ID

Type: A number with no fractional part (integer)

vpi

VPI value for the ADSL connection

Type: A number between 0 and 255

Syntax for IPoE Static

add internet-connection name <name> interface DSL type ipoe-staticdefault-gw <default-gw> ipv4-address <ipv4-address> mask-length <mask-length>

add internet-connection name <name> interface DSL type ipoe-static default-gw <default-gw> ipv4-address <ipv4-address> subnet-mask VALUE { dns-primary <dns-primary> dns-secondary <dns-secondary> dns-tertiary <dns-tertiary> }

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

default-gw

WAN default gateway (in the advanced section of PPTP and l2TP)

Type: IP address

dns-primary

First DNS server IP address

Type: IP address

dns-secondary

Second DNS server IP address

Type: IP address

dns-tertiary

Third DNS server IP address

Type: IP address

encapsulation

Encapsulation type for the ADSL connection

Options: llc, vcmux

interface

Interface name

Type: Press TAB to see available options

ipv4-address

IP address field (for static IP and bridge settings)

Type: IP address

mask-length

Subnet mask length

Type: A string that contains numbers only

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

subnet-mask

Subnet mask

Type: A subnet mask, or 255.255.255.255

type

Connection type

Type: Press TAB to see available options

vci

VCI value for the ADSL connection

Type: A number between 0 and 65535

vlan-id

VLAN ID

Type: A number with no fractional part (integer)

vpi

VPI value for the ADSL connection

Type: A number between 0 and 255

Syntax for PPPoE

add internet-connection name <name> interface DSL type pppoe username <username> password-hash <password-hash>

add internet-connection name <name> interface DSL type pppoe username <username> password <password> { encapsulation <encapsulation> is-unnumbered-pppoe <is-unnumbered-pppoe> local-ipv4-address <local-ipv4-address> vci <vci> vpi <vpi> } { encapsulation <encapsulation> vci <vci> vpi <vpi> } { use-connection-as-vlan vlan-id <vlan-id> } { conn-test-timeout <conn-test-timeout>}

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

encapsulation

Encapsulation type for the ADSL connection

Options: llc, vcmux

interface

Interface name

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

Type: An IP address, or 'auto'

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

password

Password for PPP connection settings

Type: internetPassword

password-hash

The hash of the user password

Type: passwordHash

type

Connection type

Type: Press TAB to see available options

username

User name for PPP connection settings

Type: A string that contains all printable characters but a single or double quote- like characters. Usually <username>@<ISP>

 

vci

VCI value for the ADSL connection

Type: A number between 0 and 65535

vlan-id

VLAN ID

Type: A number with no fractional part (integer)

vpi

VPI value for the ADSL connection

Type: A number between 0 and 255

DMZ

Syntax for DHCP

add internet-connection name <name> interface DMZ type dhcp

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

interface

Interface name

Type: Press TAB to see available options

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

type

Connection type

Type: Press TAB to see available options

vlan-id

VLAN ID

Type: A number with no fractional part (integer)

Syntax for Static IP

add internet-connection name <name> interface DMZ type static default-gw <default-gw> ipv4-address <ipv4-address> mask-length <mask-length>

add internet-connection name <name> interface DMZ type static default-gw <default-gw> ipv4-address <ipv4-address> subnet-mask <subnet-mask> { dns-primary <dns-primary> dns-secondary <dns-secondary> dns-tertiary <dns-tertiary>} { use-connection-as-vlan vlan-id <vlan-id>} { conn-test-timeout <conn-test-timeout>}

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

interface

Interface name

Type: Press TAB to see available options

default-gw

WAN default gateway (in the advanced section of PPTP and l2TP)

Type: IP address

dns-primary

First DNS server IP address

Type: IP address

dns-secondary

Second DNS server IP address

Type: IP address

dns-tertiary

Third DNS server IP address

Type: IP address

ipv4-address

IP address field (for static IP and bridge settings)

Type: IP address

mask-length

Subnet mask length

Type: A string that contains numbers only

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

subnet-mask

Subnet mask

Type: A subnet mask, or 255.255.255.255

type

Connection type

Type: Press TAB to see available options

vlan-id

VLAN ID

Type: A number with no fractional part (integer)

Syntax for L2TP

add internet-connection name <name> interface DMZ type l2tp server <server> password-hash <password-hash>

add internet-connection name <name> interface DMZ type l2tp server <server> password <password> username <username> { local-ipv4-address <local-ipv4-address> wan-ipv4-address <wan-ipv4-address> wan-mask-length <wan-mask-length>

add internet-connection name <name> interface DMZ type l2tp server <server> password <password> username <username> { local-ipv4-address <local-ipv4-address> wan-ipv4-address <wan-ipv4-address> wan-subnet-mask <wan-mask-length> default-gw <default-gw>} { is-unnumbered-pppoe <is-unnumbered-pppoe> local-ipv4-address <local-ipv4-address>}

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

interface

Interface name

Type: Press TAB to see available options

default-gw

WAN default gateway (in the advanced section of PPTP and l2TP)

Type: IP address

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

Type: An IP address, or 'auto'

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

password

Password for PPP connection settings

Type: internetPassword

password-hash

The hash of the user password

Type: passwordHash

server

Server IP address

Type: IP address

type

Connection type

Type: Press TAB to see available options

username

User name for PPP connection settings

Type: A string that contains all printable characters but a single or double quote- like characters. Usually <username>@<ISP>

vlan-id

VLAN ID

Type: A number with no fractional part (integer)

wan-ipv4-address

Wan IP address wrapper

Type: An IP address, or 'auto'

wan-mask-length

WAN subnet mask length

Type: A string that contains numbers only

wan-subnet-mask

WAN subnet mask (in the advanced section)

Type: Subnet mask

Syntax for PPPoE

add internet-connection name <name> interface DMZ type pppoe username <username> password-hash <password>

add internet-connection name <name> interface DMZ type pppoe username <username> password <password>{ is-unnumbered-pppoe <is-unnumbered-pppoe> local-ipv4-address <local-ipv4-address>}

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

interface

Interface name

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

Type: An IP address, or 'auto'

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

password

Password for PPP connection settings

Type: internetPassword

password-hash

The hash of the user password

Type: passwordHash

type

Connection type

Type: Press TAB to see available options

username

User name for PPP connection settings

Type: A string that contains all printable characters but a single or double quote- like characters. Usually <username>@<ISP>

vlan-id

VLAN ID

Type: A number with no fractional part (integer)

Syntax for PPTP

add internet-connection name <name> interface DMZ type pptp server <server> password-hash <password-hash>

add internet-connection name <name> interface DMZ type pptp server <server> password <password> username <username> { { local-ipv4-address <local-ipv4-address> wan-ipv4-address <wan-ipv4-address> wan-mask-length <wan-mask-length>

add internet-connection name <name> interface DMZ type pptp server <server> password <password> username <username> { local-ipv4-address <local-ipv4-address> wan-ipv4-address <wan-ipv4-address> wan-subnet-mask <wan-subnet-mask> default-gw <default-gw>} { is-unnumbered-pppoe <is-unnumbered-pppoe> local-ipv4-address <local-ipv4-address>}

Parameters

Parameter

Description

conn-test-timeout

Connection test timeout

Type: A number with no fractional part (integer)

interface

Interface name

Type: Press TAB to see available options

default-gw

WAN default gateway (in the advanced section of PPTP and l2TP)

Type: IP address

dns-primary

First DNS server IP address

Type: IP address

dns-secondary

Second DNS server IP address

Type: IP address

dns-tertiary

Third DNS server IP address

Type: IP address

encapsulation

Encapsulation type for the ADSL connection

Options: llc, vcmux

ipv4-address

IP address field (for static IP and bridge settings)

Type: IP address

is-unnumbered-pppoe

Unnumbered PPPoE lets you manage a range of IP addresses and dial only once

Type: Boolean (true/false)

isVlan

isVlan

Type: Boolean (true/false)

local-ipv4-address

Local tunnel IP address or Auto for automatic

Type: An IP address, or 'auto'

mask-length

Subnet mask length

Type: A string that contains numbers only

name

Connection name

Type: A string that contains [A-Z], [0-9], '-', '@', '.', '_' and space characters

password

Password for PPP connection settings

Type: internetPassword

password-hash

The hash of the user password

Type: passwordHash

server

Server IP address

Type: IP address

standard

The ADSL standard to use

Options: multimode, t1413, glite, gdmt, adsl2, adsl2+

subnet-mask

Subnet mask

Type: A subnet mask, or 255.255.255.255

type

Connection type

Type: Press TAB to see available options

username

User name for PPP connection settings

Type: A string that contains all printable characters but a single or double quote- like characters. Usually <username>@<ISP>

vci

VCI value for the ADSL connection

Type: A number between 0 and 65535

vlan-id

VLAN ID

Type: A number with no fractional part (integer)

vpi

VPI value for the ADSL connection

Type: A number between 0 and 255

wan-ipv4-address

Wan IP address wrapper

Type: An IP address, or 'auto'

wan-mask-length

WAN subnet mask length

Type: A string that contains numbers only

wan-subnet-mask

WAN subnet mask (in the advanced section)

Type: Subnet mask

Example

add internet-connection name My connection interface WAN true vlan-id -1000000 type static ipv4-address 192.168.1.1 subnet-mask 255.255.255.0 default-gw 192.168.1.1 dns-primary 192.168.1.1 dns-secondary 192.168.1.1 dns-tertiary 192.168.1.1 conn-test-timeout -1000000