IFCONFIG.8
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH IFCONFIG 8
- .SH NAME
- ifconfig - configure a TCP/IP device
- .SH SYNOPSIS
- .B ifconfig
- .RB [ -I
- .IR ip-device ]
- .RB [ -h
- .IR ipaddr ]
- .RB [ -n
- .IR netmask ]
- .RB [ -iv ]
- .SH DESCRIPTION
- .B Ifconfig
- 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
- .B inet
- task will find it out by itself from the RARP server.
- .SH OPTIONS
- .TP
- .B -h
- The decimal TCP/IP address to set.
- .TP
- .B -n
- The netmask to set.
- .TP
- .B -i
- 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.
- .TP
- .B -v
- Report IP address and netmask. This is the default action if there are no
- other options.
- .SH "SEE ALSO"
- .BR hostaddr (1),
- .BR rarpd (8),
- .BR set_net_default (8),
- .BR boot (8).
- .SH AUTHOR
- Kees J. Bot (kjb@cs.vu.nl)