LinuxQuestions.org
Review your favorite Linux distribution.
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 08-27-2016, 05:59 AM   #1
dereut
LQ Newbie
 
Registered: Apr 2005
Posts: 23

Rep: Reputation: 0
Bridge with DHCP config for both the host and guest OS


hello all,

I work for a Windows riddle company so to keep the fight going on, I installed Linux on my work laptop then installed kvm and windows 7. this win7 is in the AD domain of the company, it is great, I can use my linux and still use the tools of the company

when I plug the laptop on the network, it gets an IP from the DHCP server, so far so good, then do a NAT for the KVM guest (win7)

this has been functioning very well for the last 3 years.

however, one of the problem I encounter is that I cannot debug the network issues from the Guest win7. a simple ping will not work, a nmap or wireshark will not work, from the guest OS

I suppose the solution is a bridge network so the guest OS will be able to request an IP from the company DHCP.
however, all the doc I found specify that the Host NIC needs to have an IP. this I cannot do as I get the ip via DHCP from the company as well

part of my job is to visit different offices in different countries, so I do not have the possibility to use a static IP. I am in a different subnet few times a day

anyone knows a doc to install a bridge network for KVM or VirtualBox (I can migrate, not a problem) using DHCP for both the host and the guest OS ?

for info, I use LMDE 2 on my laptop, with a dualboot to ArchLinux in case the first one will go dead

thx

Dereut
 
Old 08-28-2016, 04:25 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,791

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
anyone knows a doc to install a bridge network for KVM or VirtualBox (I can migrate, not a problem) using DHCP for both the host and the guest OS ?
I have VBox (Windows 7 host, openSUSE guest) set up with bridged networking. I often have both set up using DHCP, and sometimes with one set up using a static IP for my work as a network engineer. I also frequently have a VPN connection on one while using native connection on the other. No problems with using it like this. It's not hard to configure.

This might help make things clear to you
http://catlingmindswipe.blogspot.co....-part-two.html
 
  


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
Another host using IP address, Linux server Static config, DHCP. nnenna@stuydy.beds.ac.uk Linux - Newbie 2 03-22-2012 11:31 PM
Guest to Host message passing - guest's memory usage statistics & guest's IP address Prince_Pangeni Linux - Virtualization and Cloud 2 03-03-2012 03:06 AM
Host Fedora14, Windows 7 is running as Virtualbox guest- Mic is not working on Guest mwaheed Linux - Virtualization and Cloud 1 10-20-2011 12:51 PM
KVM Guest to Host Bridge Hijacking F14 goatboyx Linux - Virtualization and Cloud 2 03-05-2011 02:09 PM
VMware: XP Host; Ubuntu Guest; Bridge Networking. VMnet0 problem masque7 Linux - Networking 1 10-14-2010 10:44 AM

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

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