Operating System - Linux
1828206 Members
2122 Online
109975 Solutions
New Discussion

not able to connect to linux machine

 
nishant_4
Occasional Advisor

not able to connect to linux machine

Hi,

I have two servers, one window and another linux, with IP 10.14.32.61 and 10.14.31.160 and i can access (ping and ssh both) linux machine from window machine within subnet.
But from outside of subnet say 10.14.33.154, i am able to access window machine but unable to ping or ssh to linux machine. i want to access my linux machine from outside of subnet as well.

Can anybody help me with detailed steps.

Thanks and Regards,
Kumar Nishant
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: not able to connect to linux machine

Shalom,

Check the gateway IP address of the system outside the subnet.

Most likely the router or network is not configured to carry the traffic of the gateway address is set incorrectly.


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
avizen9
Esteemed Contributor

Re: not able to connect to linux machine

Hello Nishant,
i believe there is no such settings on linux / windows side,

this can be done on network end router / switch configuration.

are you also handeling router / switch,
or you have network team over there,

better take advice from network team regarding this,

Alan_152
Honored Contributor

Re: not able to connect to linux machine

The default route has not been set on the linux machine.

You'll need to find out what your network's default route is from the windows machine. This can be done by opening opening a command line, entering "ipconfig", and looking for the entry called "default gateway".

Once you have that IP address, open a console and type in the following command: "route add default gw ".
Viktor Balogh
Honored Contributor

Re: not able to connect to linux machine

> The default route has not been set on the linux machine.
this would only affect the outgoing packets.

what are your network settings exactly?
(IP/netmask/GW for both machines?)

what is the setting of the machine outside the netmask? (IP/netmask/GW)

what is your network topology? what active/passive devices do you have between the machines?
****
Unix operates with beer.