liyujie
2025-08-28 786ff4f4ca2374bdd9177f2e24b503d43e7a3b93
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.TH IFCFG 8 "September 24 2009" "iproute2" "Linux"
.SH NAME
ifcfg \- simplistic script which replaces ifconfig IP management
.SH SYNOPSIS
.ad l
.in +8
.ti -8
.B ifcfg
.RI "[ " DEVICE " ] [ " command " ] " ADDRESS " [ " PEER " ] "
.sp
 
.SH DESCRIPTION
This manual page documents briefly the
.B ifcfg
command.
.PP
This is a simplistic script replacing one option of
.B ifconfig
, 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.
 
.SH IFCONFIG - COMMAND SYNTAX
 
.SS
.TP
.B DEVICE
- it may have alias, suffix, separated by colon.
 
.TP
.B command
- add, delete or stop.
 
.TP
.B ADDRESS
- optionally followed by prefix length.
 
.TP
.B peer
- optional peer address for pointpoint interfaces.
 
.SH NOTES
This script is not suitable for use with IPv6.
 
.SH SEE ALSO
.RB "IP Command reference " ip-cref.ps