AIX

AIX

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


#Power
 View Only
  • 1.  Adding a Static Route to an AIX 5 Machine

    Posted Tue August 30, 2011 05:23 AM

    Originally posted by: ifeatuosegbo


    Hi All,

    I have an AIX 5 Box and I with four interfaces. Already, the interface of interest has a default gateway on it already configured and working fine.

    However, I have another subnet from which I wish to reach this box and I cannot add the second gateway. Now I thought/thinking I will have to add a static route to achieve this goal. Is this correct?

    Also, to add this route, I have the options of using the #smit mkroute and the #route add achieve this. Now, please how do I use this to achieve this goal and also retain the default gateway(route) that has already been configured on the system.

    Thanks People....

    Ifeatu.
    http://twitter.com/IfeatuOsegbo
    #AIX-Forum


  • 2.  Re: Adding a Static Route to an AIX 5 Machine

    Posted Tue August 30, 2011 06:24 AM

    Originally posted by: ifeatuosegbo


    In additon, to add this route, I added the following command
    route add 0 10.1.1.10 ; where 10.1.1.10 is the Gateway of the network.

    Please does this make my box a gateway? Also I am thinking am supposed to add something like this:
    route add -net 10.1.1.0 10.1.1.10; where the initial one is the network id and the later is the Default Gateway.

    Thanks.
    #AIX-Forum


  • 3.  Re: Adding a Static Route to an AIX 5 Machine

    Posted Tue January 05, 2016 09:15 AM

    Originally posted by: DaveMarquardt


    No, this doesn't make this particular AIX system a gateway.

    If you can already reach 10.1.1.10 by a local interface, why do you need an additional network route for it? That comes "for free" when you configure your network interface.

    Have you run "netstat -rn" to see what routes you have?


    #AIX-Forum


  • 4.  Re: Adding a Static Route to an AIX 5 Machine

    Posted Tue November 15, 2011 10:00 AM

    Originally posted by: vandana01


    Hi . please may i know how to add a persistance (permenant) route in aix. without using smitty.
    #AIX-Forum


  • 5.  Re: Adding a Static Route to an AIX 5 Machine

    Posted Tue November 15, 2011 10:04 AM


  • 6.  Re: Adding a Static Route to an AIX 5 Machine

    Posted Mon January 04, 2016 07:32 AM

    Originally posted by: SiddKundu


    Hello Team,

    Any one could help with a tricks to add more than 255 static routes on a single interface in any version of AIX, does it support at all?

    Regards,

    Sidd Kundu (sidkundu@in.ibm.com)


    #AIX-Forum


  • 7.  Re: Adding a Static Route to an AIX 5 Machine

    Posted Tue January 05, 2016 09:16 AM

    Originally posted by: DaveMarquardt


    There's no particular limit on the number of routes through an interface. AIX will add routes you request with the route command until AIX can't get memory.


    #AIX-Forum


  • 8.  Re: Adding a Static Route to an AIX 5 Machine

    Posted Tue January 05, 2016 10:33 AM

    Originally posted by: SiddKundu


    Thank you Dave, appreciate your prompt response, I'm notifying the original requester. @SNDE_Huan_Tran_Van bef8a4cb-dae3-4ae3-8714-c59467916c17 type ahead list box


    #AIX-Forum


  • 9.  Re: Adding a Static Route to an AIX 5 Machine

    Posted Tue January 05, 2016 09:13 AM

    Originally posted by: DaveMarquardt


    There's no conflict between default routes and other routes you add. Are you seeing a problem?


    #AIX-Forum