LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-16-2014, 06:50 PM   #1
dbdude
LQ Newbie
 
Registered: May 2014
Posts: 5

Rep: Reputation: Disabled
SSH to virtual machine running on other laptop on home network.


At home I have wireless network throught router, 192.168.1.1.
I have two laptop running win 7. Both have VMWare workstation running OEL(Oracle enterprise linux) Virtual machine. I want a VM of Laptop A to be able to do SSH to VM of laptop B. I am able to do ssh from laptop to the VM on the same laptop, not able to do SSH to other laptop's VM.
Using Bridged Network card.

Any help is appreciated.
 
Old 07-16-2014, 11:33 PM   #2
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
You'd need to have static IP's setup on the 2 real and 2 virtual computers, so you don't have to run and check each time you 'shell' into them using ssh

You need to open port 22 on the 2 real and 2 virtual computers. ( 4 firewalls )

You need lots of patience too !

Good luck...
 
Old 07-16-2014, 11:49 PM   #3
trieudoahong
LQ Newbie
 
Registered: May 2010
Location: California
Distribution: RHEL
Posts: 8

Rep: Reputation: 3
IMO you need to check firewall on 2 VMs. Are these two VMs both configured as bridged? If 1 configured as bridged and other one configured as NAT so you will got trouble as described.
 
Old 07-17-2014, 01:51 PM   #4
dbdude
LQ Newbie
 
Registered: May 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
There is not Fire Wall on VMs. Not sure why laptops need static IPs.
I noticed on host OS, win7, when I click network in windows explorer I only see one laptop the one I am working on. Same thing on other laptop, only see that laptop on the network. Can it be a reason. I am not a networking person, I don't know what this means.
 
Old 07-17-2014, 02:32 PM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by ceyx View Post
You'd need to have static IP's setup on the 2 real and 2 virtual computers, so you don't have to run and check each time you 'shell' into them using ssh
That would depend upon the router but I wouldn't expect it to be the case at all. The DHCP servers in the routers I have come across tend to assign the same IP addresses to the same MAC addresses fairly consistently. Fairly meaning if you took the machine away for a long time or the router was power cycled the IP assignment _may_ change but I've had both happen to no effect. Of course, it doesn't hurt to tell your DHCP server to give the same IP address for your machines to simplify things.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is base memory of virtual machine used when virtual machine is not running? ravisingh1 Linux - Virtualization and Cloud 3 04-09-2013 03:41 AM
Running Windows 7 in a Virtual Machine on my new Laptop dwains Linux - Laptop and Netbook 14 08-14-2012 03:40 PM
Running a windows xp virtual machine on a old Dell Dimension 4600(running ubuntu) shadogamon Linux - Virtualization and Cloud 11 04-01-2011 02:08 PM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM
want to ssh/ftp to home machine (Slack) from office through home router fincher69 Linux - Networking 2 09-21-2005 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration