Guest loses Network connection after Host Network restart (KVM)
This document (7018994) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 15
Situation
From a Guest side this cannot be debugged as the Guest only sees that nothing happens on the Network Devices anymore. Seemingly all Network hangs.
On the Host side, after a restart of the Network the ip command, for example
ip a s
shows the virtual network in state down
32: vnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN qlen 500
no restart of Host Network or Guest Network can fix this issue.
Resolution
/usr/share/qemu-kvm/qemu-ifup <Virtual Network> <Desired Device>
which for example, in a setup where the DOWN Virtual Network would be
vnet0
and the Device that provides Network Connectivity would be
br0
would be
/usr/share/qemu-kvm/qemu-ifup vnet0 br0
After this, issuing the command ip a s will show
37: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN qlen 500
and the Guest System will have Network Connectivity again.
Cause
In this case Administrative Intervention is necessary to connect the Virtual Network to the Network again.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7018994
- Creation Date: 15-May-2017
- Modified Date:14-Jan-2022
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com