Network Administration 4-15
8VLQJLIFRQILJWR&RQILJXUHDQ,QWHUIDFH
$ERXWWKHLIFRQILJ&RPPDQG
The /etc/rc file in the root volume contains ifconfig commands to configure net-
work interfaces, including virtual interfaces, at system boot. You can also manually
use the ifconfig command when the system is operating.
7KHLIFRQILJ&RPPDQG6\QWD[
The ifconfig command syntax is as follows:
LIFRQILJLQWHUIDFH!
>>DOLDV_DOLDV@DGGUHVV!@>XS_GRZQ@
>QHWPDVNPDVN!@>EURDGFDVWDGGUHVV!@
>PWXVL]HVL]H!@>PHGLDW\SHW\SH!@
>WUXVWHG_XQWUXVWHG@>ZLQV_ZLQV@
5HDVRQVWR8VHWKHLIFRQILJ&RPPDQG
You use the ifconfig command for the following purposes:
changing the interfaces IP address, network mask, or broadcast address
setting the media type on an Ethernet interface
setting the maximum transmission unit (MTU)
configuring the interface up or down
&KDQJLQJWKH,QWHUIDFH·V,3$GGUHVV1HWZRUN0DVNRU
%URDGFDVW$GGUHVV
The following examples show configuring an Ethernet interface and a virtual interface
on a filer:
LIFRQILJH
LIFRQILJHQHWPDVN
LIFRQILJHEURDGFDVW
The interface names on your system might be different, depending on your specific
filer. For information about interface naming conventions, refer to Naming Conven-
tions for Network Interfaces in Chapter 2.
6HWWLQJWKH0HGLD7\SHRQDQ(WKHUQHW,QWHUIDFH
The following example shows configuring an Ethernet interface on a filer:
LIFRQILJHPHGLDW\SHWS