network adapter

Discussions related to using VirtualBox on Windows hosts.
Post Reply
alain.roger
Posts: 42
Joined: 10. Feb 2010, 15:34
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows, MacOSX, Manjaro
Contact:

network adapter

Post by alain.roger »

Hi,

i have VirtualBox installed on Windows XP system.
i have a router Linksys with gateway 192.168.1.1 as address.
all my computers in that network are with static (from 192.168.1.2 to 192.168.1.100) or dhcp address (above 192.168.1.100).
in my network adapter (in VirtualBox) i setup bridged adapter in order to make all virtual systems as a part of this network so if guest is setup with static address it should be from 192.168.1.2 to 192.168.1.100, and if it is dhcp it should be above 192.168.1.100.

however, it does not work as i wanted.
for example i setup my guest with static ip 192.168.1.50 and it can not ping other computers from the same subnet, or browse internet.

such configuration under VMware works well, so what did i do wrong ?


thanks.

A.
Manjaro 21 / Plasma 5
What does not kill you, makes you stronger
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: network adapter

Post by Perryg »

We need some more information:
From the host terminal/command windows VBoxManage showvminfo <VM Name> and post here. Replace <VM Name> with the actual name of the VM. Use "" if the name has a space in it.
Post as well from the guest the results of (Linux ifconfig -a) or (Windows ipconfig /all)
alain.roger
Posts: 42
Joined: 10. Feb 2010, 15:34
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows, MacOSX, Manjaro
Contact:

Re: network adapter

Post by alain.roger »

ok so here is the information from the host WIndows XP

Code: Select all

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

Name:            Windows 7 - x86 - Base
Guest OS:        Windows 7
UUID:            f0e4cb04-bc16-45cc-a478-a8c3c7a4fcb2
Config file:     C:\Documents and Settings\tester\.VirtualBox\Machines\Windows 7 - x86 - Base\Windows 7 - x86 - Base.xml
Hardware UUID:   f0e4cb04-bc16-45cc-a478-a8c3c7a4fcb2
Memory size:     2048MB
VRAM size:       128MB
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: off
Nested Paging:   off
VT-x VPID:       off
State:           running (since 2010-02-12T15:56:41.468000000)
Monitor count:   1
3D Acceleration: on
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address: <NULL>
Teleporter Password: <NULL>
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
Storage Controller Name (1):            Floppy Controller
Storage Controller Type (1):            I82078
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  1
Storage Controller Port Count (1):      1
IDE Controller (0, 0): E:\Virtual Machine\VirtualBox\Windows\client\x86\7\Base\Windows 7 - x86 - Base.vdi (UUID: 5569a026-b7dc-421d-a04c-be153fd7a47c)
IDE Controller (1, 0): I: (UUID: 00445644-0000-0000-0000-00000000493a)
Floppy Controller (0, 0): Empty
NIC 1:           MAC: 0800275346B9, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, 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:      1152x864x32
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
Manjaro 21 / Plasma 5
What does not kill you, makes you stronger
alain.roger
Posts: 42
Joined: 10. Feb 2010, 15:34
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows, MacOSX, Manjaro
Contact:

Re: network adapter

Post by alain.roger »

and now it is the ipconfig / all result from the guest Windows 7

Code: Select all


Windows IP Configuration

   Host Name . . . . . . . . . . . . : Win7x86
   Primary Dns Suffix  . . . . . . . : 
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter
   Physical Address. . . . . . . . . : 08-00-27-53-46-B9
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.50(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1
   DNS Servers . . . . . . . . . . . : 192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{050D3AA7-B960-49DD-9966-75282041033A}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 11:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
Manjaro 21 / Plasma 5
What does not kill you, makes you stronger
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: network adapter

Post by Perryg »

Code: Select all

  MAC: 0800275346B9, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps
Switch to Bridged in the guest settings (with the guest shut down). Then it should all come together for you.
alain.roger
Posts: 42
Joined: 10. Feb 2010, 15:34
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows, MacOSX, Manjaro
Contact:

Re: network adapter

Post by alain.roger »

so i did it (see below):

Code: Select all

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

Name:            Windows 7 - x86 - Base
Guest OS:        Windows 7
UUID:            f0e4cb04-bc16-45cc-a478-a8c3c7a4fcb2
Config file:     C:\Documents and Settings\tester\.VirtualBox\Machines\Windows 7 - x86 - Base\Windows 7 - x86 - Base.xml
Hardware UUID:   f0e4cb04-bc16-45cc-a478-a8c3c7a4fcb2
Memory size:     2048MB
VRAM size:       128MB
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: off
Nested Paging:   off
VT-x VPID:       off
State:           running (since 2010-02-12T18:46:41.656000000)
Monitor count:   1
3D Acceleration: on
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address: <NULL>
Teleporter Password: <NULL>
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
Storage Controller Name (1):            Floppy Controller
Storage Controller Type (1):            I82078
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  1
Storage Controller Port Count (1):      1
IDE Controller (0, 0): E:\Virtual Machine\VirtualBox\Windows\client\x86\7\Base\Windows 7 - x86 - Base.vdi (UUID: 5569a026-b7dc-421d-a04c-be153fd7a47c)
IDE Controller (1, 0): D:\PROGRA~1\Sun\VIRTUA~1\VBoxGuestAdditions.iso (UUID: 3c7d828a-8e1e-400e-abe3-5019be0f170c)
Floppy Controller (0, 0): Empty
NIC 1:           MAC: 0800275346B9, Attachment: Bridged Interface 'Realtek RTL8168/8111 PCI-E Gigabit Ethernet NIC', Cable connected: on, Trace: off (file: none), Type: 82540EM, 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:      1152x864x32
VRDP:            disabled
USB:             enabled

USB Device Filters:

<none>

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Shared folders:  

Name: 'Tempo', Host path: 'D:\Tempo' (machine mapping), writable

VRDP Connection:    not active
Clients so far:     0

Guest:

Statistics update:                   disabled
and my guest is still the same (in static)

Code: Select all


Windows IP Configuration

   Host Name . . . . . . . . . . . . : Win7x86
   Primary Dns Suffix  . . . . . . . : 
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter
   Physical Address. . . . . . . . . : 08-00-27-53-46-B9
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.50(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1
   DNS Servers . . . . . . . . . . . : 192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{050D3AA7-B960-49DD-9966-75282041033A}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 11:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
and it still does not work :-(
Manjaro 21 / Plasma 5
What does not kill you, makes you stronger
alain.roger
Posts: 42
Joined: 10. Feb 2010, 15:34
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows, MacOSX, Manjaro
Contact:

Re: network adapter

Post by alain.roger »

ok, i discovered that my firewall Bitdefender on my host is blocking package from my guest "windows 7"

my my host firewall is off, my guest can browse internet without trouble.
when my host firewall is on, my guest can't browse internet.

however, in my firewall i have a VirtualBox Host-Only adapter... i do not have something like Bridge adapter for VirtualBox.

any idea ?

thx.

A.
Manjaro 21 / Plasma 5
What does not kill you, makes you stronger
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: network adapter

Post by Perryg »

Not familiar with Bitdefender but all firewall software should have a place to allow exceptions. Whether it is VirtualBox or local traffic. You would need to contact them I guess.
Post Reply