LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-19-2014, 02:59 PM   #1
johndoe777
LQ Newbie
 
Registered: Aug 2014
Location: New York City
Distribution: debian wheezy, but I add Kali to my repositories list
Posts: 16

Rep: Reputation: Disabled
Question virtual networking with KVM


I want to know if it is possible to build a virtual LAN on my computer using KVM to install guest OS's. I have debian wheezy i386 installed as the host OS on my computer and it does have virtualization extensions enabled. I also have 4 debian jessie virtualizations installed via KVM, I know how to launch them using NAT networking or bridged to a br0 interface that I made, but what I really want to do is launch all 4 guests at the same time and have them all connected to the same virtual switch or bridge, and have one of those functioning as a dhcp server/router for the other three guests. I want my guests to exclusively access the network through my virtual router only. I have launched one with an external usb wifi adapter attached to it, I would like for that to be the interface that accesses the internet for the other guests on my virtual network and use the interface that shows up on the guest as eth0 to pass out IP addresses to the clients. I also prefer to do everything from the command line please no virt-manager instructions. I just want to use a virtual network to learn more about linux style networking.
 
Old 08-20-2014, 04:23 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

I think it's possible but I've never tried it-

Here's a place to start. Sorry I don't know more:-
Good luck--

https://raymii.org/s/tutorials/KVM_w...ntu_12.04.html

http://serverfault.com/questions/543...m-guests-linux
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[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 Virtual network mmajidi Linux - Virtualization and Cloud 6 01-27-2012 11:44 PM
Using postgres on kvm virtual server tirab Linux - Virtualization and Cloud 3 01-26-2011 05:48 AM
KVM networking eyemole80 Linux - Networking 6 02-18-2010 10:25 AM
KVM Virtual Machine CD CHANGE ashishverma1984 Fedora 2 12-12-2008 02:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:08 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