lanconfig(1M)
NAME
lanconfig − configure network interface parameters
SYNOPSIS
lanconfig interface [ether |-ether] [ieee |-ieee]
DESCRIPTION
lanconfig is used to configure the network interface protocol. It must be used at boot time to configure each interface present on a machine, and can also be used at a later time to redefine interface protocol configuration. interface is a string of the form name unit, such as lan0.
lanconfig enables or disables protocols as defined by the following parameters:
ieee Enable IEEE 802.3 protocol over the network interface.
−ieee Disable IEEE 802.3 protocol over the network interface.
ether Enable Ethernet protocol over the network interface.
−ether Disable Ethernet protocol over the network interface.
(none) If no optional parameters are supplied, lanconfig displays the current configuration for interface.
Only users with appropriate privileges can modify the configuration of a network interface.
If no protocol encapsulation method is enabled, the lan driver cannot send packets over that interface and any subsequent send() fails, returning the error [ENETUNREACH].
DIAGNOSTICS
Messages indicating the specified interface does not exist, the requested parameter value is unknown, or the user is not privileged and tried to alter an interface’s configuration.
SEE ALSO
netstat(1), ifconfig(1m), hosts(4), routing(7) .
Hewlett-Packard Company — HP-UX Release 9.0: August 1992