VB — configuring inter VMs communication / host / internet

Discussions related to using VirtualBox on Windows hosts.
Post Reply
goodflood
Posts: 2
Joined: 15. Oct 2012, 01:15

VB — configuring inter VMs communication / host / internet

Post by goodflood »

Host: Windows 7 running latest VBox + Extension pack

Vm1: lubuntu 3.10 Vm2: Ubuntu server 12.04.3

Problem: Can't get VMs talk/ping each other AND ping the internet at the same time

NAT: VMs have same IP, using ping/ssh is like checking connectivity/connecting to self, lol; can ping internet, can't ping each other

Bridged: VMs get unique IP; can ping each other, not the internet

Host-only: VMs get unique IP; can ping each other; not the internet

Internal network:

intnet, needs to be defined/added to windows 7, however, window 7 not accepting VBOXMANAGE add command, giving errors. VMs wait for network configuration, another 60 seconds and start without a network.

What else can I do? Change VM to use NAT Network, generic driver... ??? edit /etc/network/interfaces? change route? use squid?

Following Lubuntu Networking Message pops up in Lubuntu GUI:

network service discovery disabled

your current network has a .local domain which is not recommended and incompatible with the avahi network service discovery the service has been disabled.

Can anyone help?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VB — configuring inter VMs communication / host / intern

Post by Perryg »

See http://www.virtualbox.org/manual/ch06.html for an explanation on the different network modes.
If you have a router in the LAN you probably want to use Bridged and configure the guests accordingly.


Note: cross posting is not allowed. Other topic deleted.
goodflood
Posts: 2
Joined: 15. Oct 2012, 01:15

Re: VB — configuring inter VMs communication / host / intern

Post by goodflood »

Thanks, Perry. I ended up adding another NIC, one with NAT for internet and one with host-only for internal network
Post Reply