254 lines
4.1 KiB
HTML
254 lines
4.1 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of IP-FOU</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>IP-FOU</H1>
|
|
Section: Linux (8)<BR>Updated: 2 Nov 2014<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
ip-fou - Foo-over-UDP receive port configuration
|
|
<P>
|
|
|
|
ip-gue - Generic UDP Encapsulation receive port configuration
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
|
|
|
|
<BR>
|
|
|
|
<B>ip</B>
|
|
|
|
[ <I>OPTIONS</I> ]
|
|
|
|
<B>fou</B>
|
|
|
|
{ <I>COMMAND</I> |
|
|
|
|
<B>help</B> }
|
|
|
|
<P>
|
|
<BR>
|
|
|
|
<B>ip fou add</B>
|
|
|
|
<B>port</B>
|
|
|
|
<I>PORT</I>
|
|
|
|
{
|
|
|
|
<B>gue</B>
|
|
|
|
|
|
|
|
|
<B>ipproto</B>
|
|
|
|
<I>PROTO</I>
|
|
|
|
}
|
|
|
|
[
|
|
|
|
<B>local</B>
|
|
|
|
<I>IFADDR</I>
|
|
|
|
]
|
|
|
|
[
|
|
|
|
<B>peer</B>
|
|
|
|
<I>IFADDR</I>
|
|
|
|
]
|
|
|
|
[
|
|
|
|
<B>peer_port</B>
|
|
|
|
<I>PORT</I>
|
|
|
|
]
|
|
|
|
[
|
|
|
|
<B>dev</B>
|
|
|
|
<I>IFNAME</I>
|
|
|
|
]
|
|
|
|
<BR>
|
|
|
|
<BR>
|
|
|
|
<B>ip fou del</B>
|
|
|
|
<B>port</B>
|
|
|
|
<I>PORT</I>
|
|
|
|
[
|
|
|
|
<B>local</B>
|
|
|
|
<I>IFADDR</I>
|
|
|
|
]
|
|
|
|
[
|
|
|
|
<B>peer</B>
|
|
|
|
<I>IFADDR</I>
|
|
|
|
]
|
|
|
|
[
|
|
|
|
<B>peer_port</B>
|
|
|
|
<I>PORT</I>
|
|
|
|
]
|
|
|
|
[
|
|
|
|
<B>dev</B>
|
|
|
|
<I>IFNAME</I>
|
|
|
|
]
|
|
|
|
<BR>
|
|
|
|
<BR>
|
|
|
|
<B>ip fou show</B>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The
|
|
<B>ip fou</B>
|
|
|
|
commands are used to create and delete receive ports for Foo-over-UDP
|
|
(FOU) as well as Generic UDP Encapsulation (GUE).
|
|
<P>
|
|
|
|
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.
|
|
<P>
|
|
|
|
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.
|
|
<P>
|
|
|
|
When creating a FOU or GUE receive port, the port number is specified in
|
|
<I>PORT</I>
|
|
|
|
argument. If FOU is used, the IP protocol number associated with the port is specified in
|
|
<I>PROTO</I>
|
|
|
|
argument. You can bind a port to a local address/interface, by specifying the
|
|
address in the local
|
|
<I>IFADDR</I>
|
|
|
|
argument or the device in the
|
|
<I>IFNAME</I>
|
|
|
|
argument. If you would like to connect the port, you can specify the peer
|
|
address in the peer
|
|
<I>IFADDR</I>
|
|
|
|
argument and peer port in the peer_port
|
|
<I>PORT</I>
|
|
|
|
argument.
|
|
<P>
|
|
|
|
A FOU or GUE receive port is deleted by specifying
|
|
<I>PORT</I>
|
|
|
|
in the delete command, as well as local address/interface or peer address/port
|
|
(if set).
|
|
<A NAME="lbAE"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
<P>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H3>Configure a FOU receive port for GRE bound to 7777</H3>
|
|
|
|
<PRE>
|
|
# ip fou add port 7777 ipproto 47
|
|
|
|
</PRE><A NAME="lbAG"> </A>
|
|
<H3>Configure a FOU receive port for IPIP bound to 8888</H3>
|
|
|
|
<PRE>
|
|
# ip fou add port 8888 ipproto 4
|
|
|
|
</PRE><A NAME="lbAH"> </A>
|
|
<H3>Configure a GUE receive port bound to 9999</H3>
|
|
|
|
<PRE>
|
|
# ip fou add port 9999 gue
|
|
|
|
</PRE><A NAME="lbAI"> </A>
|
|
<H3>Delete the GUE receive port bound to 9999</H3>
|
|
|
|
<PRE>
|
|
# ip fou del port 9999
|
|
</PRE><A NAME="lbAJ"> </A>
|
|
<H3>Configure a FOU receive port for GRE bound to 1.2.3.4:7777</H3>
|
|
|
|
<PRE>
|
|
# ip fou add port 7777 ipproto 47 local 1.2.3.4
|
|
|
|
</PRE><A NAME="lbAK"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<BR>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+ip">ip</A></B>(8)
|
|
|
|
<A NAME="lbAL"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Tom Herbert <<A HREF="mailto:therbert@google.com">therbert@google.com</A>>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="4"><A HREF="#lbAE">EXAMPLES</A><DD>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAF">Configure a FOU receive port for GRE bound to 7777</A><DD>
|
|
<DT id="6"><A HREF="#lbAG">Configure a FOU receive port for IPIP bound to 8888</A><DD>
|
|
<DT id="7"><A HREF="#lbAH">Configure a GUE receive port bound to 9999</A><DD>
|
|
<DT id="8"><A HREF="#lbAI">Delete the GUE receive port bound to 9999</A><DD>
|
|
<DT id="9"><A HREF="#lbAJ">Configure a FOU receive port for GRE bound to 1.2.3.4:7777</A><DD>
|
|
</DL>
|
|
<DT id="10"><A HREF="#lbAK">SEE ALSO</A><DD>
|
|
<DT id="11"><A HREF="#lbAL">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:12 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|