Operating System - HP-UX
1834930 Members
2863 Online
110071 Solutions
New Discussion

Re: Need some help in Networking

 
Sandip Ghosh
Honored Contributor

Need some help in Networking

Some one requested to remove some tcp connection from the server and I had given the route -f to remove that tcp connection. As a result the total system gone to a hung mode.

What will be the better explanation to save myself?
Good Luck!!!
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: Need some help in Networking

You took out all tcp connections to the server on all ports.

That was too much.

If you need to delete a route, which helps connect different computer netowrks or computers to the Internet, you can use route delete ip_address

The request you've posted isn't specific enough to go on. Please expand the problem definition.

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
Patrick Wallek
Honored Contributor

Re: Need some help in Networking

What exactly do you mean "remove some tcp connection from the server"? What exactly were you trying to remove?

The 'route -f ' command removed some of your routing table entries. It sounds like it probably deleted the route that some of the clients were using to connect.

You probably need to re-establish your routing table first and see if that helps.
Paul Sperry
Honored Contributor

Re: Need some help in Networking

The route command was the wya to go bu the -f option does the following

-f Delete all route table entries that specify a
remote host for a gateway. If this is used with
one of the subcommands, the entries are deleted
before the subcommand is processed.



you should have used the delete option

delete Delete the specified host or network route from
the network routing table.




route delete
Sridhar Bhaskarla
Honored Contributor

Re: Need some help in Networking

Hi,

If you can go to the console, then login and run the command

/sbin/init.d/net start

This will add all the routes.

You can use ndd to disconnect individual connections. It is unsupported and I would not give that command.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sandip Ghosh
Honored Contributor

Re: Need some help in Networking

Now everything is running fine after stopping and starting the net. But what would be the best explanation?
Good Luck!!!
pap
Respected Contributor

Re: Need some help in Networking

I think A.Costa is finding way to save himself from further explanation to his higher authorities. He made a mistake that is sure though.

Please correct me Mr.Costa if I am wrong.

Thanks,
-DB
"Winners don't do different things , they do things differently"
Sridhar Bhaskarla
Honored Contributor

Re: Need some help in Networking

Hi,

Explanation is - misinterpreting the man page.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Patrick Wallek
Honored Contributor

Re: Need some help in Networking

Your explanation is that you made a mistake and used the wrong command syntax. BUT, you learned from it, right?

One of my previous supervisors told me one time "if you don't make some mistakes, you're not doing anything."

The biggest thing in this business - admit when you make a mistake and LEARN from it. Don't make the same mistake twice and don't try to cover it up.
Mark Ellzey
Valued Contributor

Re: Need some help in Networking

Hi,

If you meant to remove some TCP ports from processing requests, see /etc/services.

Regards,
Mark
W.C. Epperson
Trusted Contributor

Re: Need some help in Networking

The best explanation to save yourself is to admit that you misunderstood the documentation and accidentally blew away the whole routing table instead of the entry you wanted to remove. And give them this quote from Robert E. Lee: "Good judgement is a result of experience. Experience is a result of bad judgement."

This is a classic sysadmin mistake, and probably happens almost as often as the
"rm * .tmp" folly. I still remember when flushed the route table on an AIX box by mistake. Not to mention the time I ran "initrin" on an HP3000 to see what it did....
"I have great faith in fools; self-confidence, my friends call it." --Poe