74 lines
1.7 KiB
HTML
74 lines
1.7 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>ifconfig(8)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>ifconfig(8)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
ifconfig - configure a TCP/IP device
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>ifconfig</STRONG> [<STRONG>-I</STRONG> <EM>ip</EM>-<EM>device</EM>] [<STRONG>-h</STRONG> <EM>ipaddr</EM>] [<STRONG>-n</STRONG> <EM>netmask</EM>] [<STRONG>-iv</STRONG>]
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
<STRONG>Ifconfig</STRONG> initializes a TCP/IP device setting the IP address and/or
|
|
netmask. It will report the address and netmask set. This command may
|
|
be used if the system has not been configured properly yet. It is only
|
|
used at boot time to set a fixed address for a system without a physical
|
|
ethernet. Normally the <STRONG>inet</STRONG> task will find it out by itself from the
|
|
RARP server.
|
|
|
|
|
|
</PRE>
|
|
<H2>OPTIONS</H2><PRE>
|
|
|
|
<STRONG>-h</STRONG> The decimal TCP/IP address to set.
|
|
|
|
<STRONG>-n</STRONG> The netmask to set.
|
|
|
|
<STRONG>-i</STRONG> Don't set the IP address or netmask if already set. This way
|
|
ifconfig cannot interfere if the numbers have been found out by
|
|
RARP.
|
|
|
|
<STRONG>-v</STRONG> Report IP address and netmask. This is the default action if there
|
|
are no other options.
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man1/hostaddr.1.html">hostaddr(1)</A></STRONG>, <STRONG><A HREF="../man8/rarpd.8.html">rarpd(8)</A></STRONG>, <STRONG><A HREF="../man8/set_net_default.8.html">set_net_default(8)</A></STRONG>, <STRONG><A HREF="../man8/boot.8.html">boot(8)</A></STRONG>.
|
|
|
|
|
|
</PRE>
|
|
<H2>AUTHOR</H2><PRE>
|
|
Kees J. Bot (kjb@cs.vu.nl)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|