LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Static IP (https://www.linuxquestions.org/questions/linux-networking-3/static-ip-575523/)

devaravani 08-07-2007 11:29 PM

Static IP
 
Hi
I got broadband connection as well as static ip through my ISP.When I put the IP and subnet mask in my LInux server through the command netconfig, it takes. My static Ip is also pinging from other system. But when I am trying to connect this server through a ssh client, unable to login to the server. My router is directly connected to my PC's ethernet.Is there any setting to be made at modem level or any setting to be done at ISP side. pl anybody can guide me.

livetoday 08-07-2007 11:51 PM

make sure ssh ( port 22 ) is open on your system.

netstat -l | grep ssh

or

nmap localhost | grep ssh

sparc86 08-08-2007 12:50 AM

Isn't there any embedded firewall inside this modem/router?

What kind of broadband connection do you have?

What is your modems's model?


Please use the command "#ifconfig" and copy us here what do you have.

I believe your router/modem is connected to your ISP and when you send icmp packets (pings) to your public IP, you are actually only pinging your modem/router and not the linux box.

You have two options:

1. set the NAT settings into your routers/modem configurations.

or

2. Establish a pppoe connection with your ISP directly from your linux box.


Before any further, do what livetoday said and check if the 22 port is opened.


All times are GMT -5. The time now is 02:49 PM.