LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 03: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, 05:23 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,387
Blog Entries: 6

Rep: Reputation: Disabled
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:46 AM
KVM Virtual network mmajidi Linux - Virtualization and Cloud 6 01-28-2012 12:44 AM
Using postgres on kvm virtual server tirab Linux - Virtualization and Cloud 3 01-26-2011 06:48 AM
KVM networking eyemole80 Linux - Networking 6 02-18-2010 11:25 AM
KVM Virtual Machine CD CHANGE ashishverma1984 Fedora 2 12-12-2008 03:51 AM


All times are GMT -5. The time now is 06:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration