AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

Flush Routing Table

  • 1.  Flush Routing Table

    Posted Wed July 30, 2014 09:46 AM

    Originally posted by: tpersoon


    My output from lsattr -El inet0 looked like this:

    authm                                 65536                                                                                       Authentication Methods                               True
    bootup_option                  no                                                                                              Use BSD-style Network Configuration      True
    gateway                                                                                                                                Gateway                                                          True
    hostname                          testora                                                                                       Host Name                                                      True
    rout6                                                                                                                                      IPv6 Route                                                      True
    route                                   net,-hopcount,0,,0,defgwIP                                                   Route                                                               True
     

    Then I ran smitty route > Flush Routing Table and the output became this:

    authm                                 65536                                                                                       Authentication Methods                               True
    bootup_option                  no                                                                                              Use BSD-style Network Configuration      True
    gateway                                                                                                                                Gateway                                                          True
    hostname                          testora                                                                                       Host Name                                                      True
    rout6                                                                                                                                      IPv6 Route                                                      True
    route                                   net,-hopcount,0,,0,defgwIP                                                   Route                                                               True
    route                                   net,-hopcount,0,,,,,,-static,0,defgwIP                                   Route                                                               True
    route                                   net,-hopcount,0,,,,,,-static,ownIP,127.0.0.1                       Route                                                                True
     
    The question is: where do these routes come from? The output of netstat -nr is the same as before I ran the Flush Routing Table
     


  • 2.  Re: Flush Routing Table

    Posted Tue August 12, 2014 04:26 PM

    Originally posted by: GarlandJoseph


    What was and is your

    netstat -rn output before and after you flushed the routing table

      route -f

    flushes routes that aren't associated with interfaces. Also, what does (route info is in odm)

    odmget /etc/objrepos/CuAt | grep -p inet0