set internet-connection type dhcp / static
In the R81.10.X releases, this command is available starting from the R81.10.00 version.
Description
Configures settings for an existing internet connection.
Syntax
|
|
Parameters
Parameter |
Description |
---|---|
name |
Connection name |
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 |
Default gateway |
dns-primary |
First DNS server IP address |
dns-secondary |
Second DNS server IP address |
dns-tertiary |
Third DNS server IP address |
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 |
Example Commands
|
set internet-connection "My connection" type static ipv4-address 192.168.22.33 mask-length 24 default-gw 192.168.22.1 dns-primary 192.168.22.251 dns-secondary 192.168.22.252 probe-next-hop on probe-servers on
|