1.63 IFCONFIG

Purpose

Use at the server console to configure network interface parameters.

Syntax



ifconfig board_name create addr address [parameters]... 

Binds address as a primary IP address to the board board_name with the specified parameters. Note that a board cannot have more than one primary IP address in a given network.



ifconfig board_name AddrChange address new_address [parameters]... 

Changes a primary IP address of the board board_name from address to new_address.



ifconfig board_name [addr address] [parameters]... 

Configures specified parameters. Use the optional [addr address] if the board board_name has multiple primary IP addresses bound to it. Ifconfig board_name displays the board parameters.



ifconfig board_name [addr address] destroy [verbose]

Unbinds the primary IP address bound to the board board_name. Use the optional [addr address] if the board board_name has multiple primary IP addresses bound to it.



ifconfig [-a] [-d | -u] [-af address_family]

Displays the parameters of all the boards:

-a displays information about all the boards in the system.

-d displays the parameters of boards that are down.

-u displays the parameters of boards that are up.

-af specifies the address family. The supported address family is inet.



ifconfig -l [-d | -u] [-af Address_Family]

Displays the list of all the board names.



ifconfig -help | -h

-help displays the detailed help for the utility.

-h displays the syntax of the utility.

Parameters

Use To

add | alias sec_ip_address

Add the specified sec_ip_address as a secondary IP address to the specified board.

noarp

Specify a secondary IP address as non-arpable.

delete | -alias sec_ip_address

Delete the secondary IP address.

metric | Cost cost

Specify the cost that RIP associates with this interface.

Mcast ip_address

Override TCP/IP’s standard IP multicast handling.

-Mcast

Send IP multicast packets using TCP/IP standard practices. This is the default Mcast option.

down

Mark an interface so that the system will not attempt to transmit messages through that interface.

up

Enable an interface after an "ifconfig down". It happens automatically when setting the first address on an interface. If the interface was reset when previously marked down, the hardware will be reinitialized.

Netmask | Mask mask

Specify the mask of an interface.

ProxyARP

Enable the Proxy ARP option.

- ProxyARP

Disable the Proxy ARP option (default).

DefRoute

Enable the default route option.

-DefRoute

Disable the default route option (default).

PoisonReverse

Specify that RIP uses Poison Reverse.

-PoisonReverse

Disable the poison reverse option (default).

Gateway | Gate ip_address

Specify the gateway for this interface.

arp

Enable the use of ARP (default).

-arp

Disable the use of ARP.

broadcast | Bcast

Specify the broadcast IP address.

Default: FF.FF.FF.FF