public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] VirtualBox bridge mode eth0
@ 2010-04-08  4:11 Joseph
  2010-04-08 10:40 ` Fernando Antunes
  2010-04-08 10:40 ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 2 replies; 11+ messages in thread
From: Joseph @ 2010-04-08  4:11 UTC (permalink / raw
  To: gentoo-user

I've activated Network adapter in VirtualBox (running Windows XP) but I it is not working. 
It works only in NAT mode not in Bridge mode.
The worst part is when I enable bridge mode on second adapter the keyboard lock up, so I need to reboot the box :-/

I've copied the VM into my other box and VirtualBox Network part is working in both Bridge and NAT mode.
So I can not seem to understand why it is working on one box but not the other.

Does it have something to do with Promiscuous Mode?

-- 
Joseph



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] VirtualBox bridge mode eth0
  2010-04-08  4:11 [gentoo-user] VirtualBox bridge mode eth0 Joseph
@ 2010-04-08 10:40 ` Fernando Antunes
  2010-04-08 13:24   ` Joseph
  2010-04-08 10:40 ` [gentoo-user] " Nikos Chantziaras
  1 sibling, 1 reply; 11+ messages in thread
From: Fernando Antunes @ 2010-04-08 10:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 749 bytes --]

On Thu, Apr 8, 2010 at 1:11 AM, Joseph <syscon780@gmail.com> wrote:

> I've activated Network adapter in VirtualBox (running Windows XP) but I it
> is not working. It works only in NAT mode not in Bridge mode.
>
I'm running VirtualBox Binary in bridge mode (host Gentoo, guest XP). I'm
not sure, but did you configure bridge support in your Linux kernel ?


> The worst part is when I enable bridge mode on second adapter the keyboard
> lock up, so I need to reboot the box :-/
>
> I've copied the VM into my other box and VirtualBox Network part is working
> in both Bridge and NAT mode.
> So I can not seem to understand why it is working on one box but not the
> other.
>
> Does it have something to do with Promiscuous Mode?
>
> --
> Joseph
>
>

[-- Attachment #2: Type: text/html, Size: 1238 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user] Re: VirtualBox bridge mode eth0
  2010-04-08  4:11 [gentoo-user] VirtualBox bridge mode eth0 Joseph
  2010-04-08 10:40 ` Fernando Antunes
@ 2010-04-08 10:40 ` Nikos Chantziaras
  2010-04-08 13:45   ` Joseph
  1 sibling, 1 reply; 11+ messages in thread
From: Nikos Chantziaras @ 2010-04-08 10:40 UTC (permalink / raw
  To: gentoo-user

On 04/08/2010 07:11 AM, Joseph wrote:
> I've activated Network adapter in VirtualBox (running Windows XP) but I
> it is not working. It works only in NAT mode not in Bridge mode.
> The worst part is when I enable bridge mode on second adapter the
> keyboard lock up, so I need to reboot the box :-/
>
> I've copied the VM into my other box and VirtualBox Network part is
> working in both Bridge and NAT mode.
> So I can not seem to understand why it is working on one box but not the
> other.
>
> Does it have something to do with Promiscuous Mode?

Promiscuous Mode is needed for bridging to work.  This is why NAT mode 
is preferable, btw, unless you have a good reason to use bridging.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] VirtualBox bridge mode eth0
  2010-04-08 10:40 ` Fernando Antunes
@ 2010-04-08 13:24   ` Joseph
  2010-04-08 16:33     ` Fernando Antunes
  2010-04-08 17:55     ` Kyle Bader
  0 siblings, 2 replies; 11+ messages in thread
From: Joseph @ 2010-04-08 13:24 UTC (permalink / raw
  To: gentoo-user

On 04/08/10 07:40, Fernando Antunes wrote:
>On Thu, Apr 8, 2010 at 1:11 AM, Joseph <syscon780@gmail.com> wrote:
>
>> I've activated Network adapter in VirtualBox (running Windows XP) but I it
>> is not working. It works only in NAT mode not in Bridge mode.
>>
>I'm running VirtualBox Binary in bridge mode (host Gentoo, guest XP). I'm
>not sure, but did you configure bridge support in your Linux kernel ?

Good suggestion, I just need to find it.
Which option is it?  

-- 
Joseph



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: VirtualBox bridge mode eth0
  2010-04-08 10:40 ` [gentoo-user] " Nikos Chantziaras
@ 2010-04-08 13:45   ` Joseph
  2010-04-12  7:30     ` Mick
  0 siblings, 1 reply; 11+ messages in thread
From: Joseph @ 2010-04-08 13:45 UTC (permalink / raw
  To: gentoo-user

On 04/08/10 13:40, Nikos Chantziaras wrote:
>On 04/08/2010 07:11 AM, Joseph wrote:
>>I've activated Network adapter in VirtualBox (running Windows XP) but I
>>it is not working. It works only in NAT mode not in Bridge mode.
>>The worst part is when I enable bridge mode on second adapter the
>>keyboard lock up, so I need to reboot the box :-/
>>
>>I've copied the VM into my other box and VirtualBox Network part is
>>working in both Bridge and NAT mode.
>>So I can not seem to understand why it is working on one box but not the
>>other.
>>
>>Does it have something to do with Promiscuous Mode?
>
>Promiscuous Mode is needed for bridging to work.  This is why NAT 
>mode is preferable, btw, unless you have a good reason to use 
>bridging.

How to check if network card is set/support "promiscuose" mode?
I know to set it is:
ifconfig eth0 promisc

I need to mount some directory via samba to backup some windows files and in NAT mode was not able to mount the Windows XP directory, it bridge mode 
samba has no problem mounting windows directory.

-- 
Joseph



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] VirtualBox bridge mode eth0
  2010-04-08 13:24   ` Joseph
@ 2010-04-08 16:33     ` Fernando Antunes
  2010-04-08 16:49       ` Joseph
  2010-04-08 17:11       ` Joseph
  2010-04-08 17:55     ` Kyle Bader
  1 sibling, 2 replies; 11+ messages in thread
From: Fernando Antunes @ 2010-04-08 16:33 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 928 bytes --]

On Thu, Apr 8, 2010 at 10:24 AM, Joseph <syscon780@gmail.com> wrote:

> On 04/08/10 07:40, Fernando Antunes wrote:
>
>> On Thu, Apr 8, 2010 at 1:11 AM, Joseph <syscon780@gmail.com> wrote:
>>
>>  I've activated Network adapter in VirtualBox (running Windows XP) but I
>>> it
>>> is not working. It works only in NAT mode not in Bridge mode.
>>>
>>>  I'm running VirtualBox Binary in bridge mode (host Gentoo, guest XP).
>> I'm
>> not sure, but did you configure bridge support in your Linux kernel ?
>>
>
> Good suggestion, I just need to find it.
> Which option is it?
>



Probally you are using virtualbox greater than 2.1. Just do this :

Networking --->
    Networking Options --->
    <*> 802.1d Ethernet Bridging

and loaded this three modules. I believe the second one is mandatory to
bridge.
vboxnetadp
vboxnetflt
vboxdrv

More information here :

http://en.gentoo-wiki.com/wiki/Virtualbox#Bridged




> --
> Joseph
>
>

[-- Attachment #2: Type: text/html, Size: 1962 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] VirtualBox bridge mode eth0
  2010-04-08 16:33     ` Fernando Antunes
@ 2010-04-08 16:49       ` Joseph
  2010-04-08 17:11       ` Joseph
  1 sibling, 0 replies; 11+ messages in thread
From: Joseph @ 2010-04-08 16:49 UTC (permalink / raw
  To: gentoo-user

On 04/08/10 13:33, Fernando Antunes wrote:
>On Thu, Apr 8, 2010 at 10:24 AM, Joseph <syscon780@gmail.com> wrote:
>
>> On 04/08/10 07:40, Fernando Antunes wrote:
>>
>>> On Thu, Apr 8, 2010 at 1:11 AM, Joseph <syscon780@gmail.com> wrote:
>>>
>>>  I've activated Network adapter in VirtualBox (running Windows XP) but I
>>>> it
>>>> is not working. It works only in NAT mode not in Bridge mode.
>>>>
>>>>  I'm running VirtualBox Binary in bridge mode (host Gentoo, guest XP).
>>> I'm
>>> not sure, but did you configure bridge support in your Linux kernel ?
>>>
>>
>> Good suggestion, I just need to find it.
>> Which option is it?
>>
>
>
>
>Probally you are using virtualbox greater than 2.1. Just do this :
>
>Networking --->
>    Networking Options --->
>    <*> 802.1d Ethernet Bridging
>
>and loaded this three modules. I believe the second one is mandatory to
>bridge.
>vboxnetadp
>vboxnetflt
>vboxdrv
>
>More information here :
>
>http://en.gentoo-wiki.com/wiki/Virtualbox#Bridged

I don't think I need this option:
<*> 802.1d Ethernet Bridging
as according to gentoo wiki: 
...Note: The following steps are not necessary for setting up Host Interface on VirtualBox >= 2.1. "

I'm using VirtualBox-bin 3.1.6
and on my two other systems AMD quad core and Intel Quad-core Bridge networking works OK without: <*> 802.1d Ethernet Bridging

-- 
Joseph



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] VirtualBox bridge mode eth0
  2010-04-08 16:33     ` Fernando Antunes
  2010-04-08 16:49       ` Joseph
@ 2010-04-08 17:11       ` Joseph
  1 sibling, 0 replies; 11+ messages in thread
From: Joseph @ 2010-04-08 17:11 UTC (permalink / raw
  To: gentoo-user

On 04/08/10 13:33, Fernando Antunes wrote:
>
>Probally you are using virtualbox greater than 2.1. Just do this :
>
>Networking --->
>    Networking Options --->
>    <*> 802.1d Ethernet Bridging
>
>and loaded this three modules. I believe the second one is mandatory to
>bridge.
>vboxnetadp
>vboxnetflt
>vboxdrv
>
>More information here :
>
>http://en.gentoo-wiki.com/wiki/Virtualbox#Bridged

No, it is defiantly not the option, when I compile it in VirtualBox will not start and it freezes my box, mouse is not even responding.

-- 
Joseph



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] VirtualBox bridge mode eth0
  2010-04-08 13:24   ` Joseph
  2010-04-08 16:33     ` Fernando Antunes
@ 2010-04-08 17:55     ` Kyle Bader
  2010-04-08 18:27       ` Joseph
  1 sibling, 1 reply; 11+ messages in thread
From: Kyle Bader @ 2010-04-08 17:55 UTC (permalink / raw
  To: gentoo-user

CONFIG_BRIDGE :)

On 4/8/10, Joseph <syscon780@gmail.com> wrote:
> On 04/08/10 07:40, Fernando Antunes wrote:
>>On Thu, Apr 8, 2010 at 1:11 AM, Joseph <syscon780@gmail.com> wrote:
>>
>>> I've activated Network adapter in VirtualBox (running Windows XP) but I
>>> it
>>> is not working. It works only in NAT mode not in Bridge mode.
>>>
>>I'm running VirtualBox Binary in bridge mode (host Gentoo, guest XP). I'm
>>not sure, but did you configure bridge support in your Linux kernel ?
>
> Good suggestion, I just need to find it.
> Which option is it?
>
> --
> Joseph
>
>

-- 
Sent from my mobile device


Kyle



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] VirtualBox bridge mode eth0
  2010-04-08 17:55     ` Kyle Bader
@ 2010-04-08 18:27       ` Joseph
  0 siblings, 0 replies; 11+ messages in thread
From: Joseph @ 2010-04-08 18:27 UTC (permalink / raw
  To: gentoo-user

On 04/08/10 10:55, Kyle Bader wrote:
>CONFIG_BRIDGE :)

grep -i config_bridge .config
# CONFIG_BRIDGE is not set

CONFIG_BRIDGE refers to iptable (netfilter) I think; beside on my other two boxes CONFIG_BRIDGE is not set and bridge in VirtualBox is working OK.
The only box that VM bridge network is not working is Intel ATOM 330 with with RTL8168c/8111c network card.
It seems to me this card support Promiscuous Mode
http://developer.novell.com/yes/70604.htm
I hope the one in the kernel does.

-- 
Joseph



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: VirtualBox bridge mode eth0
  2010-04-08 13:45   ` Joseph
@ 2010-04-12  7:30     ` Mick
  0 siblings, 0 replies; 11+ messages in thread
From: Mick @ 2010-04-12  7:30 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1103 bytes --]

On Thursday 08 April 2010 14:45:49 Joseph wrote:
> On 04/08/10 13:40, Nikos Chantziaras wrote:
> >On 04/08/2010 07:11 AM, Joseph wrote:
> >>I've activated Network adapter in VirtualBox (running Windows XP) but I
> >>it is not working. It works only in NAT mode not in Bridge mode.
> >>The worst part is when I enable bridge mode on second adapter the
> >>keyboard lock up, so I need to reboot the box :-/
> >>
> >>I've copied the VM into my other box and VirtualBox Network part is
> >>working in both Bridge and NAT mode.
> >>So I can not seem to understand why it is working on one box but not the
> >>other.
> >>
> >>Does it have something to do with Promiscuous Mode?
> >
> >Promiscuous Mode is needed for bridging to work.  This is why NAT
> >mode is preferable, btw, unless you have a good reason to use
> >bridging.
> 
> How to check if network card is set/support "promiscuose" mode?
> I know to set it is:
> ifconfig eth0 promisc

If you run ifconfig eth0 it should show you in the details of the interface if 
it is running in promiscuous mode.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-04-12 18:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-08  4:11 [gentoo-user] VirtualBox bridge mode eth0 Joseph
2010-04-08 10:40 ` Fernando Antunes
2010-04-08 13:24   ` Joseph
2010-04-08 16:33     ` Fernando Antunes
2010-04-08 16:49       ` Joseph
2010-04-08 17:11       ` Joseph
2010-04-08 17:55     ` Kyle Bader
2010-04-08 18:27       ` Joseph
2010-04-08 10:40 ` [gentoo-user] " Nikos Chantziaras
2010-04-08 13:45   ` Joseph
2010-04-12  7:30     ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox