Operating System - HP-UX
1832120 Members
3196 Online
110038 Solutions
New Discussion

Def Gateway: Don't want it no more

 
S Feltrogh
Occasional Contributor

Def Gateway: Don't want it no more

I've set up a default gateway on a 10.20 server, but it seems that it is quite unnecessary. Is there a procedure for removing the address? SAM doesn't seem to be able to do it.

Thanks in advance,
S.
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: Def Gateway: Don't want it no more

Look in /etc/rc.config.d/netconf, locate and remove the entries for the unwanted route.

Pete

Pete
Vicente Sanchez_4
New Member

Re: Def Gateway: Don't want it no more

Hi,

Go to /etc/rc.config.d and edit netconf file.

Regards, Vicente.
Adam J Markiewicz
Trusted Contributor

Re: Def Gateway: Don't want it no more

Yep.

Guyz before me told you how to remove it from the configuration, so it'll take place after next boot.

If you want to remove it from current routing and don't want to rebot type (as root of course):

route delete default

Good luck

Adam
I do everything perfectly, except from my mistakes
MANOJ SRIVASTAVA
Honored Contributor

Re: Def Gateway: Don't want it no more

Hi


You may use route delete gateway to do it on the fly , to make it permanent you need to edit /etc/rc.cofig.d/netconf file . You may like to look at this :
http://www1.itrc.hp.com/service/cki/docDisplay.do?docId=200000049791567


Manoj Srivastava
S Feltrogh
Occasional Contributor

Re: Def Gateway: Don't want it no more

Thanks for your help folks - much appreciated!
Oleg Zieaev_1
Regular Advisor

Re: Def Gateway: Don't want it no more

Hello.

two ways:
route -f
route delete default

Do not forget to change it in the file
/etc/rc.config.d/netconf

Hope this helps,
0leg
Professionals will prevail ...