HP LCS60 Installation Manual page 337

Network interface for ethernet r3.0
Table of Contents

Advertisement

IFCONFIG
NAME
ifconfig – configure interface parameters
SYNOPSIS
ifconfig interface [address family] [address [dest address]] [parameters]
DESCRIPTION
The ifconfig command is used to display and modify the configuration of a net-
work interface. Only the superuser can modify an interface configuration.
Interface is the name assigned to the interface in the network configuration file
inetinit.cf(4). When no other parameters are supplied, ifconfig displays the current
configuration of the specified network interface.
The only address-family currently supported is the DARPA Internet family, inet.
The interface address is initially set to the Internet address of the host name
assigned to the interface in the inetinit.cf(4) file. It can be changed by specifying
either a host name (see named(1M) or hosts(4)) or an Internet address (see inet(3)).
The destination address for a point-to-point interface can be assigned in the same
manner.
The following parameters can be set with ifconfig:
broadcast addr
(Internet Address family only) Identify the address to be used for broad-
casts to the network. The default broadcast address is the interface
address with a host part (as identified by the subnet mask) of all 1's. This
setting affects only the broadcast address for transmitted packets;
addresses of all 0's and all 1's are both recognized as broadcasts on incom-
ing packets.
down Mark an interface as being down. No messages will be transmitted through
an interface that is down. If possible, the interface will be reset to disable
reception as well. This action does not automatically disable routes using
the interface.
hostgroups
Display the multicast host groups to which the interface currently belongs.
join addr
Join a multicast host group. Packets to the multicast address addr will be
accepted by the interface. Joining any individual multicast host group will
also automatically join the "all-hosts" multicast group with address
244.0.0.1.
leave addr
Leave a multicast host group. Packets to the multicast address addr will no
longer be accepted by the interface. Leaving all other individual multicast
host groups will also automatically leave the "all-hosts" multicast group
with address 244.0.0.1.
Issue 3
IFCONFIG ( 1M )
E-19

Advertisement

Table of Contents
loading

Table of Contents