Re: Gateway reset on reboot (was: xnptd insane after reboot)

From: hercom (hercom_at_ETB.NET.CO)
Date: 05/18/05

  • Next message: Robert Miller: "Re: Gateway reset on reboot (was: xnptd insane after reboot)"
    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."


  • Next message: Robert Miller: "Re: Gateway reset on reboot (was: xnptd insane after reboot)"

    Relevant Pages

    • Re: Gateway reset on reboot (was: xnptd insane after reboot)
      ... network interface selection -> remove a network interface (done for all ... network interfaces; trying to blast out the old gateway value that just ... Here's the output that smitty is giving me: ... set the gateway, ...
      (AIX-L)
    • Re: cant route.
      ... Have you configured your hosts on the 192.168.1.0/24 network to use ... as their default gateway, and have you configured the hosts on ... > I just setup some configuration for routing from the Freebsd to the ...
      (comp.unix.bsd.freebsd.misc)
    • Re: [SLE] connection redundancy
      ... which is the router just this side of the ... >>because it's own gateway is still up. ... You'll also need three network cards to put into this Linux box. ... your internal LAN can route packets to the Internet. ...
      (SuSE)
    • Re: Cant access secure Web pages
      ... and which need to be contacted via the Default Gateway. ... The Default Gateway being the software process that does the network ... Gateway (as set up by your ISP's DHCP packet to the router), ... me so I can send it directly (to the MAC address discovered by ARP). ...
      (uk.comp.sys.mac)
    • Re: default gw bug in RHEL4 and FC5
      ... Who decided that a ZeroConf address has any place on a network? ... 3927 Dynamic Configuration of IPv4 Link-Local Addresses. ... router. ... Who ever configured your gateway is ignoring RFCs. ...
      (linux.redhat)