LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Closed Thread
  Search this Thread
Old 06-01-2015, 12:20 PM   #1
jdmmis
Member
 
Registered: Jul 2008
Posts: 32

Rep: Reputation: 0
kvm networking


I'm running KVM on a centOS 7 server and it has been working fine, but occasionally the network connections to the virtual machines seams to drop and the virtual machines can't be reached until the main server is rebooted. I have 2 network connections running into the server. 1 is the primary ethernet on the motherboard while the other is a secondary card ethernet connection. I configured the 2nd connection to be used for a bridge network using these instruction

http://www.server-world.info/en/note...OS_7&p=kvm&f=1

Any ideas or suggestions would be appreciated.

Update:

Network interfaces

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
link/ether d4:ae:52:d3:46:5a brd ff:ff:ff:ff:ff:ff
3: p4p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP mode DEFAULT qlen 1000
link/ether 68:05:ca:1b:39:0a brd ff:ff:ff:ff:ff:ff
4: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT
link/ether 68:05:ca:1b:39:0a brd ff:ff:ff:ff:ff:ff
5: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT
link/ether 52:54:00:73:66:ae brd ff:ff:ff:ff:ff:ff
6: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN mode DEFAULT qlen 500
link/ether 52:54:00:73:66:ae brd ff:ff:ff:ff:ff:ff
7: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN mode DEFAULT qlen 500
link/ether fe:54:00:8c:52:72 brd ff:ff:ff:ff:ff:ff
8: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN mode DEFAULT qlen 500
link/ether fe:54:00:09:d3:6b brd ff:ff:ff:ff:ff:ff
9: vnet2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN mode DEFAULT qlen 500
link/ether fe:54:00:48:f6:01 brd ff:ff:ff:ff:ff:ff
10: vnet3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN mode DEFAULT qlen 500
link/ether fe:54:00:4f:32:b9 brd ff:ff:ff:ff:ff:ff
17: vnet4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN mode DEFAULT qlen 500
link/ether fe:54:00:a8:8e:bf brd ff:ff:ff:ff:ff:ff
This is what /etc/sysconfig/network-scripts/ifcfg-br0 looks like

DEVICE=br0
TYPE=Bridge
BOOTPROTO=dhcp
ONBOOT=yes
/em1 looks like

HWADDR="D4:AE:523:46:5A"
TYPE="Ethernet"
BOOTPROTO="dhcp"
DEFROUTE="yes"
PEERDNS="yes"
PEERROUTES="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
IPV6_FAILURE_FATAL="no"
NAME="em1"
UUID="75be4f11-11ad-4ce2-a0d3-1601dfd2a7a6"
ONBOOT="yes"
secondary ethernet card p4p1

HWADDR=68:05:CA:1B:39:0A
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=p4p1
UUID=2c82ff3a-04c5-4531-940b-48533a2edbf5
ONBOOT=yes
BRIDGE=br0
 
Old 06-01-2015, 12:50 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
please DO NOT !!! TRIPLE post
this is a duplicate of your OTHER EXACT SAME POST
http://www.linuxquestions.org/questi...ng-4175544187/

post reported
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
virtual networking with KVM johndoe777 Linux - Newbie 1 08-20-2014 04:23 PM
Help setting up networking on KVM Ryanms3030 Linux - Newbie 4 03-07-2014 11:19 PM
[SOLVED] Centos 6 and KVM - how to setup bridged networking in KVM in a -Class B- environment? rylan76 Linux - Virtualization and Cloud 7 11-07-2012 06:46 AM
KVM networking eyemole80 Linux - Networking 6 02-18-2010 10:25 AM
KVM, and Dos. Networking possible? Gangrif Linux - Virtualization and Cloud 7 02-12-2010 02:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration