Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If i create multiple ubuntu guests on the same host (windows 7), all with a network adapter configured as "Host-Only" the result is that all guests in the host can ping each other

On windows 7 host, with ipconfig i see something like

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : wr
   Link-local IPv6 Address . . . . . : ......
   IPv4 Address. . . . . . . . . . . : 10.15.38.101
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.16.2.254

Ethernet adapter VirtualBox Host-Only Network:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : .........
   IPv4 Address. . . . . . . . . . . : 192.168.56.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

and in fact all guests show their ip to be on the 192.168.56.X subnet.

Question: is it possible to easily connect guests running on different hosts with this Host-Only network which are accessible through LAN?

share|improve this question
1  
Not an answer in case someone can do this, but I was going to write: The purpose of the host only network is that it is on that host only. To do what you want, I recommend using bridged networking and setting up a Vlan. – William Hilsum May 6 '11 at 21:48
ok, but how should i set a vlan? – lurscher May 6 '11 at 21:51

1 Answer

up vote 1 down vote accepted

The short answer is no. You can't use "Host-Only Networking" and connect guests on multiple, physical hosts. You are probably better off using bridged networking if you need to connect the guests to your LAN.

If you could provide more details of what you are trying to accomplish we could perhaps make a better recommendation.

share|improve this answer
sure, this is the more detailed version of what i want to achieve: superuser.com/questions/272962/… – lurscher May 6 '11 at 22:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.