Parameter |
Choices/Defaults |
Comments |
ageingtime
|
Default:
300
|
This is only used with bridge - [ageing-time <0-1000000>] the Ethernet MAC address aging time, in seconds
|
arp_interval
|
|
This is only used with bond - ARP interval
|
arp_ip_target
|
|
This is only used with bond - ARP IP target
|
autoconnect
bool |
|
Whether the connection should start on boot.
Whether the connection profile can be automatically activated
|
conn_name
required |
|
Where conn_name will be the name used to call the connection. when not provided a default name is generated: <type>[-<ifname>][-<num>]
|
dhcp_client_id
(added in 2.5) |
|
DHCP Client Identifier sent to the DHCP server.
|
dns4
|
|
A list of upto 3 dns servers, ipv4 format e.g. To add two IPv4 DNS server addresses: "192.0.2.53 198.51.100.53"
|
dns4_search
(added in 2.5) |
|
A list of DNS search domains.
|
dns6
|
|
A list of upto 3 dns servers, ipv6 format e.g. To add two IPv6 DNS server addresses: "2001:4860:4860::8888 2001:4860:4860::8844"
|
dns6_search
(added in 2.5) |
|
A list of DNS search domains.
|
downdelay
|
|
This is only used with bond - downdelay
|
egress
|
|
This is only used with VLAN - VLAN egress priority mapping
|
flags
|
|
This is only used with VLAN - flags
|
forwarddelay
|
Default:
15
|
This is only used with bridge - [forward-delay <2-30>] STP forwarding delay, in seconds
|
gw4
|
|
The IPv4 gateway for this interface using this format ie: "192.0.2.1"
|
gw6
|
|
The IPv6 gateway for this interface using this format ie: "2001:db8::1"
|
hairpin
bool |
|
This is only used with 'bridge-slave' - 'hairpin mode' for the slave, which allows frames to be sent back out through the slave the frame was received on.
|
hellotime
|
Default:
2
|
This is only used with bridge - [hello-time <1-10>] STP hello time, in seconds
|
ifname
|
Default:
conn_name
|
Where IFNAME will be the what we call the interface name.
interface to bind the connection to. The connection will only be applicable to this interface name.
A special value of "*" can be used for interface-independent connections.
The ifname argument is mandatory for all connection types except bond, team, bridge and vlan.
|
ingress
|
|
This is only used with VLAN - VLAN ingress priority mapping
|
ip4
|
|
The IPv4 address to this interface using this format ie: "192.0.2.24/24"
|
ip6
|
|
The IPv6 address to this interface using this format ie: "abbe::cafe"
|
mac
|
|
This is only used with bridge - MAC address of the bridge (note: this requires a recent kernel feature, originally introduced in 3.15 upstream kernel)
|
master
|
|
master <master (ifname, or connection UUID or conn_name) of bridge, team, bond master connection profile.
|
maxage
|
Default:
20
|
This is only used with bridge - [max-age <6-42>] STP maximum message age, in seconds
|
miimon
|
Default:
100
|
This is only used with bond - miimon
|
mode
|
Choices:
balance-rr ←
- active-backup
- balance-xor
- broadcast
- 802.3ad
- balance-tlb
- balance-alb
|
This is the type of device or network connection that you wish to create for a bond, team or bridge.
|
mtu
|
Default:
1500
|
The connection MTU, e.g. 9000. This can't be applied when creating the interface and is done once the interface has been created.
Can be used when modifying Team, VLAN, Ethernet (Future plans to implement wifi, pppoe, infiniband)
|
path_cost
|
Default:
100
|
This is only used with 'bridge-slave' - [<1-65535>] - STP port cost for destinations via this slave
|
primary
|
|
This is only used with bond and is the primary interface name (for "active-backup" mode), this is the usually the 'ifname'
|
priority
|
Default:
128
|
This is only used with 'bridge' - sets STP priority
|
slavepriority
|
Default:
32
|
This is only used with 'bridge-slave' - [<0-63>] - STP priority of this slave
|
state
required |
|
Whether the device should exist or not, taking action if the state is different from what is stated.
|
stp
bool |
|
This is only used with bridge and controls whether Spanning Tree Protocol (STP) is enabled for this bridge
|
type
|
Choices:
- ethernet
- team
- team-slave
- bond
- bond-slave
- bridge
- bridge-slave
- vlan
- generic
|
This is the type of device or network connection that you wish to create or modify.
type generic is added in version 2.5.
|
updelay
|
|
This is only used with bond - updelay
|
vlandev
|
|
This is only used with VLAN - parent device this VLAN is on, can use ifname
|
vlanid
|
|
This is only used with VLAN - VLAN ID in range <0-4095>
|