vifconfig(1M) vifconfig(1M)
NAME
vifconfig - configure virtual interface parameters
SYNOPSIS
vifconfig interface [command addr [netmask]]
DESCRIPTION
A virtual interface in this context is simply an additional IP address
associated with the physical interface. This additional IP address can
be viewed as an alias to the IP address normally associated with the
physical interface. vifconfig is intended for configuring and unconfi-
guring virtual interfaces. Used without options, vifconfig displays
the current configuration for a network interface. The following com-
mands can be used with vifconfig.
The alias command creates a virtual interface with the IP address
addr. If the netmask parameter is supplied, it becomes the netmask of
the virtual interface, otherwise the netmask of the real interface is
used.
The delete command removes the virtual interface with corresponding
addr IP address. The netmask parameter is ignored if it is supplied.
EXAMPLES
vifconfig lce0 alias 139.22.11.10 generates an IP alias for the net-
work interface lce0 with IP address 139.22.11.10 and default netmask.
vifconfig lce0 alias 139.22.11.11 0xffff0000 generates an IP alias for
the lce0 network interface with IP address 139.22.11.11 and netmask
255.255.0.0.
vifconfig lce0 displays the configuration for the network interface
lce0.
lce0: flags=23<UP,BROADCAST,NOTRAILERS>
inet 139.22.11.7 netmask ffff0000 broadcast 139.22.11.255
alias 139.22.11.10 netmask ffff0000
alias 139.22.11.11 netmask fffffc000
vifconfig lce0 delete 139.22.11.10 removes the virtual interface asso-
ciated with the given IP address and thus removes the IP alias for the
lce0 network interface.
NOTE
vifconfig requires that the package SIppp (Point-to-Point protocol) be
installed.
SEE ALSO
ifconfig(1M).
Page 1 Reliant UNIX 5.44 Printed 11/98