Content-type: text/html
netconfig - Manages network configuration processes
/usr/sbin/netconfig [-ui cli [clioptions]|gui [x resources]|menu]
Specifies the user interface to be invoked. The choices are: Specifies command line interface Specifies graphical user interface Specifies menu interface Specific command line options that will be used to interact with netconfig. The syntax is as follows: Provides a brief help message, listing all the configurable components along with the actions that can be performed on those components. Configurable components are indicated in Help output by a ``-'' prefix. Provides a detailed help message on how to configure the specified configurable component. Each action will be listed on a separate line with the attributes that can be used for the action. Used to perform a specific action on the selected component, optionally by altering the attribute's value for the selected component. A list of actions and their specific attribute-value pair will be listed by the clioption -configurable_component>Help. The actions are: Causes a new configuration to be created on the system for the selected component Modifies an existing configuration for the selected component Adds a new value to an attribute on an existing configuration for the selected component Deletes a value of an attribute on an existing configuration for the selected component Removes an existing configuration for the selected component Lists all the attribute-value pairs for the selected component on the system
The x resources are standard X11 resource options. For more information,
see the
X(1X)
reference page.
The Network Configuration application can be used to configure and modify the configuration of a TCP/IP network on a Tru64 UNIX(R) system.
Use the Network Configuration application, netconfig, to do the following: Configure network interfaces, such as Ethernet, FDDI and Token Ring Enable and disable the following daemons: gated, joind, routed, and rwhod Configure the system as an IP router Add, modify, and delete entries in the following files: /etc/routes, /etc/gateways, etc/hosts, /etc/hosts.equiv, and /etc/networks
You must have root privileges to run this application.
The
netconfig
command has three user interface options:
Graphical user interface (GUI)
Command line interface (CLI)
Menu interface (Menu)
To start netconfig from the graphical user interface, do the following: Click on the Application Manager icon on the CDE front panel. Double click on the System_Admin application group icon. Double click on the Configuration application group icon. Double click on the Network icon.
To start netconfig from the xterm, enter the following command from the xterm: netconfig -ui gui [xresource options]
To start the netconfig command line interface, enter the following command from the xterm: netconfig -ui cli [clioptions]
To start the netconfig menu interface, enter the following command from the xterm: netconfig -ui menu
Proceed through each menu by entering your choice. After selecting the item to be configured, enter the configuration information by answering a set of questions. Default answers are shown in square brackets ([]) where possible. To use a default answer, press the Return key. Changes are committed after you confirm the configuration.
Exit netconfig as follows: Enter exit at the main menu prompt to exit netconfig immediately. Enter exit at any other menu prompt to return to the previous menu. Enter exit at any other prompt to return you to the previous menu. The last changes made are ignored.
Quit
netconfig
as follows:
Enter
quit
at any menu prompt to exit
netconfig
immediately.
Enter
quit
at any other prompt to return
to the previous menu and ignore the last changes made.
You can view the Network Configuration online help volume without running the application. To open the Network Configuration help volume from the command line, enter the following command: /usr/dt/bin/dthelpview -helpVolume \ /usr/dt/appconfig/help/C/NetConfig.sdl
You can also view online help for this application by choosing Help
from the menu bar in the GUI version. The Help pulldown menu is displayed,
providing the following options:
Displays the Overview section of the help volume, which describes
the purpose of the application, how to run the application, and how to exit
the application.
Displays the Tasks section of the help volume, which describes
how to use the application to perform various tasks.
Displays the Reference section of the help volume, which describes
all dialog boxes and dialog box components in the application.
Activates the On Item help functionality by displaying a question
mark as the cursor. When the cursor is positioned on any component in the
application and you click on the component, a Help Viewer window is opened
and the help for the selected component is displayed in the window.
Displays the standard CDE instructions on how to use the Help
Viewer.
Displays version, copyright and trademark information for
the application.
The following example shows how to configure an entry in the /etc/hosts file using the command line interface: Enter the following command to add a host named myhost.mydomain whose IP address is 123.45.67.89: netconfig -ui cli -host create name=myhost.mydomain \ address=123.45.67.89 alias=myhost
The following example shows how to configure an entry in the
/etc/hosts
file using the command line interface:
Enter
netconfig -ui menu
at the command
line.
Enter the appropriate number from the displayed menu to select
Configuration Files.
Enter the appropriate number from the displayed menu to select
Hosts File.
Enter the appropriate number from the displayed menu to select
Add.
Enter the IP address of the host.
Enter the official host name.
If you want to assign an unofficial name (alias) to the host,
enter one or more aliases, separating each name by a space. If there are no
aliases, press the
Return
key.
If you want to enter a comment, enter the desired text. If
there are no comments, press the
Return
key.
Enter
Y
to confirm that the entry is correct.
The entry is then added to the
/etc/hosts
file.
Specifies the environment variables that define the
netconfig
configuration on your system
Specifies Internet routing information
Specifies the host name file
Specifies the trusted hosts file
Specifies the network name file
Specifies Internet static routing information
Commands: ifconfig(8), netsetup(8), rcinet(8), rc.config(8).
Files: gateways(4), hosts(4), hosts.equiv(4), networks(4), routes(4).
Networking: network_manual_setup(7).