AIX

AIX

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


#Power
 View Only
  • 1.  Change gateway on network card

    Posted Wed July 21, 2010 08:47 AM

    Originally posted by: franky34


    AIX Version 4.3.2. Trying to change the gateway on this machine - thru smit changes, but when reboots goes back to original. How do I get this not to revert back to the original? Have even removed some addresses from the ODM, but the next day those entries are back in the ODM. Have review rc files and found nothing which should be doing this.

    Any ideas?
    Thanks in advance.
    #AIX-Forum


  • 2.  Re: Change gateway on network card

    Posted Wed July 21, 2010 10:12 AM

    Originally posted by: SystemAdmin


    ip routes are stored as attributes of the inet0 device (have seen no 4.3.2 personally but check for yourself).

    display all configured routes (along with other things):
    lsattr -El inet0

    chdev -l inet0 -a delroute="unwanted route spec"
    chdev -l inet0 -a addroute="wanted route spec" (or do this with smitty route)
    #AIX-Forum


  • 3.  Re: Change gateway on network card

    Posted Wed July 21, 2010 10:33 AM

    Originally posted by: franky34


    Have done thru smit. Doesn't hold when machine rebooted.
    #AIX-Forum


  • 4.  Re: Change gateway on network card

    Posted Wed July 21, 2010 10:56 AM

    Originally posted by: SystemAdmin


    I didn't ask you to whine about what didn't work. I asked you to run a command.
    #AIX-Forum


  • 5.  Re: Change gateway on network card

    Posted Thu July 22, 2010 10:01 AM

    Originally posted by: franky34


    Delgado - I didn't whine about anything and you didn't ask for information. So go shove it up your ?*##*?.

    As for anyone else, I figured it out on my own and appears to be working fine.
    #AIX-Forum


  • 6.  Re: Change gateway on network card

    Posted Thu July 22, 2010 10:06 AM

    Originally posted by: orphy


    Would you be so kind to tell us what you did to fix this? Sharing the knowledge would benefit the rest of us forumers.
    Orphy
    #AIX-Forum


  • 7.  Re: Change gateway on network card

    Posted Fri July 23, 2010 08:50 AM

    Originally posted by: franky34


    I would have shared what I did to fix this, unfortunately, this forum has people who are rude and think they are above everyone else. If I disclosed the info, i'm sure someone would have a problem of how I finally resolved my issue. Not to worry, I'm never returning to this forum.
    #AIX-Forum


  • 8.  Re: Change gateway on network card

    Posted Wed July 21, 2010 11:01 AM

    Originally posted by: orphy


    Did you do it from the "smitty mktcpip" screen and changed the Default Gateway field? If so, it should have worked and you could verify the change with "lsattr -Elinet0 -a route".
    Orphy
    #AIX-Forum


  • 9.  Re: Change gateway on network card

    Posted Wed July 21, 2010 02:47 PM

    Originally posted by: ColombianJoker


    In old AIX you could set AIX to use BSD style configuration. Check if your AIX is set up that way: smit configtcp. All checks and commands given here are assuming you have AIX-style network configuration, may be you're not.
    #AIX-Forum


  • 10.  Re: Change gateway on network card

    Posted Thu July 22, 2010 10:03 AM

    Originally posted by: franky34


    Some people can be very rude when others are looking for help, this is sad for this forum.
    #AIX-Forum