AIX

AIX

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


#Power
 View Only
  • 1.  Unable to remove route in SMIT

    Posted Wed August 29, 2012 07:53 AM

    Originally posted by: ej7222


    We recently brought in a new client and as such had to add a route to their remote server for sftp connection. The route was added incorrectly (wrong interface) and now we can't seem to remove it. My apologies in advance, our AIX administrator recently left the company and I have no experience with it. I am able to view the route with the SMIT ROUTE command however no matter what I enter in the "remove route" menu I cannot remove it.

    Here is how the route appears in SMIT:

    204.138.99/24 172.16.1.1 UG 0 23 en1 - -

    These are the options in the Remove Static Route menu:
    Entry Fields
    Destination TYPE net
    • DESTINATION Address []
    (dotted decimal or symbolic name)
    • Default GATEWAY Address []
    (dotted decimal or symbolic name)
    Network MASK (hexadecimal or dotted decimal) []
    Please help! Thanks.
    #AIX-Forum


  • 2.  Re: Unable to remove route in SMIT

    Posted Wed August 29, 2012 02:20 PM

    Originally posted by: Holgervk


    do
    lsattr -El inet0

    find the line where the route is that you want to delete. it will start with route=

    do delete it, do
    chdev -l inet0 -a delroute=XXX
    where XXX is everything you see behind "route=" in above lsattr output
    #AIX-Forum


  • 3.  Re: Unable to remove route in SMIT

    Posted Wed August 29, 2012 04:46 PM

    Originally posted by: ej7222


    I ran the command "lsattr -El inet0" and I did not find any routes listed for that IP address unfortunately. Any other ideas?
    #AIX-Forum


  • 4.  Re: Unable to remove route in SMIT

    Posted Wed August 29, 2012 04:49 PM

    Originally posted by: Holgervk


    post the output of lsattr -El inet0
    and the route you are trying to remove
    #AIX-Forum