LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 05-26-2014, 10:15 PM   #1
Tadaen
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 210

Rep: Reputation: 39
Bridging network in KVM


I finally got my little server running properly and it is headless in the router closet. I am thinking about running a Minecraft server VM. I am worried about bridging the vm to the ethernet though as if it goes wrong I have to move the server back into my room where I have a monitor mounted on the wall (looking back mounting on wall was a mistake). Is there anything I need to worry about specifically or is it just follow the prompts?

Basically want my server to maintain it's static IP, and have a VM with a separate static IP.

Last edited by Tadaen; 05-26-2014 at 10:19 PM.
 
Old 05-26-2014, 10:51 PM   #2
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
What kind of problems are you anticipating? As long as the host is up you should have console/gui access to your vm via virt-manager. With a headless centos kvm host server I have no problems using virt-manager via ssh X forwarding, I just have to remember to start virt-manager as root.

If you don't want to use x-forward you can determing the vnc port used by your vm using virsh, and forward that port over ssh, then open a vnc client to localhost:<forwarded port>

If the kvm host dies, well then you'll need to move the machine, or what I did was got an el-cheapo small monitor cheap from ebay and hook it up to the server for emergencies. My server is rack-mounted som moving it wouldn't be an easy chore.
 
Old 06-05-2014, 06:33 PM   #3
Tadaen
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 210

Original Poster
Rep: Reputation: 39
I had forgotten about posting this. I have solved it by just taking the plunge and creating a bridge through virt-manager to the kvm on the little server. The one guide I was reading for Debian and bridging I wasn't entirely clear on what would happen to the host eth0... whether or not it would maintain the proper static ip in particular as that is my only access through ssh.

My vm is running a minecraft server at the moment.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up bridging for KVM on a ded host ericcarlson Ubuntu 0 10-30-2012 01:48 PM
Physical host of KVM VMs with bonded interface - bridging necessary? slimjim Linux - Virtualization and Cloud 1 06-13-2012 03:08 PM
Bridging eth0 in KVM/qemu RHAPOLLO Linux - Virtualization and Cloud 2 05-01-2010 05:06 PM
KVM Bridging tap0 to Bonded adapters swiftnet Linux - Networking 4 03-19-2009 07:52 AM
VMWare's bridging vs Window's bridging - routing is messed up when Windows bridging brenan99 General 0 05-04-2008 10:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:05 PM.

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