ip-gue - Generic UDP Encapsulation receive port configuration
ip
[ OPTIONS ]
fou
{ COMMAND |
help }
ip fou add
port
PORT
{
gue
|
ipproto
PROTO
}
[
local
IFADDR
]
[
peer
IFADDR
]
[
peer_port
PORT
]
[
dev
IFNAME
]
ip fou del
port
PORT
[
local
IFADDR
]
[
peer
IFADDR
]
[
peer_port
PORT
]
[
dev
IFNAME
]
ip fou show
Foo-over-UDP allows encapsulating packets of an IP protocol directly over UDP. The receiver infers the protocol of a packet received on a FOU UDP port to be the protocol configured for the port.
Generic UDP Encapsulation (GUE) encapsulates packets of an IP protocol within UDP and an encapsulation header. The encapsulation header contains the IP protocol number for the encapsulated packet.
When creating a FOU or GUE receive port, the port number is specified in PORT argument. If FOU is used, the IP protocol number associated with the port is specified in PROTO argument. You can bind a port to a local address/interface, by specifying the address in the local IFADDR argument or the device in the IFNAME argument. If you would like to connect the port, you can specify the peer address in the peer IFADDR argument and peer port in the peer_port PORT argument.
A FOU or GUE receive port is deleted by specifying PORT in the delete command, as well as local address/interface or peer address/port (if set).
# ip fou add port 7777 ipproto 47
# ip fou add port 8888 ipproto 4
# ip fou add port 9999 gue
# ip fou del port 9999
# ip fou add port 7777 ipproto 47 local 1.2.3.4