Professional Web Applications Themes

Gateway strangeness? - AIX

Hello all, Been googling (both web and Usenet) and tried some various things to get my new pSeries 630 w/5.2L up and on our network and just haven't been successful. I've got some other RS/6000s that work just fine, but this one just won't get its TCP/IP config straight. The network connection/adapter seem fine (another RS/6000 worked fine with the same cable/network port and the network LEDs are blinking on the back (and front) of the new box). But it can't ping anything outside of itself (not even the default gateway). From looking at "netstat -rn" output, it looks like ...

  1. #1

    Default Gateway strangeness?

    Hello all,

    Been googling (both web and Usenet) and tried some various things to get
    my new pSeries 630 w/5.2L up and on our network and just haven't been
    successful. I've got some other RS/6000s that work just fine, but this
    one just won't get its TCP/IP config straight.

    The network connection/adapter seem fine (another RS/6000 worked fine with
    the same cable/network port and the network LEDs are blinking on the back
    (and front) of the new box).

    But it can't ping anything outside of itself (not even the default
    gateway). From looking at "netstat -rn" output, it looks like it thinks
    of itself as a gateway, but it's not (no gated/routed running) because
    we've got another box that we use as the default gateway. I've tried
    doing an "rmdev -l en0 -d"/"cfgmgr"/"smit tcpip", but that didn't work.
    I followed IBM's "Understanding LED 581 in AIX Version 4.x" and that
    didn't help. I went through the "TCP/IP and networking problem solving"
    Redbook and nothing helped there. I've flushed the routing tables and
    removed/added routes using smit, but that didn't do much good.
    Basically, I've tried everything that I know how to do and it's still
    stuck on itself.

    Here's the output of the "netstat -rn" and "netstat -in" commands from 2
    working AIX 4.3 boxes and the non-working AIX 5.2 box (hopefully it won't
    wrap too badly):

    Working AIX box #1
    ------------------
    # netstat -rn
    Routing tables
    Destination Gateway Flags Refs Use If PMTU Exp
    Groups

    Route Tree for Protocol Family 2 (Internet):
    default 116.282.144.254 UG 2 50376 en0 - -
    127/8 127.0.0.1 U 2 180874 lo0 - -
    116.282.144/23 116.282.145.52 U 8 297407 en0 - -

    Route Tree for Protocol Family 24 (Internet v6):
    ::1 ::1 UH 0 0 lo0 16896 -

    # netstat -in
    Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
    lo0 16896 link#1 184146 0 185994 0 0
    lo0 16896 127 127.0.0.1 184146 0 185994 0 0
    lo0 16896 ::1 184146 0 185994 0 0
    en0 1500 link#2 0.4.ac.49.96.dc 10542178 0 370123 0 0
    en0 1500 116.282.144 116.282.145.52 10542178 0 370123 0 0
    tr0 1492 link#3 40.0.74.70.0.1 0 0 2 2 0
    tr0 1492 116.282.144 116.282.145.74 0 0 2 2 0

    Working AIX box #2
    ------------------
    # netstat -rn
    Routing tables
    Destination Gateway Flags Refs Use If PMTU Exp
    Groups

    Route Tree for Protocol Family 2 (Internet):
    default 116.282.144.254 UGc 0 0 en1 - -
    127/8 127.0.0.1 U 3 842 lo0 - -
    125.144.35.243 116.282.144.254 UGHW 1 5498 en1 - -
    125.144.145.136 116.282.144.254 UGHW 0 1 en1 - 1
    116.282.144/23 116.282.145.51 U 50 1937256839 en1 - -
    116.282.210.177 116.282.144.254 UGHW 1 4197 en1 - -

    Route Tree for Protocol Family 24 (Internet v6):
    ::1 ::1 UH 0 0 lo0 16896 -

    # netstat -in
    Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
    en1 1500 link#2 0.29.dc.6c.5.54 1996370905 0 2013872632 0 0
    en1 1500 116.282.144 116.282.145.51 1996370905 0 2013872632 0 0
    lo0 16896 link#1 1322423 0 1338908 0 0
    lo0 16896 127 127.0.0.1 1322423 0 1338908 0 0
    lo0 16896 ::1 1322423 0 1338908 0 0

    Non-working AIX box
    -------------------
    # netstat -rn
    Routing tables
    Destination Gateway Flags Refs Use If PMTU Exp Groups

    Route Tree for Protocol Family 2 (Internet):
    default 116.282.144.254 UGc 0 0 en0 - -
    127/8 127.0.0.1 U 5 65 lo0 - -
    116.282.144.0 116.282.145.64 UHb 0 0 en0 - - =>
    116.282.144/23 116.282.145.64 U 1 26 en0 - -
    116.282.145.64 127.0.0.1 UGHS 0 0 lo0 - -
    116.282.145.255 116.282.145.64 UHb 0 0 en0 - -

    Route Tree for Protocol Family 24 (Internet v6):
    ::1 ::1 UH 0 0 lo0 16896 -

    # netstat -in
    Name Mtu Network Address Ipkts Ierrs Opkts Oerrs
    Coll
    en0 1500 link#2 0.2.55.dc.65.54 0 0 46 0 0
    en0 1500 116.282.144 116.282.145.64 0 0 46 0 0
    lo0 16896 link#1 175 0 219 0 0
    lo0 16896 127 127.0.0.1 175 0 219 0 0
    lo0 16896 ::1 175 0 219 0 0

    Working box 1 and the non-working box both do use en0 as their interface
    (both boxes have 2 interfaces, but working box 1 has an R/390 system using
    en1, while I config-ed non-working box's en1 as "down" just so it wouldn't
    be in the mix possibly mucking things up), while working box 2 really does
    use en1 as its interface (it's 100Mbps while en0 is 10Mbps). The line in
    non-working box's "netstat -rn" with 116.282.145.64 as a destination and
    127.0.0.1 as the gateway seem to be indicating that it's just looping back
    upon itself (and the S indicates the route was manually added, but I don't
    know where it got added from).

    If anybody has any suggestions, I'd love to hear them, as I'm completely
    befuddled by this one. If you email, please leave the subject so
    it'll get through SpamBouncer. Thanks in advance.

    Brian Beuchaw
    --
    If you want to reply to this message by mail, you will
    have to change the reply address to net

    Brian Guest

  2. #2

    Default Re: Gateway strangeness?

    Brian,

    Are you sure the en0 adapter is the card that you plugged the
    network cable into? Have you tried moving the cable to
    the other card and/or shutting down the en0 adapter
    and putting the same ip address and gateway on
    en1?



    ###########################
    --Flossy
    ###########################
    Cooler than a polar bear's
    toe-nails....
    --Big Boi
    Outkast
    ###########################


    Brian Beuchaw wrote: 
    FlossyFloss Guest

  3. #3

    Default Re: Gateway strangeness?

    FlossyFloss <com> wrote: 

    Y'know - I thought I had tried that, but I may not have flushed the
    routing tables or gotten the config complete when I did that. But I tried
    a variation of it yesterday after reading this - I detached en0, then
    flushed the routing tables, then made sure the config for en1 was
    complete, then I ifconfig'ed it up (while leaving the cable in NIC #1).
    And it worked - I could ping the gateway, other machines, it can get
    pinged, etc. So I played around a bit and found this out - en0 maps to
    NIC #2 (as labeled on the back of the machine), while en1 maps to NIC #1.
    This just isn't logical, and nowhere in any doc does it mention this (and
    the NICs are the same - 10/100Mpbs, so it's not like one of them is a
    gigabit card or something like that).

    Oh well, live and learn - thanks for kickstarting the brain.... Maybe
    future generations of AIX admins who have brains like I did can google
    and find this answer......

    brian
    --
    If you want to reply to this message by mail, you will
    have to change the reply address to net

    Brian Guest

  4. #4

    Default Re: Gateway strangeness?

    Brian or Sharon Beuchaw wrote:
     
    >
    >
    > Y'know - I thought I had tried that, but I may not have flushed the
    > routing tables or gotten the config complete when I did that. But I tried
    > a variation of it yesterday after reading this - I detached en0, then
    > flushed the routing tables, then made sure the config for en1 was
    > complete, then I ifconfig'ed it up (while leaving the cable in NIC #1).
    > And it worked - I could ping the gateway, other machines, it can get
    > pinged, etc. So I played around a bit and found this out - en0 maps to
    > NIC #2 (as labeled on the back of the machine), while en1 maps to NIC #1.
    > This just isn't logical, and nowhere in any doc does it mention this (and
    > the NICs are the same - 10/100Mpbs, so it's not like one of them is a
    > gigabit card or something like that).
    >
    > Oh well, live and learn - thanks for kickstarting the brain.... Maybe
    > future generations of AIX admins who have brains like I did can google
    > and find this answer......
    >
    > brian[/ref]


    No prob,

    Try this next time to confirm what adapter is actually
    plugged in to a switch:

    netstat -v |grep -E "ETHER|Media"

    This will not only tell you where you have a connection but
    it will also tell you what speed the port on the switch is.


    --
    --Flossy
    ###########################
    Cooler than a polar bear's
    toe-nails....
    --Big Boi
    Outkast
    ###########################
    FlossyFloss Guest

  5. #5

    Default Re: Gateway strangeness?

    FlossyFloss <com> wrote: 

    Good to know - thanks. Still baffled why IBM maps the cards in illogical
    order - wish they were more like Sun and HP, who actually label the
    physical ports on the back of the box "ce0", "lan0", etc. instead of "1",
    "2". :-(

    brian
    --
    If you want to reply to this message by mail, you will
    have to change the reply address to net

    Brian Guest

Similar Threads

  1. Master-page strangeness?
    By Andy_Fielding@adobeforums.com in forum Adobe Indesign Windows
    Replies: 13
    Last Post: March 14th, 06:42 AM
  2. #SDS Strangeness
    By Richard in forum Macromedia Director 3D
    Replies: 3
    Last Post: June 6th, 12:35 PM
  3. ID3: Font strangeness
    By Scott_Falkner@adobeforums.com in forum Adobe Indesign Windows
    Replies: 6
    Last Post: August 30th, 07:56 PM
  4. LaunchApplication strangeness on OSX
    By Mike in forum Mac Programming
    Replies: 2
    Last Post: October 10th, 02:11 PM
  5. irb regexp strangeness
    By Martin Stannard in forum Ruby
    Replies: 2
    Last Post: August 23rd, 08:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139