4 Replies Latest reply on Jun 19, 2010 3:51 AM by mierdatuti

    create a ssh sever with two diferent guest

    mierdatuti Novice

       

      HI,

       

       

      I have Vmware workstation and I've created two Ubuntu 10.04 like guest.

       

       

      In first I use NAT to have rights for use Internet's home and I install ssh server  and in the second I use host-only and with a wifi I connect to external wlan to can conect to ssh server. The problem is that when I try to connect with the ssh server I can't. I see also that when I try to do a ping to the ssh server doesnt reply.

       

       

      Could you help me please?

       

       

      Many thanks and sorry for my english!

       

       

       

       

       

       

       

       

        • 1. Re: create a ssh sever with two diferent guest
          Master

          I don't understand.

           

          Are you trying to connect from the VMs to an external ssh server, or are you trying to connect to ssh servers running in the VMs?  If the latter, where are you trying to connect from? (from the host? from outside your home network?)

          • 2. Re: create a ssh sever with two diferent guest
            mierdatuti Novice

             

            Sorry, my english is poor.

             

             

            VM One -->Ubuntu 10.04 with ssh server. Network mode:Bridge. I have Internet because  is connected to the home LAN.

             

             

            VM Two -->Ubuntu 10.04. With this machine I would like to connect to VM One by ssh.  I have Internet becase I'm connecting to a external WLAN.

             

             

            From VM Two I do ping to VM One and doesnt reply. If I try to do ssh VM One I aslo doesnt have reply.

             

             

            Many thanks!

             

             

             

             

             

             

             

             

            • 3. Re: create a ssh sever with two diferent guest
              AWo Guru
              mierdatuti schrieb:

              VM Two -->Ubuntu 10.04. With this machine I would like to connect to VM One by ssh.  I have Internet becase I'm connecting to a external WLAN.

              Which network do you use here? NAT or bridged?

               

              What kind of physical NIC do both guests use? If you use a wireless try to use the wired NIC first for both guests if you use bridged networking for both.

               

              Post "ifconfig -a" from both guests.

               


              AWo

              VCP 3 & 4

              \[:o]===\[o:]

              =Would you like to have this posting as a ringtone on your cell phone?=

              =Send "Posting" to 911 for only $999999,99!=

              • 4. Re: create a ssh sever with two diferent guest
                mierdatuti Novice

                 

                Thanks.

                 

                In VM2, I dont have physical NIC. I plug a USB wireless, and I conect with a external free wireless.

                 

                VM1 (ssh server):

                 

                 

                eth0      Link encap:Ethernet  direcciónHW 00:0c:29:7f:e0:7a 

                          Direc. inet:221.221.221.3  Difus.:221.221.221.255  Másc:255.255.255.0

                          Dirección inet6: fe80::20c:29ff:fe7f:e07a/64 Alcance:Enlace

                          ACTIVO DIFUSIÓN FUNCIONANDO MULTICAST  MTU:1500  Métrica:1

                          Paquetes RX:9 errores:0 perdidos:0 overruns:0 frame:0

                          Paquetes TX:28 errores:0 perdidos:0 overruns:0 carrier:0

                          colisiones:0 long.colaTX:1000

                          Bytes RX:1135 (1.1 KB)  TX bytes:3810 (3.8 KB)

                          Interrupción:19 Dirección base: 0x2024

                 

                 

                VM2 (wireless):

                 

                 

                 

                wlan0     Link encap:Ethernet  direcciónHW 00:c0:a8:b4:74:3d 

                          Direc. inet:192.168.0.16  Difus.:192.168.0.255  Másc:255.255.255.0

                          Dirección inet6: fe80::2c0:a8ff:feb4:743d/64 Alcance:Enlace

                          ACTIVO DIFUSIÓN FUNCIONANDO MULTICAST  MTU:1500  Métrica:1

                          Paquetes RX:4305 errores:0 perdidos:0 overruns:0 frame:0

                          Paquetes TX:2870 errores:0 perdidos:0 overruns:0 carrier:0

                          colisiones:0 long.colaTX:1000

                          Bytes RX:2617440 (2.6 MB)  TX bytes:494174 (494.1

                 

                 

                Now, I've succeded have reply of ping. But I cannot connect to ssh server from VM2:

                 

                 

                PING atleti.dsnalias.com (238.43.210.28) 56(84) bytes of data.

                64 bytes from 238.43.210.28: icmp_seq=1 ttl=237 time=199 ms

                64 bytes from 238.43.210.28: icmp_seq=2 ttl=237 time=201 ms

                64 bytes from 238.43.210.28: icmp_seq=3 ttl=237 time=198 ms