LinuxQuestions.org
Register a domain and help support LQ
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 03-02-2013, 04:49 PM   #1
JockVSJock
Member
 
Registered: Jan 2004
Posts: 636

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

http://www.virtualbox.org/manual/ch06.html

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: 74.204.128.237

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

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

thanks
 
Old 03-02-2013, 05:15 PM   #2
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,546

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
You could start by making sure DHCP is configured on your Red Hat VM:
http://docs.fedoraproject.org/en-US/...ng-client.html
 
Old 03-02-2013, 09:56 PM   #3
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,221

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
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 09:57 PM. Reason: clarity
 
Old 03-03-2013, 10:57 AM   #4
JockVSJock
Member
 
Registered: Jan 2004
Posts: 636

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by 273 View Post
You could start by making sure DHCP is configured on your Red Hat VM:
http://docs.fedoraproject.org/en-US/...ng-client.html
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:

https://www.linuxquestions.org/quest...ox-4175452511/
 
  


Reply

Tags
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 04:28 PM
Problem on assigning static ip address.. RHEL 5 as guest OS on Virtualbox odessy Linux - Networking 1 08-28-2009 10:22 AM
problem installing guest additions in Fedora 11 guest (virtualbox) mia_tech Linux - Desktop 9 07-28-2009 01:15 AM
VirtualBox-2.2 - bridged networking on Slackware-12.2 botnet Linux - Software 10 05-02-2009 02:56 AM
Bridged networking on Guest VISTA fails 1kyle General 1 02-25-2007 07:45 AM


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