Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
I somehow managed to screw up my KVM/QEMU virtual environment and can now no longer connect to the internet. I'm still getting a "virtual gateway" addy at 192.168.222.1 through DHCP, so part of it appears to be working. Traffic just isn't getting routed/NATed/redirected from the virtual gateway to the real NIC anymore (which would then, in turn, send it on to the real gateway at 192.168.1.1 -- simple, huh? LOL).
Anyway, am hoping someone can clue me into exactly how QEMU handles virtualizing the NICs and LAN. The QEMU docs were old (refers to a class A 10.0.2.x addy) and KVM's docs are almost non-existent.
If it helps I *think* what screwed everything up was Firestarter's wizard. Part of it tries to imitate Microsoft's ICS (Internet Connection Sharing) and I *guess* the NATing setup was overwritten. Thing is QEMU's VLAN appears to be controlled separately, as I could start/stop all my firewall services (iptables, ip6tables and firestarter) without affecting it (before the crash.) So I'm still stumped....
Anywho, luckily I installed both Windows Server 2003 R2 and Windows Server 2003 Web Edition on their own (real) partitions. So I suppose, if I have to, I can just blow away the Linux partition and reinstall without affecting my Windows VMs.
BTW, for some reason Windows Server 2003 Web Edition crashes using KVM. Using just QEMU (no kernel acceleration) works fine though, other than it being really slow, that is.
My latest best guess is a conflict between firestarter and dnsmasq packages. I tried reinstalling making sure to load firestarter before qemu and virt-manager but the VLAN still got hosed. So am now reinstalling for the third time.
I guess firestarter's gotta go. Was one of my favorites.
Grr, I'm about to blow it all away and go native Windows... for the next sucker to come along and waste a weekend:
I can ping everything from inside the VLAN, but the 192.168.222 subnet itself is completely unreachable. So despite the virbr0 name it's clearly acting like a gateway router, not a bridge. In other words, the default setup isn't suitable for hosting a web server and there isn't enough documentation for me to figure out how to do something as simple as forward port 80. In fact, I'd have to say at this stage KVM/QEMU isn't suitable for running any server OS, only client OSes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.