Re: Changing default router

From: Holger.VanKoll@SWISSCOM.COM
Date: Tue Apr 01 2003 - 12:02:16 EST


you have to delete the old route first

odmdelete -o CuAt -q "name=inet0 and attribute=route"
might work or (like mktcpip)
chdev -l inet0 -a delroute=your_old_value

-----Original Message-----
From: Green, Simon [mailto:Simon.Green@EU.ALTRIA.COM]
Sent: Tuesday, April 01, 2003 6:10 PM
To: aix-l@Princeton.EDU
Subject: Changing default router

Dumb question time...
How do I change the default router in such a way that it will survive a
reboot?

I tried a chdev -l inet0 -a route=... -P, followed by a reboot, but that
didn't seem to work.

What am I missing? Do I have to do the whole mktcpip?

Simon Green
Altria ITSC Europe s.a.r.l.

AIX-L Archive at http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2
AIX FAQ at http://www.faqs.org/faqs/aix-faq/

N.B. Unsolicited email from vendors will seldom be appreciated.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:42 EDT