Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is there any specific reason you don’t want to use virtualbox? Besides, KVM needs steep learning curve, and unless you are required to run full fledged virtual servers, i don’t see any reason to deploy kvm. Also, since KVM works great with kernel, linux virtual servers are best fit on it, although you can still use windows. Better solution for ms-windows vm is virtualbox or vmware player. both are free.
Ive discovered a problem, whenever I add BRIDGE=eth0 to the eth0 config file thats when everything or eth0 stops working. I tried it your way and my way (my way meaning I kept my default eth0 config but used your br0 config) and everything works, this is with leaving everything in the eth0 commented in the eth0 file. If I start commenting things out of the eth0 such as IP address etc then eth0 stps working which is normal because I havent bridged eth0 and br0. So basically, the problem is the BRIDGE=br0 command, whenever I do that everything gets messed up. I tried reinstalling the bridge-utils package and restarting my PC but I get the same problem. Any help?
Thanks for your help so far, the br0 config made it br0 work at least and show up in ifconfig.
You need to use:
Code:
BRIDGE=br0
in your eth0 file.
this assignes the interface to the bridge, hence it needs to be in the interface's config file.
Is there any specific reason you don’t want to use virtualbox? Besides, KVM needs steep learning curve, and unless you are required to run full fledged virtual servers, i don’t see any reason to deploy kvm. Also, since KVM works great with kernel, linux virtual servers are best fit on it, although you can still use windows. Better solution for ms-windows vm is virtualbox or vmware player. both are free.
KVM is more powerful than virtualbox or VMware and integrates better in Linux environment, especially in RHEL. It needs less ressource overhead as well.
This applies to Linux and Windows guests.
This my own personal experience from testing and using virtualization for a couple of years. (I've used VMware player/server/workstation, HyperV and ESXi as well)
Once you understood KVM it's nice to use as well, but I agree on your point, that the start is not plug n go like VMware player. (unless you are using standard NAT network config and vrt-manager with KVM, that would make it almost equal to VMware player)
I had enough experience in vmware and virtualbox to understand what i am doing. But still, when i started learning kvm, it was more than i bargained for. i spent a lot of time searching web and reading rhel official documentation to get the idea on how to run virtual machines in console (finally). During that period, i had made some small notes for my personal reference. i've attached those basic notes as attachment (kvm.pdf). you can go through them to get started.
Note (to mod): These are my own notes and i believe i'm allowed to share (no copyright issue). if any such issue, please let me know, i'll remove them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.