Re: Setting the default gateway..???
From: Simon Edmonds (edmondsi_at_uk.ibm.com)
Date: 07/23/03
- Next message: Jarek Carnecki: "two NICs - what can i do with them"
- Previous message: peter.glover_at_dsl.pipex.com: "Sendmail stops after editing netsvc.conf"
- In reply to: bloodymary_at_bloodytea.com: "Re: Setting the default gateway..???"
- Next in thread: bloodymary_at_bloodytea.com: "Re: Setting the default gateway..???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 23 Jul 2003 16:29:58 +0100
Use the smitty mktcpip procedure as Todd suggests, much easier :)
Regards,
<bloodymary@bloodytea.com> wrote in message
news:vht8e0t4o62d21@corp.supernews.com...
> Hi,
>
> I see that the method you describe looks like it will work, but I can
figure out how to use it.
> I'm not all that familiar with AIX, but I tried running that command from
the command line
> (yes... like it said not to... LOL...) and it didn't work.
>
> Can you please give me some more pointers.
>
>
> Thank you again.
>
>
> 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: Jarek Carnecki: "two NICs - what can i do with them"
- Previous message: peter.glover_at_dsl.pipex.com: "Sendmail stops after editing netsvc.conf"
- In reply to: bloodymary_at_bloodytea.com: "Re: Setting the default gateway..???"
- Next in thread: bloodymary_at_bloodytea.com: "Re: Setting the default gateway..???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|