Hi, I was wondering if anyone could help me solve a networking problem.... After upgrading to Ubuntu 9.04 and VirtualBox 2.2.4, I am having problems with NAT and bridged networking. I have a Windows XP guest machine, and suddenly after the upgrade, it has no network connectivity on interfaces configured for NAT or bridged networking. Host-only networking still works.
I have three network interfaces configured: (1) NAT, (2) bridged networking, and (3) host-only networking. All three interfaces are able to obtain IP addresses. However, interfaces #1 and #2 don't seem to be able to do DNS lookup or ping any hosts. Interface #1 ends up with an IP address of 192.168.2.2, with a gateway of 192.168.2.1; I can't ping 192.168.2.1. Likewise, interface #2 ends up with an IP address of 192.168.3.1 and a gateway of 192.168.3.1, and I can't ping 192.168.3.1. TCP/IP connections don't seem to work either. Basically, there's no network connectivity of any sort, except that the interfaces are able to obtain IP addresses.
I have tried pretty much everything I can think of, and I am at a loss here as to how to go about troubleshooting this.
Problem with NAT and Bridged Networking
-
sowmithry
- Posts: 4
- Joined: 25. Jun 2009, 21:48
- Primary OS: Ubuntu 8.10
- VBox Version: OSE Debian
- Guest OSses: Windows XP
Re: Problem with NAT and Bridged Networking
hi
Last edited by sowmithry on 25. Jun 2009, 22:00, edited 1 time in total.
-
sowmithry
- Posts: 4
- Joined: 25. Jun 2009, 21:48
- Primary OS: Ubuntu 8.10
- VBox Version: OSE Debian
- Guest OSses: Windows XP
Re: Problem with NAT and Bridged Networking
Hi dburton,
In your post you said that previously you are able to configure the "Host-only Networking", So could you please tell me step by step how to configure that "Host-only Networking"
Currently I am using Virtualbox 2.0.4
Host OS: Ubuntu 8.10
Guest OS: Windows XP
I am try to ceate "Host-only Networking" between these two OS.
As I want to connect to oracle Db server in Ubuntu Host with oracle client in windows (for this i need a to ping from Host to guset and vice versa oracle uses TCP/IP protocol)
In your post you said that previously you are able to configure the "Host-only Networking", So could you please tell me step by step how to configure that "Host-only Networking"
Currently I am using Virtualbox 2.0.4
Host OS: Ubuntu 8.10
Guest OS: Windows XP
I am try to ceate "Host-only Networking" between these two OS.
As I want to connect to oracle Db server in Ubuntu Host with oracle client in windows (for this i need a to ping from Host to guset and vice versa oracle uses TCP/IP protocol)
-
dburton
- Posts: 3
- Joined: 18. Jun 2009, 08:16
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP
Re: Problem with NAT and Bridged Networking
To configure host-only networking, select the virtual machine, click on "Settings," click on "Network," click on the tab for the adapter you want to change, and in the "Attached to" drop-down menu, select "Host-only Adapter."sowmithry wrote:Hi dburton,
In your post you said that previously you are able to configure the "Host-only Networking", So could you please tell me step by step how to configure that "Host-only Networking"
-
dburton
- Posts: 3
- Joined: 18. Jun 2009, 08:16
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP
Re: Problem with NAT and Bridged Networking
I have upgraded to Ubuntu 9.04 and Virtualbox 3.0.2 and I am still having this problem. Does anyone have any suggestions?
-
RasPharoah
- Posts: 1
- Joined: 31. Jul 2009, 21:18
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Debian Lenny
Re: Problem with NAT and Bridged Networking
Hello,
This worked for me using Ubuntu Jaunty host; Debian Lenny guest:
host :
PCnet-FAST III (Bridged adapter, eth0)
guest :
/etc/network/interfaces: permanent
# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
# The primary network interface
allow-hotplug eth1
iface eth1 inet dhcp
auto eth1
hope it works for you.
This worked for me using Ubuntu Jaunty host; Debian Lenny guest:
host :
PCnet-FAST III (Bridged adapter, eth0)
guest :
/etc/network/interfaces: permanent
# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
# The primary network interface
allow-hotplug eth1
iface eth1 inet dhcp
auto eth1
hope it works for you.
-
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: Problem with NAT and Bridged Networking
The problem you're having, dburton, is that there are some errors in your Guest network settings. If you use NAT, it should get an IP through DHCP and by default provide 10.0.2.15 for the NIC. If it gives you 192.168.2.2, it means the IP is set statically and won't work.
The same goes for your bridged network, check the range that is in use on your physical LAN. It won't do any good if you use the range 192.168.1.x, instead of the assigned 192.168.3.x.
The same goes for your bridged network, check the range that is in use on your physical LAN. It won't do any good if you use the range 192.168.1.x, instead of the assigned 192.168.3.x.
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.
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.