Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
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.


  Search this Thread
Old 03-02-2013, 03:49 PM   #1
Registered: Jan 2004
Posts: 755

Rep: Reputation: 45
Using Bridged Networking in VirtualBox, Fedora 18 Guest not getting an IP Address

Greetings, I'm using Windows 7 64 bit as the host, and I have the following guests:

-Fedora 18
-Ubuntu 12.04 (64 bit)

I want to get these two guests talking to each other, can ping, SSH to each other. Want to start to work on NFS along with Samba stuff too...

I've referenced VirtualBox networking online here

However from VBManager, I've set both guests to Bridged networking and both guests have the same settings. The Ubuntu box has now the following adddress:

Checking my Fedora 18 with ifconfig -a, there is no ip address. I can ping ok.

I'm not sure what I need to do to fix this.

Old 03-02-2013, 04:15 PM   #2
Senior Member
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 4,515

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
You could start by making sure DHCP is configured on your Red Hat VM:
Old 03-02-2013, 08:56 PM   #3
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 9,371
Blog Entries: 3

Rep: Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818
I have found that, when you select "bridged" in VirtualBox, it's a good idea to go to the "Advanced" item directly below that. Often, several different adaptors show in the list; it may take some experimentation to find which is the correct one.

The default selection may not be the best choice.

Last edited by frankbell; 03-02-2013 at 08:57 PM. Reason: clarity
Old 03-03-2013, 09:57 AM   #4
Registered: Jan 2004
Posts: 755

Original Poster
Rep: Reputation: 45
Originally Posted by 273 View Post
You could start by making sure DHCP is configured on your Red Hat VM:
Looks like switching from NAT to Bridged has changed the NIC from eth0 to p2p1. I don't see any entry for it under /etc/sysconfig/network-scripts.
Nor am I sure how to add it, I don't see any options to add eth0.

I've created a new thread under Fedora:


bridged, fedora, networking, redhat, virtualbox

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Networking with Guest OS and Host OS in Virtualbox mmdullah Linux - Networking 2 01-23-2012 03:28 PM
Problem on assigning static ip address.. RHEL 5 as guest OS on Virtualbox odessy Linux - Networking 1 08-28-2009 09:22 AM
problem installing guest additions in Fedora 11 guest (virtualbox) mia_tech Linux - Desktop 9 07-28-2009 12:15 AM
VirtualBox-2.2 - bridged networking on Slackware-12.2 botnet Linux - Software 10 05-02-2009 01:56 AM
Bridged networking on Guest VISTA fails 1kyle General 1 02-25-2007 06:45 AM

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration