the operating system software is installed. For more information, see the
installation instructions accompanying the Solaris software.
2. Determine the IP address for the interface.
An IP address must be assigned by your network administrator. Each interface on
a network must have a unique IP address.
3. Boot the operating system and log on to the system as superuser.
Enter the following command at the system prompt, and the superuser password:
zardoz # su
Password:
4. Create an appropriate
/etc/hostname
file for the new interface.
The name of the file you create should be of the form
/etc/hostname.
typenum,
where type is the Ethernet type identifier (some common types are
hme
,
le
,
nf
,
and
ie
) and num is the logical number of the interface according to the order in
which it was installed in the system.
For example, the standard interface provided on the system’s main logic board is
hme0
(type =
hme
, num =
0
). If you add a SunSwift
TM
PCI Ethernet adapter card as
a second
hme
interface, the file name should be
hostname.hme1
.
Note -
The documentation accompanying the Ethernet interface should identify
its type. Alternatively, you can enter the
show-devs
command from the
ok
prompt to obtain a list of all installed devices.
The host name has an associated IP address that you enter in the
/etc/hosts
file. See Step 6.
5. Enter the host name, assigned in Step 1, to the
/etc/hostname
file for the
new interface.
Following is an example of the
/etc/hostname
files required for a machine
called
zardoz
, which has two Ethernet interfaces—the standard on-board
Ethernet interface (
hme0
) and a second interface provided by a PCI Ethernet
adapter card (
hme1
). The host name will be
zardoz
to a network connected to
the standard
hme0
interface, and
zardoz-1
to a network connected to the
hme1
interface.
zardoz # cat /etc/hostname.hme0
zardoz
zardoz # cat /etc/hostname.hme1
zardoz-1
6. Create an entry in the
/etc/hosts
file for each active Ethernet interface.
Administration and Networking
199
Содержание Enterprise 250
Страница 2: ...USA 650 960 1300 fax 650 969 9131 ...
Страница 3: ...Sun Enterprise 250 Server Owner s Guide Part No 805 3389 11 Revision A June 1998 ...
Страница 44: ...10 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 45: ...CHAPTER 2 Photographic Tour of System System View 11 ...
Страница 46: ...Figure 2 1 1 Side Access Panel on page 19 12 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 48: ...Figure 2 2 14 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 50: ...Figure 2 3 12 Diskette Drive on page 22 16 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 52: ...Figure 2 4 18 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 69: ...Power Distribution Board Photographic Tour of System 35 ...
Страница 73: ...UltraSCSI Backplane Figure 2 20 For information related to this part see Photographic Tour of System 39 ...
Страница 88: ...54 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 102: ...68 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 160: ...126 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 212: ...178 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 226: ...Figure 9 8 192 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 228: ...194 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 266: ...232 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 310: ...276 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 324: ...290 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 330: ...296 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 346: ...312 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...
Страница 356: ...TABLE D 6 continued 322 Sun Enterprise 250 Server Owner s Guide Revision A June 1998 ...