Re: default route. how to set. how can it get lost?

From: Jim Lane (JLane@TORONTOHYDRO.COM)
Date: Mon Mar 10 2003 - 12:54:35 EST


i've tried this as you suggest and it dowsn't seem to have changed
anything.
for clarification, the output of lsattr -El inet0 on a server that's
working OK
looks like:

authm 65536 Authentication Methods
True
hostname sysm Host Name
True
gateway Gateway
True
route net,,0,128.30.10.254 Route
True
bootup_option no Serial Optical Network Interface
True
rout6 FDDI Network Interface
True

whereas the problem server looks like:

authm 65536 Authentication Methods True
hostname elprpt Host Name True
gateway Gateway True
route Route True
bootup_option no Serial Optical Network Interface True
rout6 FDDI Network Interface True

note the differences in the 4th line of the output. somebody else
suggested i add a -P to the chdev commans.
is that what i'm looking for?

Jim Lane
Sr. Technical Consultant
Network Services
Toronto Hydro
office: (416)-542-2820
cell: (416)-896-8576

>>> jkstevenson@MICRON.COM 07-Mar-03 4:04:20 PM >>>
command is a little off...

use chdev -l inet0 -a addroute=net,,'0','nn.nn.nn.nn'

Then mkdev -l inet0 to establish the new route

-----Original Message-----
From: Jim Lane [mailto:JLane@TORONTOHYDRO.COM]
Sent: Friday, March 07, 2003 12:50 PM
To: aix-l@Princeton.EDU
Subject: default route. how to set. how can it get lost?

Hi, All

I have a server that, for some unknown reason, seems to have lost its
default route. a fellow sysadmin went to the console and
re-established
it using a "route add" command. correct me if I'm wrong but won't this
be lost at the next re-boot? how could this have happened? the server
is
question is AIX 4.3.3 ML10. on other AIX servers if I enter the
command
"lsattr -El inet0" I get a line beginning with "route" followed by an
indication of the correct default route. on the problem machine the
default route shows up under "netstat -rn" but not on "lsattr -El
inet0". am I not supposed to be able to re-establish this on the fly
in
the ODM? I thought if I entered a command such as:

 chdev -l inet0 -a route=net,,'0','nn.nn.nn.nn' (where nn.nn.nn.nn
is the gateway address)

it should update the ODM with the address. isn't that what
/usr/sbin/mktcpip does under the covers? if I run the chdev command on
the problem server it comes back and says "inet0 changed" but the
display from "lsattr -El inet0" stays the same. what am I missing
here?

Jim Lane
Sr. Technical Consultant
Network Services
Toronto Hydro
office: (416)-542-2820
cell: (416)-896-8576



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