Jump to content

Can a virtual machine exist on my physical network?

Amit Moryossef

In the effort of wanting to be able to stream games with steam around the house, I realised that when I am streaming, my main PC is unusable.

Solution: Created a virtual machine on a separate disk, and installed steam on it. I then moved a game for a test.

Sadly, my other computers can't find the new home-streaming machine, and that is because it resides on a virtual network - VMware settings "NAT"

If I use a bridged connection, I have no internet connection on the VM.

 

Is there a way to "connect' the vm to the actual network, so it will be recognised as just another computer on the network?

 

These are the current VM settings:

070ca3e1bc07ea8ea42868671776619e.png

Link to comment
Share on other sites

Link to post
Share on other sites

It should work with bridged (and that's what you want to use).

Does both the virtual machine and the host get an IP address? If you use Windows then you can see the IP with the ipconfig command in cmd. Both OSes should have their own, unique, IPv4 address.

Link to comment
Share on other sites

Link to post
Share on other sites

When using bridged, the host does have network, and this is the ipconfig: (Ineed, my network is 10.0.0.X)

Quote

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::9d25:4e60:b38b:6c2%2
   IPv4 Address. . . . . . . . . . . : 10.0.0.5
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.0.0.138

 

And the VM does not have a connection (yellow triangle), and this is the ipconfig:

Quote

Windows IP Configuration


Ethernet adapter Ethernet0:

   Connection-specific DNS Suffix  . : localdomain
   Link-local IPv6 Address . . . . . : fe80::4cab:2202:94fe:d93e%9
   IPv4 Address. . . . . . . . . . . : 192.168.174.128
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.174.2

Tunnel adapter isatap.localdomain:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : localdomain

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

 

Link to comment
Share on other sites

Link to post
Share on other sites

50 minutes ago, Amit Moryossef said:

When using bridged, the host does have network, and this is the ipconfig: (Ineed, my network is 10.0.0.X)

 

And the VM does not have a connection (yellow triangle), and this is the ipconfig:

Seems like your VM does not get an IP from the same place your host computer gets its IP. Do you have a static IP set on the virtual machine?

 

Control panel -> Network and Internet -> Network and Sharing Center -> Chapter adapter settings -> Right click on Ethernet icon -> Properties -> double click on Internet Protocol Version 4 (TCP/IPv4)

 

It should be set to "Obtain an IP address automatically".

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, LAwLz said:

Seems like your VM does not get an IP from the same place your host computer gets its IP. Do you have a static IP set on the virtual machine?

 

Control panel -> Network and Internet -> Network and Sharing Center -> Chapter adapter settings -> Right click on Ethernet icon -> Properties -> double click on Internet Protocol Version 4 (TCP/IPv4)

 

It should be set to "Obtain an IP address automatically".

I don't. It does say:  "Obtain an IP address automatically"
same for DNS

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Amit Moryossef said:

I don't. It does say:  "Obtain an IP address automatically"
same for DNS

Have you tried restarting the VM since you changed the settings? If you have, and it still gets a 192 address while your host gets a 10 address, then your VM is not bridged properly and is getting its IP from somewhere else.

If you go into the "change adapter settings" page again on your host machine, do you see an adapter called "VMware Network Adapter" in there?

 

Do you have the VMware tools installed on the virtual machine?

Link to comment
Share on other sites

Link to post
Share on other sites

15 hours ago, Amit Moryossef said:

I don't. It does say:  "Obtain an IP address automatically"
same for DNS

Do you have multiple NICs in your pc? It could be that the VM is bridging with an unused NIC, instead of your main ethernet connection.

My native language is C++

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×