mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-10-04 21:16:32 +00:00
network: adapt apply config section to PVE 7
ifupdown2 is now installed by default, we can therefore omit the whole installation part except a small note for people who installed PVE on top of Debian. also mention the CLI variant for users who like to edit the network config directly or are using some config management tools Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
This commit is contained in:
parent
a5604bb464
commit
9a08108970
@ -29,34 +29,23 @@ inaccessible.
|
|||||||
Reboot Node to apply
|
Reboot Node to apply
|
||||||
^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
With the default installed `ifupdown` network managing package you need to
|
One way to apply a new network configuration is to reboot the node.
|
||||||
reboot to commit any pending network changes. Most of the time, the basic {pve}
|
|
||||||
network setup is stable and does not change often, so rebooting should not be
|
|
||||||
required often.
|
|
||||||
|
|
||||||
Reload Network with ifupdown2
|
Reload Network with ifupdown2
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
With the optional `ifupdown2` network managing package you also can reload the
|
With the 'ifupdown2' package (default since {pve} 7), it is possible to apply
|
||||||
network configuration live, without requiring a reboot.
|
network configuration changes without a reboot. If you change the network
|
||||||
|
configuration via the GUI, you can click the 'Apply Configuration' button. Run
|
||||||
|
the following command if you make changes directly to the
|
||||||
|
`/etc/network/interfaces` file:
|
||||||
|
|
||||||
Since {pve} 6.1 you can apply pending network changes over the web-interface,
|
----
|
||||||
using the 'Apply Configuration' button in the 'Network' panel of a node.
|
ifreload -a
|
||||||
|
----
|
||||||
|
|
||||||
To install 'ifupdown2' ensure you have the latest {pve} updates installed, then
|
NOTE: If you installed {pve} on top of Debian, make sure 'ifupdown2' is
|
||||||
|
installed: 'apt install ifupdown2'
|
||||||
WARNING: installing 'ifupdown2' will remove 'ifupdown', but as the removal
|
|
||||||
scripts of 'ifupdown' before version '0.8.35+pve1' have a issue where network
|
|
||||||
is fully stopped on removal footnote:[Introduced with Debian Buster:
|
|
||||||
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945877] you *must* ensure
|
|
||||||
that you have a up to date 'ifupdown' package version.
|
|
||||||
|
|
||||||
For the installation itself you can then simply do:
|
|
||||||
|
|
||||||
apt install ifupdown2
|
|
||||||
|
|
||||||
With that you're all set. You can also switch back to the 'ifupdown' variant at
|
|
||||||
any time, if you run into issues.
|
|
||||||
|
|
||||||
Naming Conventions
|
Naming Conventions
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
Loading…
Reference in New Issue
Block a user