Results 1 to 2 of 2

Thread: Problems to make 3 virtual machine with Linux Ubuntu

  1. #1
    Join Date
    Apr 2015
    Beans
    1

    Problems to make 3 virtual machine with Linux Ubuntu

    ]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..

    I Cant have 2 ethernet? are there another way to configure eth0 and eth1? or i just made something wrong?

    Pls Help

  2. #2
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,702

    Re: Problems to make 3 virtual machine with Linux Ubuntu

    Can you post the output of these 2 commands from both virtual machines please?
    Code:
    ifconfig
    route -n
    Are both VMs able to ping both interfaces of the router (10.1.1.1 and 10.1.1.129)?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •