Access localhost without WiFi

This post was originally published on this site

Hi,

I have my Macbook and a Windows 8 Windows VM in Fusion 6.

Now my problem is that for development purposes, I need to access a server on my Mac side from within Windows 8.

Localhost, 127.0.0.1 don’t work.

 

How can I do this knowing that I need it to work WITHOUT wifi. Most of the time I’m in a plane or train and don’t have a network.

While at home, no problem, I hit 192.168.1.nn where nn is the fixed address for my Mac, but when I don’t have any kind of Ethernet/Wifi connection, then what?

 

Is there a way to set a fixed IP that Windows will see to talk to the Mac side?
My Fusion is using NAT for its own network needs.

Should I do something else? Bridging? What about my DHCP server at home when connected?
What I want to avoid is to have to change the config each time I’m connected or offline. I need a config that is working once and for all.

 

Thanks for any (detailed) instructions.

 

Steve

Obtain Guest Subnet Mask

This post was originally published on this site

Hello,

 

I’ve been up and down the internet and cannot seem to find an answer to this.

 

I’m trying to script output to include a Guest VM’s IP address and its Subnet Mask.  I cannot seem to find any command that will present it without having to provide an account to the VM (Get-VMGuestNetworkInterface).  Isn’t VMtools aware of the IPaddress and netmask?  Maybe this is so simple I’m overlooking something.

 

I’m looking for something like this:  Get-Cluster “<cluster>” | Get-VM | Select Name, {$_.Guest.IPAddress}, {$_.ExtensionData.Summary.Guest.Subnet}

 

Obviously “Guest.Subnet” isn’t a valid parameter, but is there something that would work in its place?

 

Thanks in advance!