two virtualbox (internal-network) setup

Dick Dowdell dick.dowdell at gmail.com
Fri Mar 13 21:00:50 UTC 2015


Engineer Amer,

Glad to help!  Good luck.

Regards,
Dick Dowdell
Phone: 508-528-4018  Mobile: 508-498-7919

On Fri, Mar 13, 2015 at 3:00 PM, Amer <amer7777 at hotmail.com> wrote:

> Thank you
> It is OK now
> I connected the VMs to net0 and I gave all of them the same subnet IP.
> Then, every thing is OK.
>
> Best regards,
> Amer
>
> ‏‫‏Amer ‏<amer7777 at hotmail.com>:‬
>
> Hello,
>
> Dear all
>
> I tried with host-only and the two VMS in the same subnet 192.168.56.x
> However, VM1 can ping the two vboxnet0 and 1, and VM2 can not,
> When I changed the IPs and restart the two VMs, reverse happen, VM2 can
> ping but VM1 can't.
> Although, in both scenarios no ping between the two VMs.
>
> Best regards,
> Amer
> .com>:‬
>
> Engineer Amer,
>
> If I understood your requirement, you need to set up two virtual machines
> within VirtualBox running on a Ubuntu host.  These two VMs must be visible
> to each other (and probably visible to the host machine). If that is
> correct, the VirtualBox solution is very simple:
>
>    - Use the Network settings to enable, on each of the VMs, two network
>    adapters, a NAT adapter and a Host-only adapter...
>    - Log on to each VM and use the ifconfig command to view the network
>    interface assignments.  Typically, the Host-only assignment will be eth1
>    and have an IP address of 192.168.56.nnn.  Each VM will be visible at that
>    address from the host and the other VM.
>
> This has always worked for me.
>
> If you need to reach either of the VMs from outside the host, you can use
> the VirtualBox Network Manager to set up port forwarding to the appropriate
> VM and port.  I hope this helps.  I attached images of the Network dialog
> boxes to an earlier posting, but they're being held for monitor approval.
> Regards,
> Dick Dowdell
> Phone: 508-528-4018  Mobile: 508-498-7919
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150313/d38cd270/attachment.html>


More information about the ubuntu-users mailing list