Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

firstly i got 2 physical machines PC and notebook 1. under PC(WIN7, 192.168.1.2) have a VMWARE, VMWARE installed one solaris(172.168.1.50). I can use putty to access to solaris from PC.

  1. notebook(WIN7, 192.168.1.3), i cant use putty to access solaris from notebook.

My question is how to access solaris from notebook?

share|improve this question

1 Answer 1

Sounds like you are using internal networking for the Virtual Machine. If you can change the adapter in VMWare to bridged mode instead, your Solaris machine will be on the same network/subnet as your PC and laptop.

If that is not an option, then you need to:

  1. In the laptop, set the router/gateway to the IP address of your PC with VMWare.
  2. You might also need to enable IP routing on the PC running VMWare (assuming VMWare Workstaion or Player)

To do this in Windows, run regedit and browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Tcpip\Parameters\IPEnableRouter and set the value to 1

To do this in Linux, from a console run sudo sysctl -w net.ipv4.ip_forward=1

share|improve this answer
    
Thanks Tim, i want to know more from you, what do you think to do route add? route add 172.168.1.50 MASK 255.255.255.0 192.168.1.2, use this route on notebook, right? –  kitson Aug 6 '13 at 15:09
    
That would also suffice, but you need to enable "IP Forwarding" on 192.168.1.2 :) –  Tim Aug 6 '13 at 19:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.