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.
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 192.9.200.0, 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.2 System Management Guide: Communications and Networks.
Object Data Manager (ODM) Overview for Programmers in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.
Writing a Device Method in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.