AIX

AIX

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

 View Only
  • 1.  Reboot after changing default route

    Posted Fri September 22, 2006 06:03 AM

    Originally posted by: SystemAdmin


    hi,
    Is it necessary to Reboot Aix5.2 machine after doing
    odmdelete -o CuAt -q value="xxx"

    odmget CuAt does not reflects the changes made after executing above command


  • 2.  Re: Reboot after changing default route

    Posted Fri September 22, 2006 09:20 AM

    Originally posted by: SystemAdmin


    No you should not have to reboot after an odmdelete for the change to be seen with odmget. I would always recommend that you do the odmget first to a file so if you need to readd with odmadd that you will have the exact syntax. This appears as if the odmdelete did not delete the entry.


  • 3.  Re: Reboot after changing default route

    Posted Mon September 25, 2006 02:59 AM

    Originally posted by: SystemAdmin


    hi,
    Is there a way to see the changes in odmget command after deleting default gateways like doing save base


  • 4.  Re: Reboot after changing default route

    Posted Tue September 26, 2006 11:02 AM

    Originally posted by: steevojb


    can I ask why you are using odm commands to ammend default routes etc ?

    Steve


  • 5.  Re: Reboot after changing default route

    Posted Thu September 28, 2006 04:24 AM

    Originally posted by: SystemAdmin


    i dont know much but somebody told me that deleting default gateway
    usiing
    route delete 0 <ip>
    does not actually removes the default gateway ,and odm should be used to achieve the goal.pls let me know if am wrong and help on the same


  • 6.  Re: Reboot after changing default route

    Posted Thu September 28, 2006 09:28 AM

    Originally posted by: VirtualGreg


    routes, including the default route can be stored in ODM. If you want to correct you networking setup you could also massage things via "smitty mktcpip".


  • 7.  Re: Reboot after changing default route

    Posted Wed October 04, 2006 06:10 AM

    Originally posted by: peejayeff


    A small but sometimes significant point -- if you are updating existing TCPIP stuff you should use smitty tcpip and choose "Further configuration" (or use smitty configtcp direct -- not a fastpath I recall easily). Keep smitty mktcip for original setups; especially important with multiple interfaces.

    Also, in terms of default routes and odm updates, you can also use chdev on inet0 to make changes (what smitty does anyway AFAIK).

    P.