add internet-connection-ipv6 interface-ipv6

In the R81.10.X releases, this command is available starting from the R81.10.00 version.

Description

Add an internet connection of type IPv6.

Syntax for the WAN interface

add internet-connection-ipv6 [ name <name> ] interface-ipv6

   WAN [ { use-connection-as-vlan } vlan-id <vlan-id> ]

      type-ipv6 static-ipv6 ipv6-address <ipv6-address> prefix-length <prefix-length> default-gw-ipv6 <default-gw-ipv6> [ dns-primary-ipv6 <dns-primary-ipv6> ] [ dns-secondary-ipv6 <dns-secondary-ipv6> ] [ dns-tertiary-ipv6 <dns-tertiary-ipv6> ] [ conn-test-timeout <conn-test-timeout> ]

      type-ipv6 pppoe-ipv6 username <username> { password <password> | password-hash <password-hash> } [ is-prefix-delegation {true | false} [ prefix-delegation-prefix-length <prefix-delegation-prefix-length> ] ] [ conn-test-timeout <conn-test-timeout> ]

      type-ipv6 pppoe-ipv6-4 linked-connection <linked-connect ion> [ is-prefix-delegation {true | false} [ prefix-delegation-prefix-length <prefix-delegation-prefix-length> ] ] [ conn-test-timeout <conn-test-timeout> ]

      type-ipv6 bridge-ipv6 bridge-name <bridge-name> [ default-gw <default-gw> ] default-gw-ipv6 <default-gw-ipv6> | auto-obtain [ is-prefix-delegation {true | false} [ prefix-delegation-prefix-length <prefix-delegation-prefix-length> ] ] [ conn-test-timeout <conn-test-timeout> ]

Syntax for the LAN interfaces

add internet-connection-ipv6 [ name <name> ] interface-ipv6

   LAN<X> [ { use-connection-as-vlan } vlan-id <vlan-id> ]

      type dhcp

      type static ipv4-address <ipv4-address> { subnet-mask <subnet-mask> | mask-length <mask-length> } [ default-gw <default-gw> ] [ probe-next-hop {true | false} ] [ probe-servers {true | false} ] [ dns-primary <dns-primary> ] [ dns-secondary <dns-secondary> ] [ dns-tertiary <dns-tertiary> ] [ conn-test-timeout <conn-test-timeout> ]

      type bridge bridge-name <bridge-name> bridge-type { static default-gw <default-gw> [ dns-primary <dns-primary> ] [ dns-secondary <dns-secondary> ] [ dns-tertiary <dns-tertiary> ] | dhcp } [ conn-test-timeout <conn-test-timeout> ]

      type l2tp username <username> { password <password> | password-hash <password-hash> } [ local-ipv4-address <local-ipv4-address> ] server <server> [ local-ipv4-address <local-ipv4-address> ] [ wan-ipv4-address <wan-ipv4-address> { wan-subnet-mask <wan-subnet-mask> | wan-mask-length <wan-mask-length> } default-gw <default-gw> ] [ conn-test-timeout <conn-test-timeout> ]

      type pptp username <username> { password <password> | password-hash <password-hash> } [ local-ipv4-address <local-ipv4-address> ] server <server> [ local-ipv4-address <local-ipv4-address> ] [ wan-ipv4-address <wan-ipv4-address> { wan-subnet-mask <wan-subnet-mask> | wan-mask-length <wan-mask-length> } default-gw <default-gw> ] [ conn-test-timeout <conn-test-timeout> ]

      type pppoe username <username> { password <password> | password-hash <password-hash> } [ local-ipv4-address <local-ipv4-address> ] [ is-unnumbered-pppoe {true | false} ] [ conn-test-timeout <conn-test-timeout> ]

      type ds-lite linked-ipv6-connection <linked-ipv6-connection> [ aftr-address <aftr-address> ] [ dns-primary <dns-primary> ] [ dns-secondary <dns-secondary> ] [ dns-tertiary <dns-tertiary> ] [ conn-test-timeout <conn-test-timeout> ]

Syntax for the DMZ interface

add internet-connection-ipv6 [ name <name> ] interface-ipv6

   DMZ [ { use-connection-as-vlan } vlan-id <vlan-id> ]

      type-ipv6 static-ipv6 ipv6-address <ipv6-address> prefix-length <prefix-length> default-gw-ipv6 <default-gw-ipv6> [ dns-primary-ipv6 <dns-primary-ipv6> ] [ dns-secondary-ipv6 <dns-secondary-ipv6> ] [ dns-tertiary-ipv6 <dns-tertiary-ipv6> ] [ conn-test-timeout <conn-test-timeout> ]

      type-ipv6 pppoe-ipv6 username <username> { password <password> | password-hash <password-hash> } [ is-prefix-delegation {true | false} [ prefix-delegation-prefix-length <prefix-delegation-prefix-length> ] ] [ conn-test-timeout <conn-test-timeout> ]

      type-ipv6 pppoe-ipv6-4 linked-connection <linked-connection> [ is-prefix-delegation {true | false} [ prefix-delegation-prefix-length <prefix-delegation-prefix-length> ] ] [ conn-test-timeout <conn-test-timeout> ]

      type-ipv6 bridge-ipv6 bridge-name <bridge-name> [ default-gw <default-gw> ] default-gw-ipv6 <default-gw-ipv6> | auto-obtain [ is-prefix-delegation {true | false} [ prefix-delegation-prefix-length <prefix-delegation-prefix-length> ] ] [ conn-test-timeout <conn-test-timeout> ]

Syntax for the DSL interface

add internet-connection-ipv6 [ name <name> ] interface-ipv6

   DSL [ { use-connection-as-vlan } vlan-id <vlan-id> ]

      type-ipv6 pppoe-ipv6 username <username> { password <password> | password-hash <password-hash> } [ local-ipv4-address <local-ipv4-address> ] [ is-unnumbered-pppoe {true | false} ] [ vpi <vpi> ] [ vci <vci> ] [ encapsulation <encapsulation> ] [ conn-test-timeout <conn-test-timeout> ]

      type-ipv6 pppoe-ipv6-4 linked-connection <linked-connection> [ is-prefix-delegation {true | false} [ prefix-delegation-prefix-length <prefix-delegation-prefix-length> ] ] [ conn-test-timeout <conn-test-timeout> ]

Syntax for the Cellular interface

add internet-connection-ipv6 [ name <name> ] interface-ipv6

   cellular [ primary-sim <primary-sim> ] [ apn-sim1-username <apn-sim1-username> ] [ apn-sim1-password <apn-sim1-password> ] [ apn-sim1-authentication-method <apn-sim1-authentication-method> ] [ apn-sim2-username <apn-sim2-username> ] [ apn-sim2-password <apn-sim2-password> ] [ apn-sim2-authentication-method <apn-sim2-authentication-method> ] [ sim1-carrier-configuation-package <sim1-carrier-configuation-package> ] [ sim2-carrier-configuation-package <sim2-carrier-configuation-package> ] [ apn <apn> ] [ pin <pin> ] [ apn-sim2 <apn-sim2> ] [ pin-sim2 <pin-sim2> ] [ disable-sim <disable-sim> ]

Parameters

Parameter

Description

aftr-address

Hostname or IPv6 address for DS-Lite tunnel

apn

The Access Point Name given to you by your cellular network carrier for SIM1

A string that contains these characters:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '.' (period)

  • '-' (minus)

apn-sim1-authentication-method

The APN authentication method given to you by your cellular network carrier for SIM1

Options: none, pap, chap

apn-sim2-authentication-method

The APN authentication method given to you by your cellular network carrier for SIM2

Options: none, pap, chap

apn-sim1-password

The APN password given to you by your cellular network carrier for SIM1

apn-sim2-password

The APN password given to you by your cellular network carrier for SIM2

apn-sim1-username

The APN username given to you by your cellular network carrier for SIM1

Usually, <username>@<ISP>

apn-sim2-username

The APN username given to you by your cellular network carrier for SIM2

Usually, <username>@<ISP>

apn-sim2

The Access Point Name given to you by your cellular network carrier for SIM2

A string that contains these characters:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '.' (period)

  • '-' (minus)

bridge-name

The name of the bridge this connection is bridged to

A bridge name should be br0-9

bridge-type

The type of the bridge for this connection: DHCP or static

Press TAB to see available options

conn-test-timeout

Connection test timeout in seconds

default-gw

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

default-gw-ipv6

Default IPv6 gateway

disable-sim

Indicates which SIM, if any, is disabled

Options: sim1, sim2, none

dns-primary

IPv4 address of the first DNSv4 server

dns-primary-ipv6

IPv6 address of the first DNSv6 server

dns-secondary

IPv4 address of the second DNSv4 server

dns-secondary-ipv6

IPv6 address of the second DNSv6 server

dns-tertiary

IPv4 address of the third DNSv4 server

dns-tertiary-ipv6

IPv6 address of the third DNSv6 server

encapsulation

Encapsulation type for the ADSL connection

initialization-string

The initialization string for the cellular modem settings

A string that contains only upper-case letters (A-Z).

interface-ipv6

Interface name for IPv6 Internet connection

Press TAB to see available options

ipv6-address

IPv6 address (for static IPv6 settings)

ipv4-address

IPv4 address (for static IPv4 and bridge settings)

is-prefix-delegation

Indicates whether prefix delegation is enabled for this Internet connection

is-unnumbered-pppoe

With unnumbered PPPoE you manage a range of IP addresses and dial only once

isVlan

This interface is VLAN

linked-connection

An IPv4 Internet connection with shared credentials

A string that contains these characters:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '.' (period)

  • '-' (minus)

  • '_' (underscore)

  • ' ' (space)

linked-ipv6-connection

IPv6 internet connection name, which the DS-Lite tunnel is defined on

local-ipv4-address

Local tunnel IPv4 address, or automatic

An IPv4 address, or 'auto'

mask-length

IPv4 subnet mask length

method

Authentication method

Options: auto, pap, chap

name

Connection name

A string that contains these characters:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '.' (period)

  • '-' (minus)

  • '_' (underscore)

  • ' ' (space)

number

Dialed number of the cellular modem settings

A sequence of numbers and #,* characters

password

Password for PPP connection or cellular modem settings

password-hash

The hash of the user password

pin

The Personal Identification Number code given to you by your cellular network carrier for SIM1

pin-sim2

The Personal Identification Number code given to you by your cellular network carrier for SIM2

prefix-delegation-prefix-length

IPv6 prefix length for prefix delegation

prefix-length

IPv6 prefix length field (for IPv6 static IP settings)

primary-sim

Indicates the preferred SIM for the cellular internet connection

Options: sim1, sim2

probe-next-hop

Controls whether to detect (true) or not (false) automatically the loss of connectivity to the default gateway

probe-servers

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

server

Server IP address

sim1-carrier-configuation-package

Predefined configuration and firmware package required for specific cellular net-work carriers for SIM1

Options: att, generic, rogers, sprint, verizon, verizon-alo, bell, vodafone, telus, us-cellular, sierra-wireless, docomo, kddi, softbank, telstra

sim2-carrier-configuation-package

Predefined configuration and firmware package required for specific cellular net-work carriers for SIM2

Options: att, generic, rogers, sprint, verizon, verizon-alo, bell, vodafone, telus, us-cellular, sierra-wireless, docomo, kddi, softbank, telstra

subnet-mask

IPv4 subnet mask

A subnet mask, or 255.255.255.255

type

Connection type

Press TAB to see available options

type-ipv6

Connection type for IPv6 Internet connection

Press TAB to see available options

username

User name for PPP connection or cellular modem settings

Usually, <username>@<ISP>

vci

VCI value for the ADSL connection

A number between 0 and 65535

vlan-id

VLAN ID

vpi

VPI value for the ADSL connection

A number between 0 and 255

wan-ipv4-address

IPv4 address wrapper for the WAN interface

An IP address, or 'auto'

wan-mask-length

IPv4 subnet mask length for the WAN interface

wan-subnet-mask

IPv4 subnet mask (in the advanced section) for the WAN interface

Example Command

add internet-connection-ipv6 name "My connection" interface-ipv6 LAN4 true vlan-id 200 type dhcp conn-test-timeout 50