Page 1 of 2

no dhcp on nat

Posted: 4. Sep 2008, 17:14
by enthalpie
HI

I have read lot of topic on forum but nothing look like my problem

I have install on Opensuse 10.3, virtualbox 1.6.6

Guest os is wxp

If i use pcnet card , on windowsxp i have no tcp/ip adress, dhcp does'nt give adresse

if i try to change for intel card, i can't install it because no driver is found

dhcp is provide by my freebox and run correctly for my linux host and other machine on my network (192.168.1.0)

why dhcp does'nt give adress ?

I look at /etc/vbox and i did'nt have any files under it ?


regards

Posted: 4. Sep 2008, 17:34
by TerryE
The issue is to do with DNS search lists. VBox only passes the first entry down to your guest and if this is dead then DNS doesn't work in the guest. Do a google for dns guest site:forums.virtualbox.org to see threads which discuss this.

Posted: 4. Sep 2008, 18:58
by enthalpie
OK I will. but always guest did'nt access directly to externel dns ? why doc said NAT with dhcp is normal way to configure network card on guest

but in thise case i can also configure my host in routeur and configure ip guest manually with a second network ?
regards

Posted: 4. Sep 2008, 19:28
by Sasquatch
NAT provides the Guest with an IP of 10.0.2.15, with 10.0.2.2 as gateway and 10.0.2.3 as DNS. You could try to set this manually. You can also download the Intel drivers on the Host, install the GA in the Guest and use the Shared Folders to get the driver in the Guest system.

The reason you don't have any files in /etc/vbox is because you didn't create a Host Interface to use with a bridge. You need that if you want to have your Guest accessible on the network for other systems (including your Host).

Posted: 4. Sep 2008, 19:55
by enthalpie
OK

can i use my network for the guest or should have one other network ?

regards

Posted: 4. Sep 2008, 20:21
by Sasquatch
Please read the manual for how to set up a bridge with Host Interfaces.

Posted: 5. Sep 2008, 12:46
by enthalpie
Boudiou ! (french expression) hard to understand the doc.

first remark: it is shame to not be able to use networkmanager with tool knetworkmanager

I have create a bridge, br0.

bridge name bridge id STP enabled interfaces
br0 8000.0015002452e0 no eth0
vbox0
tap0
This bridge is "connected" with eth0, my wireless card and tap0, ethernet card for vbox

on my laptop i can go to intertnet, dhcp work well but tap0 is not running as ifconfig show:

br0 Lien encap:Ethernet HWaddr 00:15:00:24:52:E0
inet adr:192.168.1.101 Bcast:192.168.1.255 Masque:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2971 errors:0 dropped:0 overruns:0 frame:0
TX packets:3124 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:2459646 (2.3 Mb) TX bytes:565394 (552.1 Kb)

eth0 Lien encap:Ethernet HWaddr 00:15:00:24:52:E0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3137 errors:3 dropped:3 overruns:0 frame:0
TX packets:3124 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:2501649 (2.3 Mb) TX bytes:544659 (531.8 Kb)
Interruption:18 Adresse de base:0x8000 Mémoire:b0106000-b0106fff

tap0 Lien encap:Ethernet HWaddr 00:FF:25:96:3E:AF
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:10 overruns:0 carrier:0
collisions:0 lg file transmission:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

what's wrong ?

regards

Posted: 5. Sep 2008, 13:25
by Sasquatch
See the Forum FAQ, Wifi and bridge don't work.

Posted: 5. Sep 2008, 19:56
by enthalpie
serious limitation

Q: I set up a bridge with my wireless adapter, but it doesn't work. My Guest does not get an IP address or access the internet when I manually set one.
A: Creating a bridge with a wireless network card does not work. This is because of the limitations of the current bridge functionality. Please use NAT for Internet on the Guest system, or use Internet Connection Sharing to the virtual Interface without the use of a bridge.


so NAT does'nt work , i did'nt really understand what , hope last chance connection sharing (?? I have to look to manual to understand what that mean) works

regards

Posted: 5. Sep 2008, 20:02
by Sasquatch
What IP does you Guest get when you use NAT? What exactly doesn't work for you? Internet should work with NAT anyway, unless you use some kind of firewall or proxy server on the network before you can access the internet.

Posted: 5. Sep 2008, 20:06
by enthalpie
Sasquatch wrote:What IP does you Guest get when you use NAT?
.
none dhcp does'nt give address
What exactly doesn't work for you? Internet should work with NAT anyway, unless you use some kind of firewall or proxy server on the network before you can access the internet.
no proxy, no firewall except Freebox (ADSL routeur ) is runing as NAT routeur and dhcp serveur, my internal network is 192.168.1.0

regards

Posted: 5. Sep 2008, 20:09
by Sasquatch
Have you already tried the Intel/Pro1000 MT NIC? Download the drivers on the Host and put them on the Guest using Shared Folders (GA are needed).

Posted: 5. Sep 2008, 20:11
by enthalpie
NO

i was trying bridge solution, i will look at www with google to find drivers

i will tell you what append

regards

I should brooke bridge ? right ?

Posted: 5. Sep 2008, 20:21
by Sasquatch
Yeah, remove the bridge, it does not function so why keep it.

Driver location: http://downloadcenter.intel.com/filter_ ... bmit=Go%21

Posted: 5. Sep 2008, 20:28
by enthalpie
thank's