two virtualbox (internal-network) setup
Amer
amer7777 at hotmail.com
Thu Mar 12 20:06:00 UTC 2015
Hello,
Thanks for your messages
This is what I did
In each vm I gave it the following ip
192.168.1.1 vm1 eth2
192.168.1.2 vm2 eth2
However, my host machine is also Ubuntu and its IP is 10.68.21.7
This configuration doesn't work with me and its damage my NIC card :(
However, do you want me to give the VMs an IP in the same subnet of my physical machine.
However, I want to extend this work to have multiple VMs and I think the bridge solution will not work.
I need to know how to enable internal-network and how to give the VMs connected to it a static IP. Unfortunately, in the Internet there is no documentation show me how to do so.
Best regards,
Amer
Sent from my iPhone
> On ٢١ جما١، ١٤٣٦ هـ, at ٧:١٤ م, Dick Dowdell <dick.dowdell at gmail.com> wrote:
>
> Amer,
>
> I agree with Dave. What you want is what bridged networking 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
>
> --
> 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/04165817/attachment.html>
More information about the ubuntu-users
mailing list