108 lines
2.1 KiB
HTML
108 lines
2.1 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of IFCFG</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>IFCFG</H1>
|
|
Section: Linux (8)<BR>Updated: September 24 2009<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>
|
|
|
|
ifcfg - simplistic script which replaces ifconfig IP management
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
<B>ifcfg</B>
|
|
|
|
[ <I>DEVICE</I> ] [ <I>command</I> ] <I>ADDRESS</I> [ <I>PEER</I> ]
|
|
|
|
<P>
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
This manual page documents briefly the
|
|
<B>ifcfg</B>
|
|
|
|
command.
|
|
<P>
|
|
|
|
This is a simplistic script replacing one option of
|
|
<B>ifconfig</B>
|
|
|
|
, namely, IP address management. It not only adds
|
|
addresses, but also carries out Duplicate Address Detection RFC-DHCP,
|
|
sends unsolicited ARP to update the caches of other hosts sharing
|
|
the interface, adds some control routes and restarts Router Discovery
|
|
when it is necessary.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>IFCONFIG - COMMAND SYNTAX</H2>
|
|
|
|
<P>
|
|
<A NAME="lbAF"> </A>
|
|
<H3><DT id="1"><B>DEVICE</B>
|
|
|
|
<DD>
|
|
</H3>
|
|
|
|
- it may have alias, suffix, separated by colon.
|
|
<P>
|
|
<DT id="2"><B>command</B>
|
|
|
|
<DD>
|
|
- add, delete or stop.
|
|
<P>
|
|
<DT id="3"><B>ADDRESS</B>
|
|
|
|
<DD>
|
|
- optionally followed by prefix length.
|
|
<P>
|
|
<DT id="4"><B>peer</B>
|
|
|
|
<DD>
|
|
- optional peer address for pointpoint interfaces.
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>NOTES</H2>
|
|
|
|
This script is not suitable for use with IPv6.
|
|
<P>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
IP Command reference <B>ip-cref.ps</B>
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">IFCONFIG - COMMAND SYNTAX</A><DD>
|
|
<DL>
|
|
<DT id="9"><A HREF="#lbAF"><DL COMPACT>
|
|
<DT id="10"><B>DEVICE</B>
|
|
|
|
<DD>
|
|
</A><DD>
|
|
</DL>
|
|
<DT id="11"><A HREF="#lbAG">NOTES</A><DD>
|
|
<DT id="12"><A HREF="#lbAH">SEE ALSO</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>
|