two virtualbox (internal-network) setup
Dick Dowdell
dick.dowdell at gmail.com
Thu Mar 12 16:14:12 UTC 2015
Amer,
I agree with Dave. What you want is what bridged networking
<https://www.virtualbox.org/manual/ch06.html#network_bridged> is for.
Regards,
Dick Dowdell
Phone: 508-528-4018 Mobile: 508-498-7919
On Thu, Mar 12, 2015 at 11:40 AM, David Fletcher <dave at thefletchers.net>
wrote:
> On Thu, 2015-03-12 at 15:01 +0000, AMER wrote:
> > hello,
> >
> > Dear All
> >
> > I have two virtualboxes I want to setup a network between them, my
> > host is Ubuntu 12.04
> > I tried to do the following:
> > assign one adapter of VM1 to net0
> > with ip 192.168.1.1
> > assign one adapter of VM2 to net0
> > with ip 192.168.1.1
> >
> > I saw in the internet a comments I should configure the
> > internal-network using VboxManager
> > I do not how to solve this problem and how to use Vboxmanager in
> > Ubuntu
>
> For starters, they'll need to be different addresses that also don't
> clash with anything else on your network.
>
> With VirtualBox, I find that it works well for me if I use the "Bridged"
> network setting, which allows your virtual machine to connect to your
> physical LAN. AFAICT the NAT setting appears to set up a virtual LAN
> inside the VM which most probably isn't what you want.
>
> BTW why are you using Ubuntu 12.04? Why not use the LTS 14.04 version?
> Fixing the IP address in the /etc/network/interfaces file is easy:-
>
> # The primary network interface
> auto em1
> #iface em1 inet dhcp
> #Changes to:-
> iface em1 inet static
> address 192.168.2.2
> netmask 255.255.255.0
> network 192.168.2.0
> broadcast 192.168.2.255
> gateway 192.168.2.1
> dns-nameservers 192.168.2.1 8.8.8.8
>
> This is what is in my 14.04 home server.
>
> Dave
>
>
> --
> Lisa Simpson:- "They must have programmed it to eliminate the
> competition."
> Bart Simpson:- "You mean like Microsoft?"
>
>
> --
> 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/20150312/f55aa352/attachment.html>
More information about the ubuntu-users
mailing list