Sample Header Ad - 728x90

Backup and restore of Centos network interfaces

5 votes
2 answers
2960 views
I have a server running Centos 7 which needs to be rebooted to upgrade some software. Some of the physical NICs have around 5-10 VLAN interfaces each. They're subject to change on a weekly/monthly basis so storing the details in /etc/sysconfig/network-scripts to persist across reboots isn't practical. Is there an simple way to take a snapshot of the current networking stack and restore after the reboot? Similar to the way you can save/restore iptables rules? I've found several references to the system-config-network-cmd but I'm wary of using this tool in the event it overwrites the static configs for the physical interfaces we do have in /etc/sysconfig/network-scripts Thanks!
Asked by popcornuk (97 rep)
Mar 28, 2018, 01:44 PM
Last activity: May 18, 2025, 04:06 AM