1833185 Members
2759 Online
110051 Solutions
New Discussion

Re: not able to telnet

 
SOLVED
Go to solution
senthil_3
Frequent Advisor

not able to telnet

Hi..
I am having HP-UX 11.11 Version. I am able to telnet from the Same network. But the same is not happening from a different N/W. There are no firewall restrictions between network.

I was not able to find a inetd.sec in /var/adm
Should I creat it for Access for other network.

Pl. help
8 REPLIES 8
RAC_1
Honored Contributor

Re: not able to telnet

You have to have route to that network.

Add route for that networj and try.
There is no substitute to HARDWORK
T G Manikandan
Honored Contributor

Re: not able to telnet

Just do a netstat -nr and check for the route to that network.

Michael Duthie
Trusted Contributor

Re: not able to telnet

Try -

route add net [destination] [mask] [gateway] 1

then check with netstat -rn

Mike
Sunil Sharma_1
Honored Contributor

Re: not able to telnet

Hi,

Are you able to ping the server from other network ? If ping is going through and inetd.sec is default file you should not get any problem.

If ping is not going through try to add route.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Elmar P. Kolkman
Honored Contributor

Re: not able to telnet

Also make sure that the system you try to use on the other network knows how to reach your 11.11 system. To make sure that is the case, try a ping between your server and the machine (PC/Server) on the other network. If that works, it is time to try the telnet.
Every problem has at least one solution. Only some solutions are harder to find.
senthil_3
Frequent Advisor

Re: not able to telnet

hi.

One thing I noticed is that I am not able to ping my gateway but which is happening from other systems over the network.

After adding the default route it started wkg.

Thanks for all the support.

Senthil

Pratyush Paul_1
Valued Contributor
Solution

Re: not able to telnet

Hi,

This is what you have to do now.

#ndd -get /dev/ip ip_ire_gw_probe

if it gets a value 1, then your dead gateway detection is enabled in your system. What basically it doing is trying to ping your router, unfortunately it is getting no ICMP request from the gateway, hence it is sending the IP address of the default route to a dead gateway list. Hence the system is unable to cross the network.

To disable the dead gateway.

# edit /etc/rc.config.d/nddconf

add the following to the end of the file

TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_ire_gw_probe
NDD_VALUE[0]=0

#/sbin/init.d/ndd start

It will remove your dead gateway issue.

or if you want to do it online

# ndd set /dev/ip ip_ire_gw_probe 0

and it would fix your problem, but you have to make changes to the nddconf file in order to make the changes permanent.

Thanks

Pratyush
Die Hard
senthil_3
Frequent Advisor

Re: not able to telnet

Thanks a lot Pratyush ..

The Solution said by you is working. It was exactly mirroring the Problem what I am facing. The steps said are working fine.

Thanks a Lot for Valid input..

Senthil