VMware Communities
rajasekaranVM
Contributor
Contributor

Unable to connect to the vm guest using putty.

Hi ,

I need a help....   I am new to Vm . i have installed two VM Guest the problem   is i am unable to login through putty from the host machine.can some one help me to resole this issue.

Reply
0 Kudos
8 Replies
Scillonian
Hot Shot
Hot Shot

What is your Host OS?

What is your VMware Workstation version?

What is the Guest OS in the VMs?

What type of networking is configured for the VMs?

Reply
0 Kudos
rajasekaranVM
Contributor
Contributor

Host Os -- Windows 7 Enterprise, 64-bit 6.1.7601, Service Pack 1

Vmware workstation version --  VMware® Workstation 12 Pro

Guest OS in the VMs  ---  Oracle Linux 6

Networking is configured for the VMs?  ---

VM1

Network adapter -- host only

VM2

Network adapter -- host only

pastedImage_1.png

Reply
0 Kudos
a_p_
Leadership
Leadership

Welcome to the Community,

are you able to ping the VM on it's 192.168.2.x IP address?

does the guest OS allow SSH connections, i.e. no firewall rules within the guest OS blocking SSH?

André

Reply
0 Kudos
rajasekaranVM
Contributor
Contributor

No i am unable to ping form host ...

if i ping i am getting request timeout.

Regards,

Raja

Reply
0 Kudos
a_p_
Leadership
Leadership

Please check the network settings.

On the host OS (WIndows), run ipconfig /all and post the settings for "VMnet1", which is the Hot-Only's virtual network adater.

For the guest, post the network adapter's configuration (should be: /etc/sysconfig/network-scripts/ifcfg-eth0), and the ifconfig output.

In addition to this, please attach the VM's configuration (.vmx) file to a reply post.


André

Reply
0 Kudos
rajasekaranVM
Contributor
Contributor

Thanks ...please find the requested info .. i willget the ifconfig details...

Ethernet adapter VMware Network Adapter VMnet1:

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet

1

   Physical Address. . . . . . . . . : 00-50-56-C0-00-01

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

   Link-local IPv6 Address . . . . . : fe80::b4e2:2ed4:8c85:6468%20(Preferred)

   IPv4 Address. . . . . . . . . . . : 192.168.2.10(Preferred)

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

   Default Gateway . . . . . . . . . :

   DHCPv6 IAID . . . . . . . . . . . : 335564886

   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-21-30-80-A6-D0-BF-9C-DE-F1-D6

   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1

                                       fec0:0:0:ffff::2%1

                                       fec0:0:0:ffff::3%1

   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{B4EC5929-BA20-4F9B-872D-C39BADC38324}:

=====================================================================================

VMX FILE for node 1

===================

.encoding = "windows-1252"

config.version = "8"

virtualHW.version = "12"

numvcpus = "2"

cpuid.coresPerSocket = "2"

vcpu.hotadd = "TRUE"

scsi0.present = "TRUE"

scsi0.virtualDev = "lsilogic"

memsize = "2048"

mem.hotadd = "TRUE"

scsi0:0.present = "TRUE"

scsi0:0.fileName = "rac1.vmdk"

ide1:0.present = "TRUE"

ide1:0.fileName = "C:\Users\chauradi\Softwares\Oracle_Linux5\OracleLinux-R5-U7-Server-x86_64-dvd.iso"

ide1:0.deviceType = "cdrom-image"

ethernet0.present = "TRUE"

ethernet0.connectionType = "hostonly"

ethernet0.virtualDev = "e1000"

ethernet0.wakeOnPcktRcv = "FALSE"

ethernet0.addressType = "generated"

ethernet1.present = "TRUE"

ethernet1.connectionType = "custom"

ethernet1.wakeOnPcktRcv = "FALSE"

ethernet1.addressType = "generated"

usb.present = "TRUE"

ehci.present = "TRUE"

ehci.pciSlotNumber = "36"

sound.present = "TRUE"

sound.fileName = "-1"

sound.autodetect = "TRUE"

serial0.present = "TRUE"

serial0.fileType = "thinprint"

pciBridge0.present = "TRUE"

pciBridge4.present = "TRUE"

pciBridge4.virtualDev = "pcieRootPort"

pciBridge4.functions = "8"

pciBridge5.present = "TRUE"

pciBridge5.virtualDev = "pcieRootPort"

pciBridge5.functions = "8"

pciBridge6.present = "TRUE"

pciBridge6.virtualDev = "pcieRootPort"

pciBridge6.functions = "8"

pciBridge7.present = "TRUE"

pciBridge7.virtualDev = "pcieRootPort"

pciBridge7.functions = "8"

vmci0.present = "TRUE"

hpet0.present = "TRUE"

usb.vbluetooth.startConnected = "TRUE"

displayName = "rac1"

guestOS = "oraclelinux-64"

nvram = "rac1.nvram"

virtualHW.productCompatibility = "hosted"

powerType.powerOff = "soft"

powerType.powerOn = "soft"

powerType.suspend = "soft"

powerType.reset = "soft"

extendedConfigFile = "rac1.vmxf"

gui.lastPoweredViewMode = "fullscreen"

uuid.bios = "56 4d 5f 2a db a8 15 7f-01 4f 4d ba d2 0f c3 2a"

uuid.location = "56 4d 5f 2a db a8 15 7f-01 4f 4d ba d2 0f c3 2a"

migrate.hostlog = ".\rac1-73aa84a3.hlog"

scsi0:0.redo = ""

pciBridge0.pciSlotNumber = "17"

pciBridge4.pciSlotNumber = "21"

pciBridge5.pciSlotNumber = "22"

pciBridge6.pciSlotNumber = "23"

pciBridge7.pciSlotNumber = "24"

scsi0.pciSlotNumber = "16"

usb.pciSlotNumber = "32"

ethernet0.pciSlotNumber = "33"

ethernet1.pciSlotNumber = "34"

sound.pciSlotNumber = "35"

vmci0.pciSlotNumber = "37"

ethernet0.generatedAddress = "00:0C:29:0F:C3:2A"

ethernet0.generatedAddressOffset = "0"

ethernet1.generatedAddress = "00:0c:29:0f:c3:34"

ethernet1.generatedAddressOffset = "10"

vmci0.id = "164074094"

monitor.phys_bits_used = "42"

vmotion.checkpointFBSize = "33554432"

vmotion.checkpointSVGAPrimarySize = "33554432"

cleanShutdown = "FALSE"

softPowerOff = "FALSE"

usb:1.speed = "2"

usb:1.present = "TRUE"

usb:1.deviceType = "hub"

usb:1.port = "1"

usb:1.parent = "-1"

ide1:0.startConnected = "TRUE"

tools.syncTime = "FALSE"

tools.remindInstall = "TRUE"

toolsInstallManager.updateCounter = "7"

toolsInstallManager.lastInstallError = "21004"

isolation.tools.hgfs.disable = "TRUE"

sharedFolder0.present = "true"

sharedFolder0.enabled = "true"

sharedFolder0.readAccess = "true"

sharedFolder0.writeAccess = "true"

sharedFolder0.hostPath = "C:\12CRAC\12CRAC\12crac1"

sharedFolder0.guestName = "Oracle_120102"

sharedFolder0.expiration = "never"

sharedFolder.maxNum = "1"

disk.locking = "FALSE"

scsi0:1.present = "TRUE"

scsi0:1.fileName = "data.vmdk"

scsi0:1.mode = "independent-persistent"

scsi0:2.present = "TRUE"

scsi0:2.fileName = "fra.vmdk"

scsi0:2.mode = "independent-persistent"

scsi0:2.redo = ""

scsi0:1.redo = ""

checkpoint.vmState = ""

ethernet1.vnet = "VMnet8"

fileSearchPath = "C:\RAJASEKARAN\VMWARE\12CRAC\12cASM;."

floppy0.present = "FALSE"

usb:0.present = "TRUE"

usb:0.deviceType = "hid"

usb:0.port = "0"

usb:0.parent = "-1"

Reply
0 Kudos
rajasekaranVM
Contributor
Contributor

pastedImage_0.png

Reply
0 Kudos
a_p_
Leadership
Leadership

From the configuration you posted, the VM has two virtual network adapters, Host-Only and NAT.

The NAT adapter on "eth0" has the IP address 192.168.244.128, which - assuming default settings - is a DHCP address from the VMnet8 (NAT) subnet.

However, the Host-Only adapter on "eth1" has a static IP address 192.168.10.1, which is not in the Host-Only subnet (192.168.2.9/24). I'd suggest you either set "eth1" to DHCP, or assign a valid IP address (e.g. 192.168.2.3 ... 127) to it.

André

Reply
0 Kudos