Hi, I've been trying to get networking up and running on CentOS 7 in a VMWare (5.5) VM. From inside the machine (connected to console (GNOME desktop)) it looks like network is up. From outside I can't reach it.>From outside, same subnet:outside_machine$ ssh -vvvv root at 10.14.6.60 OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013 debug1: Reading configuration data /login/sg219898/.ssh/config debug1: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 10.14.6.60 [10.14.6.60] port 22. debug1: connect to address 10.14.6.60 port 22: Connection timed out ssh: connect to host 10.14.6.60 port 22: Connection timed out (255)outside_machine$>From inside:http://picpaste.com/Untitled-wOeTEcEu.png http://picpaste.com/Untitled2-5zi3Dj7x.png * I shutdown NetworkManager based on someone's recommendation. * domainname/nisdomainname/hostname -y etc were showing no domainname so I set them using domainname xxx.com * from inside the machine I'm able to successfully ssh to vplab60/vplab60.xxx.com/localhost/ip-addres Any help is appreciated.ThanksKashyap ?------------------------------------------------------------------------------------------------------------------- Sponsored links: Rock Hard Erections. All New Formula Attacks the Root. Fast. www.capitolbird.org/pharma.html
On 5 March 2015 at 23:02, Kashyap Bhatt <thekashyap1 at yahoo.co.in> wrote:> Hi, > I've been trying to get networking up and running on CentOS 7 in a VMWare > (5.5) VM. From inside the machine (connected to console (GNOME desktop)) it > looks like network is up. From outside I can't reach it. > From outside, same subnet: > > outside_machine$ ssh -vvvv root at 10.14.6.60 > OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013 > debug1: Reading configuration data /login/sg219898/.ssh/config > debug1: Applying options for * > debug1: Reading configuration data /etc/ssh/ssh_config > debug1: Applying options for * > debug2: ssh_connect: needpriv 0 > debug1: Connecting to 10.14.6.60 [10.14.6.60] port 22. > debug1: connect to address 10.14.6.60 port 22: Connection timed out > ssh: connect to host 10.14.6.60 port 22: Connection timed out > (255)outside_machine$ > > From inside: > http://picpaste.com/Untitled-wOeTEcEu.png > http://picpaste.com/Untitled2-5zi3Dj7x.png > > * I shutdown NetworkManager based on someone's recommendation. > * domainname/nisdomainname/hostname -y etc were showing no domainname so I > set them using domainname xxx.com > * from inside the machine I'm able to successfully ssh to vplab60/ > vplab60.xxx.com/localhost/ip-addres > >Sounds like firewall is blocking port 22. Have you checked that?> Any help is appreciated.ThanksKashyap > > ------------------------------------------------------------------------------------------------------------------- > Sponsored links: Rock Hard Erections. All New Formula Attacks the Root. > Fast. www.capitolbird.org/pharma.html > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- ~ Happy install ! Erick. --- IRC : zerick About : http://about.me/zerick Linux User ID : 549567
On 3/5/2015 8:02 PM, Kashyap Bhatt wrote:> * I shutdown NetworkManager based on someone's recommendation.I wouldn't, I would learn how to use it. My guess is, the CentOS firewall is active, and you need to add a rule to allow inbound tcp/22 for ssh. -- john r pierce 37N 122W somewhere on the middle of the left coast
On Thu, Mar 5, 2015 at 10:02 PM, Kashyap Bhatt <thekashyap1 at yahoo.co.in> wrote:> Hi, > I've been trying to get networking up and running on CentOS 7 in a VMWare (5.5) VM. From inside the machine (connected to console (GNOME desktop)) it looks like network is up. From outside I can't reach it.Are you sure the vmware NIC is configured as bridged, not NAT on the host side? -- Les Mikesell lesmikesell at gmail.com
>> Are you sure the vmware NIC is configured as bridged, not NAT on the host side?Not really. Does it help if I say I'm using the same Network Adapter configuration with which another VM in same subnet works fine? I've added a screen shot if that helps, though I think it shows the guest config and not host which you questioned.PicPaste - Untitled3-cJQlcohB.png | ? | | ? | ? | ? | ? | ? | ? | ? | | PicPaste - Untitled3-cJQlcohB.png?PicPaste is a login free service for uploading pictures | | | | View on picpaste.com? | Preview by Yahoo | | | | ? |>> Firewall1. ssh was kind of an example to show that I'm unable to "see" this machine from outside. Same is true for ping or host.2. I don't know how to specifically add rule to allow ssh/22 through my firewall so before spending more time on that, I just shut firewall down (systemctl stop firewalld). Same result, ssh/ping time out. Would it make sense to start the firewalld and add rule to allow ssh through it?