Physical network¶
The physical
network type connects to an existing physical network, which can be a network interface or a bridge, and serves as an uplink network for OVN.
This network type allows to specify presets to use when connecting OVN networks to a parent interface or to allow an instance to use a physical interface as a NIC.
In this case, the instance NICs can simply set the network
option to the network they connect to without knowing any of the underlying configuration details.
Configuration options¶
The following configuration key namespaces are currently supported for the physical
network type:
bgp
(BGP peer configuration)dns
(DNS server and resolution configuration)ipv4
(L3 IPv4 configuration)ipv6
(L3 IPv6 configuration)ovn
(OVN configuration)user
(free-form key/value for user metadata)
Note
Incus uses the CIDR notation where network subnet information is required, for example, 192.0.2.0/24
or 2001:db8::/32
. This does not apply to cases where a single address is required, for example, local/remote addresses of tunnels, NAT addresses or specific addresses to apply to an instance.
The following configuration options are available for the physical
network type:
BGP options¶
These options configure BGP peering for OVN downstream networks:
Key: | bgp.peers.NAME.address |
Type: | string |
Default: | |
Condition: | BGP server |
Key: | bgp.peers.NAME.asn |
Type: | integer |
Default: | |
Condition: | BGP server |
Key: | bgp.peers.NAME.holdtime |
Type: | integer |
Default: |
|
Condition: | BGP server |
DNS options¶
These keys control the DNS servers and search domains used by the physical network:
IPV4 options¶
These options define the IPv4 configuration for the physical network:
Key: | ipv4.gateway |
Type: | string |
Condition: | standard mode |
ipv4.ovn.ranges
Comma-separated list of IPv4 ranges to use for child OVN network routers (FIRST-LAST format)
Key: | ipv4.ovn.ranges |
Type: | string |
Condition: |
IPV6 options¶
These options define the IPv6 configuration for the physical network:
Key: | ipv6.gateway |
Type: | string |
Condition: | standard mode |
ipv6.ovn.ranges
Comma-separated list of IPv6 ranges to use for child OVN network routers (FIRST-LAST format)
Key: | ipv6.ovn.ranges |
Type: | string |
Condition: |
OVN options¶
These options apply when using a physical network as an OVN uplink:
Common options¶
These apply to all physical networks regardless of other features:
Key: | gvrp |
Type: | bool |
Default: | ‘false’ |
Condition: |
Supported features¶
The following features are supported for the physical
network type: