1833514 Members
2874 Online
110061 Solutions
New Discussion

deleting routes

 
Ragni Singh
Super Advisor

deleting routes

Hey all,

does one have to down the interface and then remove routes or can it be done with the interface up. I tried a route delete and its still showing as being up. Any help is greatly appreciated.
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: deleting routes

You should be able to delete the route with the interface up. Show us a netstat -rn and the syntax of your delete attempt, please.

Pete

Pete
Marco Santerre
Honored Contributor

Re: deleting routes

You should be able to delete routes while the interface is up. I've done it a few times with my interfaces up with no trouble. Did you enter the destination and the gateway on your route delete?
Cooperation is doing with a smile what you have to do anyhow.
Jeff Schussele
Honored Contributor

Re: deleting routes

Hi Sanjay,

route delete is very picky about it's syntax. I'd suggest you do a
netstat -rvn
to get verbose output.
Then use that info to construct the route delete command - EX: if it was entered as a route add net statement then it must be a route delete net statement to remove it. And remember any netmasks used in the add - they must be in the delete as well.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Ragni Singh
Super Advisor

Re: deleting routes

Here is the syntax I typed and the result I got back. I think it worked.
MANOJ SRIVASTAVA
Honored Contributor

Re: deleting routes

Sanjay

You may also to look at this :



http://www1.itrc.hp.com/service/cki/docDisplay.do?docId=200000049791567



Manoj Srivastava