Re: Setting the default gateway..???

From: Yoyo (yoyo_at_poczta.onet.pl)
Date: 07/22/03

  • Next message: Yoyo: "Re: Problem unmounting a NFS filesystem"
    Date: Tue, 22 Jul 2003 23:09:19 +0200
    
    

    lsattr -El inet0

    try this:

    chginet Method

    Purpose
    Reconfigures the Internet instance.

    Syntax
    chginet [ -d ] [ -a"Attribute=Value ..." ]

    Description
    The chginet method reconfigures the Internet instance, and can also change
    the HostName variable and any static routes that are defined. The chginet
    method calls the hostname command to change the host name. The chginet
    method also calls the route command to change any static routes. The chdev
    command calls method.

    Note: The chginet method is a programming tool and should not be entered
    from the command line.
    Flags

    -a"Attribute=Value ..." Specifies the customized attributes of the Internet
    instance. The following are valid attributes:
    hostname
    Specifies the name of the host.
    gateway
    Specifies the default gateway.
    route
    Specifies the route. The format of the Value variable of the Route attribute
    is: route=destination, gateway, [metric].
    delroute
    Specifies the route to delete. The format of the value is:
    route=destination, gateway, [metric].
    -d Specifies that changes are made only in the configuration database.
    Changes take effect with the next IPL.

    Examples
    To change an Internet instance and specify a route, enter a method in the
    following format:

    chginet -a"route=192.9.200.0,bcroom"

    This example specifies a new route. The new route is being set to network
    192.9.200.0, the bcroom gateway.

    Użytkownik <bloodymary@bloodytea.com> napisał w wiadomości
    news:vhqufp779eqa3a@corp.supernews.com...
    > Hi,
    > I'm tottaly new to this group. I have a question about setting the
    default gateway on our AIX system.
    > The problem is that every time I reboot the gateway is set for
    192.168.10.10, and I have to manual
    > change it through the command
    > route delete 0, then add the correct gateway in
    > using
    > route add 0 192.168. 10.8
    >
    >
    >


  • Next message: Yoyo: "Re: Problem unmounting a NFS filesystem"

    Relevant Pages

    • Re: Routing with windows 2000
      ... netmask Specifies a subnet mask value for this route entry. ... gateway Specifies gateway. ... ie. cost for the destination. ...
      (microsoft.public.win2000.general)
    • Re: Keep routing table
      ... netmask Specifies a subnet mask value for this route entry. ... gateway Specifies gateway. ... > route PRINT ...
      (microsoft.public.win2000.networking)
    • Re: Setting the default gateway..???
      ... I'm not all that familiar with AIX, but I tried running that command from the command line ... method also calls the route command to change any static routes. ... Specifies the name of the host. ... Specifies the default gateway. ...
      (comp.unix.aix)
    • Re: Setting the default gateway..???
      ... > I'm not all that familiar with AIX, but I tried running that command from ... > method also calls the route command to change any static routes. ... > Specifies the name of the host. ... > Specifies the default gateway. ...
      (comp.unix.aix)
    • Re: VPN and remote gateway
      ... > It seems you use the wrong route add command. ... > when the VPN connection is established. ... > | using the remote network as my gateway. ...
      (microsoft.public.windows.server.sbs)