SUSE Support

Here When You Need Us

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

In a setup where a KVM Guest System is running and has a working Network Configuration and the Network on the KVM Host is restarted, the Guest system loses all Network Connectivity.

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

To connect the virtual Network with the Network again, it is necessary to reconnect on the Host system, this can be done with the command
 
/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

This is a result of removing an underlying element of a stack. In this case the Virtual Network builds on the existing Network on the Host. If this Network is removed, as is done during a restart, then the Virtual Network goes DOWN and does not recover by itself.

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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.