logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ip-fou - Foo-over-UDP receive port configuration

Author

       Tom Herbert <therbert@google.com>

iproute2                                           2 Nov 2014                                          IP-FOU(8)

Description

       The ipfou commands are used to create and delete receive ports for Foo-over-UDP (FOU) as well as Generic
       UDP Encapsulation (GUE).

       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).

Examples

ConfigureaFOUreceiveportforGREboundto7777
       # ip fou add port 7777 ipproto 47

   ConfigureaFOUreceiveportforIPIPboundto8888
       # ip fou add port 8888 ipproto 4

   ConfigureaGUEreceiveportboundto9999
       # ip fou add port 9999 gue

   DeletetheGUEreceiveportboundto9999
       # ip fou del port 9999

   ConfigureaFOUreceiveportforGREboundto1.2.3.4:7777
       # ip fou add port 7777 ipproto 47 local 1.2.3.4

Name

       ip-fou - Foo-over-UDP receive port configuration

       ip-gue - Generic UDP Encapsulation receive port configuration

See Also

ip(8)

Synopsis

ip [ OPTIONS ] fou  { COMMAND | help }

       ipfouaddportPORT { gue | ipprotoPROTO  } [ localIFADDR  ] [ peerIFADDR  ] [ peer_portPORT  ] [
               devIFNAME  ]
       ipfoudelportPORT [ localIFADDR  ] [ peerIFADDR  ] [ peer_portPORT  ] [ devIFNAME  ]
       ipfoushow

See Also