Networking Troubles On CentOS 7

Home » CentOS » Networking Troubles On CentOS 7
CentOS 6 Comments

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@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

6 thoughts on - Networking Troubles On CentOS 7

  • 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.

  • 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 |
    | |
    |   |

  • Since you are not able to communicate to the CentOS 7 vm from the host are you at least able to ping the gateway from the from the guest, which is in this case the CentOS 7 VM?

  • So it was a stupid mistake, I had selected the wrong VLAN while creating the VM. Compared the network config with a VM on same ESXi host that was working.