Reconfigures the Internet instance.
chginet [ -d ] [ -a"Attribute=Value ..." ]
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.
|-a"Attribute=Value ..."||Specifies the customized attributes of the Internet instance. The
following are valid attributes:
|-d||Specifies that changes are made only in the configuration database. Changes take effect with the next IPL.|
To change an Internet instance and
specify a route, enter a method in the following format:
This example specifies a new route. The new route is being set to network 126.96.36.199, the bcroom gateway.
The chdev command, hostname command, mkdev command, route command.
The odm_run_method subroutine.
TCP/IP Network Interfaces in AIX 5L Version 5.1 System Management Guide: Communications and Networks.
Object Data Manager (ODM) Overview for Programmers in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.
Writing a Device Method in AIX 5L Version 5.1 Kernel Extensions and Device Support Programming Concepts.