Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ netconfig(1c) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ifconfig



NETCONFIG(1c,C)             AIX TCP/IP User's Guide             NETCONFIG(1c,C)



-------------------------------------------------------------------------------
netconfig



PURPOSE

Configures network interface parameters.

SYNTAX


             +------------+   +------------------+
netconfig ---|   one of   |---|                  |---|
             | +--------+ |   +- -s stanza_name -+
             +-| add    |-+
               | delete |
               | query  |
               +--------+


DESCRIPTION

The netconfig command is used to assign an address to a network interface or
configure network interface parameters.  This command may be used at boot time
to establish the network address of each interface present on the machines.
Superuser authority is required to use this command to add or delete.  Any user
can use this command to query.  The network interface parameters are in the
file /etc/net.  The netconfig command serves a similar purpose to the ifconfig
command.

FLAGS

The netconfig command option is:

-s stanza_name      Indicates that only the specified stanza, stanza_name, as
                    defined in the file /etc/net, is to be processed.

PARAMETERS

add Adds the interface specified by -s stanza_name.  If -s stanza_name is not
    specified, netconfig processes all stanzas in the /etc/net file and adds
    those interfaces.

delete
    Deletes the interface specified by -s stanza_name.  If -s stanza_name is
    not specified, netconfig processes all stanzas in the /etc/net file and
    deletes those interfaces.







Processed October 29, 1990      NETCONFIG(1c,C)                               1





NETCONFIG(1c,C)             AIX TCP/IP User's Guide             NETCONFIG(1c,C)



query
    Returns the state of all interfaces defined by stanzas in /etc/net.  If -s
    stanza_name is specified, netconfig returns the state of the interface
    specified by -s stanza_name.

EXAMPLES

  o To add a specified interface, "net0" that is defined in /etc/net:

      # netconfig add -s net0
      # _

  o To delete all interfaces defined in /etc/net:

      # netconfig delete
      # _

  o To query all interfaces that are defined in /etc/net:

  $ netconfig query

net0:  Internet Address: 130.200.8.10   inetlen:  1492    hardware type:  local
area net subnet mask:  ffff0000  remote   inetlen:  576 Metric:  3

  This interface is currently available

tk0:  Internet Address:  195.223.5.10  inetlen:  2010    hardware type:  local
area net subnet mask:  ffffff00    remote inetlen:   576    broadcast:  all
rings metric:  6

  This interface is currently available

1o0:  Internet Address:  127.0.0.1     inetlen:  1536    hardware type:  local
area net

  subnet mask:  ff000000   remote inetlen:  576

  This interface is currently available

FILES

/etc/net            Network Interface definition for TCP.

/etc/system         System device configurations.

RELATED INFORMATION

In this book:
"ifconfig"






Processed October 29, 1990      NETCONFIG(1c,C)                               2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026