Help needed setting up Host-only subnet.

Discussions about using Windows guests in VirtualBox.
markfilipak2
Posts: 173
Joined: 15. Jul 2012, 18:23
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Linux Mint 18
Location: Ohio

Re: Help needed setting up Host-only subnet.

Post by markfilipak2 »

Perryg wrote:If ICS is still enabled on the host disable it.
Done!
Perryg wrote:Also any firewall rules you may have created let's remove them as well.
None were created (supposedly Host-only doesn't go through the FW, right?)
Perryg wrote:After that reboot the host and provide the following.
Perryg wrote:ipconfig /all from the host.
Host ipconfig -all.txt
(4.14 KiB) Downloaded 46 times
Perryg wrote:route print from the host.
Host route print.txt
(1.84 KiB) Downloaded 35 times
Perryg wrote:ipconfig /all from a guest
Guest ipconfig -all.txt
(2.35 KiB) Downloaded 25 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Help needed setting up Host-only subnet.

Post by Perryg »

OK the host-only address is set to the following Windows apipa address scheme:
Autoconfiguration IP Address. . . : 169.254.46.17
Subnet Mask . . . . . . . . . . . : 255.255.0.0

This means that Windows is not seeing the host-only adapter properly. I assume this was after you deleted, rebooted, and added it again, correct?

The guest is actually getting the proper address from the host-only service meaning that it is in fact working.
But I see a problem with the guest ipconfig. It is stating a gateway and there is no gateway in the host-only network.
I assume you manually added that, am I right? In any case remove it.
Then open the preference section and manually set the IP for the host to 192.168.56.1 and verify all of the other addresses and make sure they are correct and then see what happens.
markfilipak2
Posts: 173
Joined: 15. Jul 2012, 18:23
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Linux Mint 18
Location: Ohio

Re: Help needed setting up Host-only subnet.

Post by markfilipak2 »

Perryg wrote:OK the host-only address is set to the following Windows apipa address scheme:
Autoconfiguration IP Address. . . : 169.254.46.17
Subnet Mask . . . . . . . . . . . : 255.255.0.0
apipa??
Perryg wrote:This means that Windows is not seeing the host-only adapter properly. I assume this was after you deleted, rebooted, and added it again, correct?
Okay, we're driving into the weeds now. You asked me to do this:
Perryg wrote:To start with we need to undue some things you may have done to get this to original state. Then we can go one state at a time.

If ICS is still enabled on the host disable it.
Also any firewall rules you may have created let's remove them as well.
After that reboot the host and provide the following.

ipconfig /all from the host.
route print from the host.
ipconfig /all from a guest
That's what I did. I didn't delete anything. I didn't add it again.

When I posted the leadoff for this thread, all I'd done was install Host-only and then start the Guest. All that has changed since then was to change Host-only from 192.168.19.1 to 192.168.56.1. Everything else: bogus network adapter, tunnel, etc., is what VBox Mgr. did. I mention this only in response to your comment that "...we need to undo some things you may have done..." I'm trying to carefully control things so that I know what I did and what VBox Mgr. did.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Help needed setting up Host-only subnet.

Post by Perryg »

You are going backwards in posts. Please don't. I just asked to be sure that you had done what I stated.

Manually change the host IP address in the preference and set it to 192.168.56.1 and verify that the rest of the addresses are as I posted in the screen shot.

apipa is an Automatic Private IP Addressing that Windows assigns when it does not know what to do otherwise, but you can google that to find out more.
markfilipak2
Posts: 173
Joined: 15. Jul 2012, 18:23
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Linux Mint 18
Location: Ohio

Re: Help needed setting up Host-only subnet.

Post by markfilipak2 »

Host-only.png
Host-only.png (8.22 KiB) Viewed 4595 times
Note that the adapter is at 192.168.56.101, not 192.168.56.1.
PS: To clarify, the screen shots are directly out of VBox Mgr. (File > Preferences > VBox Settings > Host-only Network Details.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Help needed setting up Host-only subnet.

Post by Perryg »

OK and why is it 101? Did you put 1 in and save it?
markfilipak2
Posts: 173
Joined: 15. Jul 2012, 18:23
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Linux Mint 18
Location: Ohio

Re: Help needed setting up Host-only subnet.

Post by markfilipak2 »

No. I didn't change it. That's exactly the way it was created by VBox Mgr.

How about I rip it out (again), boot Guest with no networking, kill Guest, reinstall Host-only, and see what happens?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Help needed setting up Host-only subnet.

Post by Perryg »

Just change the one address and see if it takes. Your Windows is not playing well at all and I want to watch a movie playing on the inside of my eyelids.
markfilipak2
Posts: 173
Joined: 15. Jul 2012, 18:23
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Linux Mint 18
Location: Ohio

Re: Help needed setting up Host-only subnet.

Post by markfilipak2 »

Okay. I changed adapter IP address to 192.168.56.1
Then I removed networking from the Guest.
Then I started the Guest.
Then I shut down the Guest.
Then I added Host-Only networking to the Guest.
Then I started the Guest.

The Guest is currently running. What next?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Help needed setting up Host-only subnet.

Post by Perryg »

From the host & guest run ipconfig /all and post the results
markfilipak2
Posts: 173
Joined: 15. Jul 2012, 18:23
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Linux Mint 18
Location: Ohio

Re: Help needed setting up Host-only subnet.

Post by markfilipak2 »

Host ipconfig -all.txt
(4.16 KiB) Downloaded 45 times
Guest ipconfig -all.txt
(2.49 KiB) Downloaded 45 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Help needed setting up Host-only subnet.

Post by Perryg »

Now on the guest edit the network and remove the gateway.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Help needed setting up Host-only subnet.

Post by Perryg »

After you do that try to ping 192.168.56.1 from the guest and 192.168.56.102 from the host. I gotta go but if it works don't do anything else until you write it all down. If not well there's always tomorrow.
markfilipak2
Posts: 173
Joined: 15. Jul 2012, 18:23
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Linux Mint 18
Location: Ohio

Re: Help needed setting up Host-only subnet.

Post by markfilipak2 »

What Gateway.png
What Gateway.png (6.93 KiB) Viewed 4591 times
Gateway? Gateway? It didn't have no stinking gateway!
markfilipak2
Posts: 173
Joined: 15. Jul 2012, 18:23
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Linux Mint 18
Location: Ohio

Re: Help needed setting up Host-only subnet.

Post by markfilipak2 »

Perryg wrote:After you do that try to ping 192.168.56.1 from the guest and 192.168.56.102 from the host.
102? Are you sure?
Post Reply