Re: Gateway reset on reboot (was: xnptd insane after reboot)
From: hercom (hercom_at_ETB.NET.CO)
Date: 05/18/05
- Previous message: Patrick B. O'Brien: "4.3to5.3; now a funky syslog error"
- In reply to: Dave Stewart: "Gateway reset on reboot (was: xnptd insane after reboot)"
- Next in thread: Robert Miller: "Re: Gateway reset on reboot (was: xnptd insane after reboot)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 18 May 2005 16:47:36 -0500 To: aix-l@Princeton.EDU
I had a similar issue... I had to flush the table and remove all the network
interfaces (smitty-further configuration), cfgmgr and put the values again.
Also check on the scripts in /etc/rc.d/ for the "routeadd" statement.
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of Dave
Stewart
Sent: Wednesday, May 18, 2005 3:37 PM
To: aix-l@Princeton.EDU
Subject: Gateway reset on reboot (was: xnptd insane after reboot)
Hi folks!
Sorry it's been so long for me to respond to this, I was told by the
senior dude here that this would be fixed and I didn't have to worry
about it. Apparently it's not fixed yet (I just rebooted this server
and spent the next 15 minutes getting it back on the network) and the
senior admin is out of the country for a couple of weeks, so I'm taking
a crack at it. (I'm trying to set this old machine up as a internal DNS
server as well as a time server, so I'd like to resolve this issue:).
Disclaimer: I don't know what I'm doing. OK, that may be a little
drastic, but I'm not a studied AIX admin yet so please be a little
patient with me.
;-)
On Apr 7, 2005, at 9:02 PM, Bob Booth - CITES offered this insight:
>>
>> Next question, why does this server (IBM E20 running AIX 5.1) keep
>> resetting it's gateway on a reboot? Where *could* it be caching this
>> old gateway value?
>
> How exactly is the gateway being set through smit? If done correctly,
> the
> gateway information is stored in the ODM and set when the machine
> comes up.
smitty tcpip
Minimum Configuration & Startup
en2 (desired network interface; we also have en1 configured with a
different address, but with the same issue)
new default gateway is set in the "Default Gateway" entry and I hit
<enter> to make it happen.
Note at this point I usually have to flush the routing tables, as the
old gateway is often littered throughout it.
>
> You can check what value is stored in the ODM to make sure it is
> correct:
>
> odmget -q name="inet0" CuAt
Gee, this gives me a bunch of stuff. Some of it looks right, but most
of it looks just wrong. I show 26 entries similar to the following:
CuAt:
name = "inet0"
attribute = "route"
value = "net,-hopcount,5,,0,192.168.2.253"
type = "R"
generic = "DU"
rep = "s"
nls_index = 0
CuAt:
name = "inet0"
attribute = "route"
value = "net,-hopcount,0,,0,192.168.12.2"
type = "R"
generic = "DU"
rep = "s"
nls_index = 0
Above, the first example is just wrong (old network value), the second
example shows the new (correct) gateway value.
Sorry, I just don't know what this means or how to deal with it. I can
handle smitty OK and have man-handled the routing tables before, but
here I feel like I'm drowning here (well over my head). I feel like I
want to blast all these CuAt entries away and start over, but I don't
know how to do that or if it would even fix my issue.
If there is a chapter in the docs I should be reading, please feel free
to direct me there.
>
> If the gateway is correct, I bet someone went into one of the 'rc'
> files and
> created a 'route add default' statement somewhere.
>
> Let me know if I can assist further.
>
> bob
Please? Some of these CuAt entries look right, but others are just
pollution that needs to go away. Is there a way to make chdev remove
these entries for me? I know I can add an entry that way, but how to
delete one? I tried the following (as a guess) and it claimed to change
inet0, but didn't find any joy with it (entry is still there!):
chdev -l inet0 -a routedelete=net,-hopcount,5,,0,192.168.2.253
Looking forward to enlightenment and learning something new ...
Dave Stewart
Aqua~Flo Supply (Goleta CA)
dstewart at aquaflo dot com
An ASCII character walks into a bar. Bartender asks, "What'll you
have?" ASCII character says, "Give me a double." Bartender asks,
"Having a bad day?" ASCII character says, "Yeah, I have a parity
error." Bartender says, "Hmmm. I thought you looked a bit off."
- Previous message: Patrick B. O'Brien: "4.3to5.3; now a funky syslog error"
- In reply to: Dave Stewart: "Gateway reset on reboot (was: xnptd insane after reboot)"
- Next in thread: Robert Miller: "Re: Gateway reset on reboot (was: xnptd insane after reboot)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|