Ubuntu Guest networking

Discussions about using Linux guests in VirtualBox.
Post Reply
Rastus
Posts: 37
Joined: 13. Jan 2010, 04:19
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows

Ubuntu Guest networking

Post by Rastus »

OK,
I have an Ubuntu 910 guest that is set up as a web server. I initially made the guest machine on a Mac and I want to migrate it to a headless Ubuntu 910 host. I copied the .vdi image to the Ubuntu Host and then made a new guest machine with the same memory etc as the guest on the Mac. I then attached the .vdi file to the new guest machine and it boots and runs OK on the Ubuntu Host but I cannot get the network to connect.

Using the following command, I set up the networking.
VBoxManage modifyvm "WebServer" --nic1 bridged --bridgeadapter1 eth0
But when I try to configure the networking on the ubuntu guest, I get the message
SIOCSIFADDR : No such device eth0: ERROR while getting interface flags: no such device
when I list the guest network settings I get
VBoxManage showvminfo "WebServer"
Sun VirtualBox Command Line Management Interface Version 3.1.4
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.

Name: WebServer
Guest OS: Ubuntu
UUID: c7b18fcc-88c6-4368-8322-39c21c9e0842
Config file: /home/rmoore/.VirtualBox/Machines/WebServer/WebServer.xml
Hardware UUID: c7b18fcc-88c6-4368-8322-39c21c9e0842
Memory size: 1024MB
VRAM size: 8MB
Number of CPUs: 1
Synthetic Cpu: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: off
PAE: on
Time offset: 0 ms
Hardw. virt.ext: on
Hardw. virt.ext exclusive: on
Nested Paging: on
VT-x VPID: on
State: powered off (since 2010-04-02T03:05:10.000000000)
Monitor count: 1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Storage Controller Name (0): IDE Controller
Storage Controller Type (0): PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 2
Storage Controller Port Count (0): 2
IDE Controller (0, 0): /home/rmoore/.VirtualBox/HardDisks/Ubuntu910server.vdi (UUID: 03ee014e-55ea-4dc4-8d44-6131df8f5910)
NIC 1: MAC: 080027695F99, Attachment: Bridged Interface 'eth0', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
UART 1: disabled
UART 2: disabled
Audio: disabled
Clipboard Mode: Bidirectional
VRDP: disabled
USB: disabled
I would greatly appreciate any insight into why this is not working and what I can do to fix it.
Thanks
"Putting the FUN back in Dysfunctional"
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu Guest networking

Post by Perryg »

I am not sure about the MAC part of this equation but look and see if the following file is in the guest then either edit the /etc/udev/rules.d/70-persistent-net.rules or you can delete the rules and Linux will configure it on the next boot
Post Reply