Where does the built-in DHCP server be available?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
gattamaneni
Posts: 3
Joined: 3. Dec 2014, 09:38

Where does the built-in DHCP server be available?

Post by gattamaneni »

In Virtual Box preference settings, i get to see that a DHCP server is enabled for Host only network adapter.
How do i verify if it really is working? I am using Windows 7 OS as the Host

In case my guest happens to be a Solaris 10 OS, how do i configure that to use this DHCP server?
Any immediate help is most appreciated.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Where does the built-in DHCP server be available?

Post by socratis »

A properly configured DHCP client (your Solaris 10) will use any properly configured DHCP server, so if you get a valid IP address in your Solaris 10 you know it's working. As far as setting up your Solaris 10 to use DHCP, a quick search for "Solaris 10 configure DHCP client" can return a plethora of helpful results.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
gattamaneni
Posts: 3
Joined: 3. Dec 2014, 09:38

Re: Where does the built-in DHCP server be available?

Post by gattamaneni »

Thanks Socratis, infact i was trying out the same today.

I tried configuring the solaris installation to use DHCP.
I can successfully get to see a file(/etc/dhcp.e1000g0) created to this effect e1000g0 happens to be the NIC.
I could also verify that a valid IP is assigned with in the range of DHCP server definition.

Is it ever possible to ping the DHCP server? How do i verify it exists? Any configuration item to check for which DHCP server(IP) is used?

Primary concern is that i can't ping the solaris guest from my windows host. Can you help me out on this.

Also when i check the Host only adapter settings on windows, it claims that DHCP is not enabled contrary to the way it is set up in virtual box
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Where does the built-in DHCP server be available?

Post by socratis »

gattamaneni wrote:I could also verify that a valid IP is assigned with in the range of DHCP server definition.
That's your proof right there. You cannot ping the VirtualBox DHCP server, but you could ping your host. Typically it's 192.168.56.1, but it depends on your host's firewall and network settings. The same goes for your Solaris guest; check the firewall settings.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
gattamaneni
Posts: 3
Joined: 3. Dec 2014, 09:38

Re: Where does the built-in DHCP server be available?

Post by gattamaneni »

socratis wrote:
The same goes for your Solaris guest; check the firewall settings.[/quote]

Firewall service is not running in the solaris guest and so couldn't figure out the reason why it fails. Will have to try out some network sniffing.

And how do i get to know about the virtual adapters created and their MAC/IP address
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Where does the built-in DHCP server be available?

Post by Perryg »

By default ping will not work on a Windows 7 machine because ICMP is disabled. You can enable it in the firewall settings ( see Microsoft on how to do this )

Solaris is a bit more complicated until you learn it. When you install you can select DHCP but after that you need to run sysconfig. Manual configuration is also possible but more tricky. Seek Solaris assistance for this.
Post Reply