add internet-connection interface DMZ

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 DMZ physical interface (multiple internet connection can engage in High Availability/Load Sharing).

See set internet-connection interface DMZ.

DMZ - DHCP

Syntax

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

Parameters

Parameter

Description

name

Connection name

interface

Interface name

Press TAB to see available options

type

Connection type

Press TAB to see available options

DMZ - Static IP Address

Syntax

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

add internet-connection name "<name>" interface DMZ type static ipv4-address <ipv4-address> subnet-mask <subnet-mask> default-gw <default-gw> [ 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> ] [ probe-next-hop {on | off} ] [ probe-servers {on | off} ]

Parameters

Parameter

Description

name

Connection name

interface

Interface name

Press TAB to see available options

type

Connection type

Press TAB to see available options

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

default-gw

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

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

conn-test-timeout

Connection test timeout

probe-next-hop

Automatically detect loss of connectivity to the default gateway

probe-servers

Monitor connection state by sending probe packets to one or more servers on the Internet

DMZ - SFP-DSL - PPPoE

Syntax

add internet-connection name interface DMZ dmz-connection sfp-dsl type pppoe username <username> password <password>

Parameters

Parameter

Description

name

Connection name

interface

Interface name

Press TAB to see available options

type

Connection type

Press TAB to see available options

username

User name for PPP connection settings

Usually <username>@<ISP>

password

Password for PPP connection settings

password-hash

The hash of the user password

Example Command

add internet-connection name "My connection" interface DMZ dmz-connection sfp-dsl type pppoe username admin@exampleisp password 12345

DMZ - SFP-DSL - IPoE Dynamic

Syntax

add internet-connection name "<name>" interface DMZ dmz-connection sfp-dsl type ipoe-dynamic

Parameters

Parameter

Description

name

Connection name

interface

Interface name

Press TAB to see available options

type

Connection type

Press TAB to see available options

conn-test-timeout

Connection test timeout

A number with no fractional part (integer)

vci

VCI value for the ADSL connection

A number between 0 and 65535

vpi

VPI value for the ADSL connection

A number between 0 and 255

encapsulation

Encapsulation type for the ADSL connection

Options:

  • llc

  • vcmux

Example Command

add internet-connection name "My connection" interface DMZ dmz-connection sfp-dsl type ipoe-dynamic

DMZ - SFP-DSL - IPoE Static

Syntax

add internet-connection name "<name>" interface DMZ dmz-connection sfp-dsl type ipoe-static default-gw ipv4-address <ipv4-address> mask-length <mask-length>

add internet-connection name "<name>" interface DMZ dmz-connection sfp-dsl type ipoe-static default-gw ipv4-address <ipv4-address> subnet-mask <subnet-mask> { dns-primary <dns-primary> dns-secondary <dns-secondary> dns-tertiary <dns-tertiary> }

Parameters

Parameter

Description

name

Connection name

interface

Interface name

Press TAB to see available options

type

Connection type

Press TAB to see available options

ipv4-address

IP address field (for static IP and bridge settings)

default-gw

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

mask-length

Subnet mask length

subnet-mask

Subnet mask Type: 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

Example Command

add internet-connection name "My connection" interface DMZ dmz-connection sfp-dsl type ipoe-static default-gw ipv4-address 172.15.47.4 mask-length 255.255.255.

DMZ - L2TP

Syntax

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>} local-ipv4-address <local-ipv4-address> }

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 'auto'

wan-ipv4-address

WAN IP address wrapper

An IP address, or 'auto'

wan-subnet-mask

WAN subnet mask (in the advanced section)

wan-mask-length

WAN subnet mask length

default-gw

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

DMZ - PPPoE

Syntax

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 {true | false} local-ipv4-address <local-ipv4-address> }

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

local-ipv4-address

Local tunnel IP address or Auto for automatic

An IP address, or 'auto'

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)

DMZ - PPTP

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> } { local-ipv4-address <local-ipv4-address> }

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 'auto'

wan-ipv4-address

WAN IP address wrapper

An IP address, or 'auto'

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)