no dhcp on nat

Discussions related to using VirtualBox on Linux hosts.
enthalpie
Posts: 51
Joined: 4. Sep 2008, 17:09
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows XP
Location: France, Yerres

no dhcp on nat

Post 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
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post 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.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
enthalpie
Posts: 51
Joined: 4. Sep 2008, 17:09
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows XP
Location: France, Yerres

Post 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
Last edited by enthalpie on 4. Sep 2008, 19:50, edited 1 time in total.
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

Post 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).
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.
enthalpie
Posts: 51
Joined: 4. Sep 2008, 17:09
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows XP
Location: France, Yerres

Post by enthalpie »

OK

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

regards
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

Post by Sasquatch »

Please read the manual for how to set up a bridge with Host Interfaces.
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.
enthalpie
Posts: 51
Joined: 4. Sep 2008, 17:09
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows XP
Location: France, Yerres

Post 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
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

Post by Sasquatch »

See the Forum FAQ, Wifi and bridge don't work.
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.
enthalpie
Posts: 51
Joined: 4. Sep 2008, 17:09
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows XP
Location: France, Yerres

Post 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
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

Post 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.
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.
enthalpie
Posts: 51
Joined: 4. Sep 2008, 17:09
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows XP
Location: France, Yerres

Post 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
Last edited by enthalpie on 5. Sep 2008, 20:09, edited 1 time in total.
soyez raisonnables, demandez l'impossible
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

Post 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).
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.
enthalpie
Posts: 51
Joined: 4. Sep 2008, 17:09
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows XP
Location: France, Yerres

Post 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 ?
soyez raisonnables, demandez l'impossible
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

Post by Sasquatch »

Yeah, remove the bridge, it does not function so why keep it.

Driver location: http://downloadcenter.intel.com/filter_ ... bmit=Go%21
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.
enthalpie
Posts: 51
Joined: 4. Sep 2008, 17:09
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows XP
Location: France, Yerres

Post by enthalpie »

thank's
soyez raisonnables, demandez l'impossible
Post Reply