NAT & Bridge not working

Discussions related to using VirtualBox on Windows hosts.
Post Reply
bosyak
Posts: 10
Joined: 13. Aug 2009, 05:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu 9.04

NAT & Bridge not working

Post by bosyak »

Hi all.
I can't make networking on my guest Ubuntu 9.04.
I have tried NAT and Bridge without success. On guest Ubuntu I setup ip 10.6.68.137 / 24. I'm checking network with ping and telnet <myProxyIp> 3128.
On host windows XP (fresh install) ServicePack3 firewall is disabled, no antivirus software.
Please advice something!

VirtualBOX verison 3.0.4r50677.

About guest Ubuntu 9.04

Code: Select all

VirtualBox Command Line Management Interface Version 3.0.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Name:            ubuntu-1
Guest OS:        Ubuntu
UUID:            1594f169-9def-4724-b3b7-21cef298aeaa
Config file:     C:\Documents and Settings\secret\.VirtualBox\Machines\ubuntu-1\ubuntu-1.xml
Memory size:     384MB
VRAM size:       12MB
Number of CPUs:  1
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:             off
Time offset:     0 ms
Hardw. virt.ext: on
Nested Paging:   off
VT-x VPID:       off
State:           running (since 2009-08-13T03:20:23.796000000)
Monitor count:   1
3D Acceleration: off
Floppy:          empty
SATA:            disabled
IDE Controller:  PIIX4
Primary master:  D:\VM_Images\ubuntu-1.vdi (UUID: 608ecb6a-467f-418d-9b21-1eaf3b5b21d5)
DVD:             C:\PROGRA~1\Sun\XVMVIR~1\VBoxGuestAdditions.iso (UUID: dd944cd0-0dc3-4037-a729-d6bf2d0ddb25)
NIC 1:           MAC: 080027A00B2F, Attachment: Bridged Interface 'Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller', 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:           enabled (Driver: DSOUND, Controller: AC97)
Clipboard Mode:  Bidirectional
Video mode:      800x600x32
VRDP:            disabled
USB:             enabled

USB Device Filters:

<none>

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Shared folders:  <none>

VRDP Connection:    not active
Clients so far:     0

Guest:

Statistics update:                   disabled
About Windows XP

Code: Select all

C:\Program Files\Sun\xVM VirtualBox>ipconfig /all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : dit
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller
        Physical Address. . . . . . . . . : 00-22-15-C9-48-28
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 10.6.68.136
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 10.6.68.225
        DNS Servers . . . . . . . . . . . : 10.6.68.4
                                            10.6.68.3

Ethernet adapter VirtualBox Host-Only Network:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
        Physical Address. . . . . . . . . : 08-00-27-00-B8-8A
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.56.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :
killerclems
Posts: 15
Joined: 14. Apr 2009, 18:55
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04

Re: NAT & Bridge not working

Post by killerclems »

Hi,

Here is a little method to re-install VBox under XP to have nice chances to get the bridge working :

-> Uninstall VBox
-> Now, go in your Control Panel -> System -> Hardware and desactivate all your network adapters (even the one you shall use later in VBox)
-> Once this done, install VBox again, and once the installation is done, don't start VBox yet.
-> You can now re-activate your network adapter(s)
-> Now in VBox, select your network adapter used for Bridge in the Network options.
-> Start VBox. If your Ubuntu configuration is set to Auto and your network is configurated as DHCP, this should work.

For Agnitum Outpost Firewall ( but this is not your case ) :

Nat is known to cause problems when Content Filter is activated. You can unactivate it by modifying the machine.ini in C:/Program Files/Agnitum/Outpost.
Find the line "EnableContentHandler" and set the value to FALSE. Save the file and restart the computer.


I really hope this will help you ;) Keep asking in case it wont ! Cheers
bosyak
Posts: 10
Joined: 13. Aug 2009, 05:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu 9.04

Re: NAT & Bridge not working

Post by bosyak »

Nope :(
On fresh windows XP I disable network adapter, install VB, enable network and test = nothing :(
I disabled both network adapters, reinstall VB (repair), one card was enabled, enableing another, testing = nothing :(

But in this time I'm tested only bridging.
killerclems
Posts: 15
Joined: 14. Apr 2009, 18:55
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04

Re: NAT & Bridge not working

Post by killerclems »

Strange... Well, i wish i could help more by looking and testing on my own VBox install but im actually at work right now ^^

What you could try now is to remove the VBox Host Interface (look around in VBox options, you should find) and restart to see. I had pretty much the same problem as you on past versions (look at my posted messages) and at the time, this helped me.
bosyak
Posts: 10
Joined: 13. Aug 2009, 05:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu 9.04

Re: NAT & Bridge not working

Post by bosyak »

I forgot to uninstall VB as you offer. Now I have tried this also without success.
killerclems
Posts: 15
Joined: 14. Apr 2009, 18:55
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04

Re: NAT & Bridge not working

Post by killerclems »

Well well.... What ip does Ubuntu give you for your virtual network adapter ? Give the ip adress, submask and gateway. Try also to give the log of VBox for this VM, if you find the part when it shows the network settings.
bosyak
Posts: 10
Joined: 13. Aug 2009, 05:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu 9.04

Re: NAT & Bridge not working

Post by bosyak »

Where I can find this log? Should I setup it first?
bosyak
Posts: 10
Joined: 13. Aug 2009, 05:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu 9.04

Re: NAT & Bridge not working

Post by bosyak »

YAHOOO!!
I have changed vbox network adapter to Intel PRO/1000 MT Desktop and now it WORKS!!
killerclems
Posts: 15
Joined: 14. Apr 2009, 18:55
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04

Re: NAT & Bridge not working

Post by killerclems »

Okey ;) good news. Enjoy VBox now ! :)
Post Reply