Network settings doesn't work with ubuntu server under vbox!

Discussions about using Linux guests in VirtualBox.
Post Reply
mbg1987
Posts: 1
Joined: 9. Aug 2010, 03:17
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Debian 5.4

Network settings doesn't work with ubuntu server under vbox!

Post by mbg1987 »

I installed ubuntu server 10.04 under vbox virtual machine 3.2.0, what exactly i need is how to setup two network cards on the ubuntu server, one connected to internet while the other is attended to share the internet to all network "virtually",
so here's my settings in vbox :

adapter1: bridge "connected to the router"
adapter2: host-only "connected to the network"

but when i typed ifconfig command on the server i don't see any connection, look to the image below:
http://dl.dropbox.com/u/5392244/3.png
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: Network settings doesn't work with ubuntu server under vbox!

Post by frank »

Your settings seem to be correct. This could be a problem with Ubuntu that it memorizes the relation between a network interface and a MAC address. You might want to check if there is a file /etc/udev/rules.d/70-persistent-net.rules and remove it in that case, then reboot.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Network settings doesn't work with ubuntu server under vbox!

Post by Sasquatch »

When checking if interfaces are available, always use 'ifconfig -a', as that will show interfaces that do not have a configuration or are set to 'down'.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply