Problems to make 3 virtual machine with ethernet

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Ingeniero23
Posts: 1
Joined: 10. Apr 2015, 23:16

Problems to make 3 virtual machine with ethernet

Post by Ingeniero23 »

[img]Hi i am a student and i have to do a hard homework, i have to connect 3 virtual machines= 2 PC+1 ROUTER

I am using a Vyatta router and it has two virtual ethener wires to make two interfaces. Eth0: 10.1.1.1 Eth1:10.1.1.129 both with mask 255.255.255.128

The first Virtual Machine is an ubuntu 14.04 LTS it has 2 interfaces for that i created two adapters, the first one is a NAT adapter and the second is a sigle host adapter . When i type IFCONFIG i have Eth0 and Eth1, i configured Eth0 with dchp and Eth1 y type sudo nano /etc/network/interfaces and i configured it with IP:10.1.1.2 mask 255.255.255.128 gaterway 10.1.1.1.

The second Virtual Machine is a Linux PC but it doesnt have the same commands that ubuntu because it is something called OPSVIEW but with others commands i configured with IP:10.1.1.130 mask 255.255.255.128 gaterway 10.1.1.129

WHAT IS THE PROBLEM?

I have a problem checking connection because if i make PING since Virtual Machine1 to IP: 10.1.1.1, 10.1.1.2 and 10.1.1.129 it works perfect but it doesnt have connection to 10.1.1.130 and it is the same if i make ping since Virtual Machine2 i cant make ping to 10.1.1..2,so , If i type IFDOWN eth0 i cant connect to internet, but i can now make ping to 10.1.1.130 and if i type IFUP eth0 i can connect to internet but now i cant make ping to 10.1.1.130.......

Someone understand this? i really dont understand it, i think i did all good. I made all connection with the rights adapters, i configured with Ethx with good IP, so i really dont understand.. Please Help Me
Post Reply