]> git.proxmox.com Git - mirror_ifupdown2.git/blame - ifupdown2/man/ifreload.8.rst
netlink: nlpacket AttributeMACAddress
[mirror_ifupdown2.git] / ifupdown2 / man / ifreload.8.rst
CommitLineData
e37ad4a6 1========
2ifreload
3========
4
5--------------------------------------
6reload network interface configuration
7--------------------------------------
8
1b0b81a2 9:Author: Roopa Prabhu <roopa@cumulusnetworks.com>
e37ad4a6 10:Date: 2014-02-05
11:Copyright: Copyright 2014 Cumulus Networks, Inc. All rights reserved.
12:Version: 0.1
13:Manual section: 8
14
15SYNOPSIS
16========
cfa06db6 17 ifreload [-h] (-a|-c) [-v] [-d] [-f] [-n] [-s]
e37ad4a6 18
19DESCRIPTION
20===========
1e6d7bd7
ST
21 reloads network **interfaces(5)** file **/etc/network/interfaces**
22 or config file defined in ifupdown2.conf file.
e37ad4a6 23
e7dd09ca 24 Runs **ifdown** on interfaces that were removed from the file and
1b0b81a2 25 subsequently runs **ifup** on all interfaces.
91067b3d 26
32c7378d
RP
27 ifreload is non-disruptive. It will fix running config to match what
28 is configured in the interfaces file without bringing the interface
29 down. There are some cases where on linux an interface config cannot
30 be applied unless the interface is brought down...eg: change of mac
31 address and a few bond attributes. For such attribute changes, it may
32 flap the interface only if the linux kernel requires it to.
33
e7dd09ca
RP
34 When removing an interface (iface section) from the interfaces file
35 please make sure all its references are removed as well. Similarly
36 when renaming an interface, please make sure all references to the
37 interface are changed to the new name. Renaming an interface
38 in the interfaces file results in ifdown of the old and ifup
39 of the interface with the new name.
91067b3d 40
d462f1fa
RP
41 If you do not wish to execute **down** on any interfaces, but only **up** on
42 interfaces that were already **up**, please see the **--currently-up**
43 option below.
44
e37ad4a6 45OPTIONS
46=======
47 -h, --help show this help message and exit
48
49 -a, --all process all interfaces marked "auto"
50
51 -v, --verbose verbose
52
53 -d, --debug output debug info
54
55 -f, --force force run all operations
56
d486dd0d
JF
57 -c, --currently-up Reload the configuration for all interfaces which
58 are currently up regardless of whether an interface
59 has "auto <interface>" configuration within the
60 /etc/network/interfaces file.
d462f1fa 61
6f10696c
ST
62 -X EXCLUDEPATS, --exclude EXCLUDEPATS
63 Exclude interfaces from the list of interfaces to
64 operate on. Can be specified multiple times
4dcac660
ST
65 If the excluded interface has dependent interfaces,
66 (e.g. a bridge or a bond with multiple enslaved interfaces)
67 then each dependent interface must be specified in order
68 to be excluded.
6f10696c 69
cfa06db6
RP
70 -s, --syntax-check Only run the interfaces file parser
71
6f10696c 72
91067b3d 73EXAMPLES
74========
d40e96ee 75 # reload all auto interfaces in **interfaces(5)** file
76
77 **ifreload -a**
e37ad4a6 78
79 # reload all interfaces using service command
d40e96ee 80
81 **service networking reload**
e37ad4a6 82
d462f1fa
RP
83 # reload all currently up interfaces without bringing any interfaces down
84
85 **service networking reload-currently-up**
86
e37ad4a6 87SEE ALSO
88========
d40e96ee 89 ifup(8),
90 ifdown(8),
91 ifquery(8),
92 interfaces(5),
dbba401f 93 ifupdown-addons-interfaces(5)