Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 8th November 2010, 11:58 AM
mpolo Online
Registered User
 
Join Date: Jun 2005
Posts: 184
linuxfedorafirefox
Networking with Virtual Machines

I have successfully used Virtual Machine Manager to create a KVM/QEMU virutal machine running Windows XP.

This has created a virtual bridge (virbr0) with the IPv4 configuration:

Network: 192.168.122.0/24
DHCP start: 192.168.122.2
DHCP end: 192.168.122.254
Forwarding: NAT

In Windows ipconfig gives me

IP-Adress: 192.168.122.115
Subnet mask: 255.255.255.0
Standard gateway: 192.168.122.1

So far, so good, but the bridge does not seem to be forwarding properly. If I ping the server in the physical network, I get nothing. I can't find the Internet, I can't find the local network.

What do I need to do to get this to work?
Reply With Quote
  #2  
Old 8th November 2010, 12:29 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
Re: Networking with Virtual Machines

Hello,
I am using VirtualBox I had to change NAT to BRIDGE to make my network to work

Last edited by scott32746; 8th November 2010 at 01:30 PM.
Reply With Quote
  #3  
Old 8th November 2010, 01:29 PM
smr54 Online
Registered User
 
Join Date: Jan 2010
Posts: 4,978
linuxopera
Re: Networking with Virtual Machines

Did you set up the bridge using virt-manager or manually?

If I remember correctly (haven't used it in awhile), one first has to set up the bridged interface, probably manually. Then, virt-manager will enable you to use it..

I have a very dated page dealing with CentOS' older version of KVM--that is, older than the current version of CentOS' KVM, where it explains setting up a bridge manually. You might scan through the section on bridging and see if there's anything obvious you left out, such as an iptables entry.

DISCLAIMER--haven't done bridged networking in Fedora, and the older article may be completely irrelevant--Fedora might do all the firewall adjustments, etc., for you.

I remember stevea mentioning that the latest virt-manager does most of it--the one time I tried it (probably in F13), however it wouldn't automagically set up a bridge---the bridged option was greyed out, probably because I hadn't set one up in advance.

http://home.roadrunner.com/~computer...centoskvm.html
Reply With Quote
  #4  
Old 8th November 2010, 01:47 PM
mpolo Online
Registered User
 
Join Date: Jun 2005
Posts: 184
linuxfedorafirefox
Re: Networking with Virtual Machines

As it stands, it creates a bridge device: virbr0. The Forwarding options are NAT and Routed. Each of these can be to all devices or to a specific device (in my case, eth0).

None of those options work. I guess I have a couple more experiments to try…
Reply With Quote
Reply

Tags
machines, networking, virtual

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shared disk between virtual machines in Virtual Box robertp1984 Using Fedora 6 21st May 2010 01:01 AM
F-10 and Virtual Machines bradycl_84043 Using Fedora 7 29th November 2008 06:08 AM
Virtual Machines ak47prg Using Fedora 1 3rd March 2008 12:42 PM
Virtual Machines Kaanx Using Fedora 4 2nd March 2008 06:36 PM
networking two linux machines phi16181 Servers & Networking 3 10th September 2006 07:30 PM


Current GMT-time: 13:07 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat