конфигурация виртуального сетевого устройства (Virtual Network Device configuration)
[FOOOVERUDP] SECTION OPTIONS
The [FooOverUDP] section only applies for netdevs of kind "fou"
and accepts the following keys:
Encapsulation=
Specifies the encapsulation mechanism used to store
networking packets of various protocols inside the UDP
packets. Supports the following values: "FooOverUDP" provides
the simplest no-frills model of UDP encapsulation, it simply
encapsulates packets directly in the UDP payload.
"GenericUDPEncapsulation" is a generic and extensible
encapsulation, it allows encapsulation of packets for any IP
protocol and optional data as part of the encapsulation. For
more detailed information see Generic UDP Encapsulation
[16].
Defaults to "FooOverUDP".
Port=
Specifies the port number where the encapsulated packets will
arrive. Those packets will be removed and manually fed back
into the network stack with the encapsulation removed to be
sent to the real destination. This option is mandatory.
PeerPort=
Specifies the peer port number. Defaults to unset. Note that
when peer port is set "Peer=" address is mandatory.
Protocol=
The Protocol= specifies the protocol number of the packets
arriving at the UDP port. When Encapsulation=FooOverUDP, this
field is mandatory and is not set by default. Takes an IP
protocol name such as "gre" or "ipip", or an integer within
the range 1...255. When
Encapsulation=GenericUDPEncapsulation, this must not be
specified.
Peer=
Configures peer IP address. Note that when peer address is
set "PeerPort=" is mandatory.
Local=
Configures local IP address.