![Novell LINUX ENTERPRISE 11 - SUBSCRIPTION MANAGEMENT TOOL GUIDE 10-02-2009 Скачать руководство пользователя страница 69](http://html.mh-extra.com/html/novell/linux-enterprise-11-subscription-management-tool-guide-10-02-2009/linux-enterprise-11-subscription-management-tool-guide-10-02-2009_manual_1711799069.webp)
You can also define the reference hardware with the
--scRefServerDn
option,
a pointer (Distinguished Name) to the global directory.
3
Add a network interface card (with a static IP address from the subnet defined
in the
scLocation
object) using the
--scNetworkcard
option and the
--scDevice
and
--scIpHostNumber
attributes. For example (type the
command all on one line):
posAdmin.pl --user cn=admin,o=
mycorp
,c=
us
--password
secret
--base cn=
bs
,cn=
server
,cn=
east
,ou=
boston
,o=
mycorp
,c=
us
--add --scNetworkcard --scDevice
eth0
--ipHostNumber
192.168.1.1
Table 6.3, “posAdmin Options for Creating
scNetworkcard
Objects”
(page 61) summarizes the posAdmin command options for
scNetworkcard
attributes.
Table 6.3
posAdmin Options for Creating scNetworkcard Objects
Description
Type
Option
The name of the network device of
the card; for example,
eth0
or
eth1
.
must
--scDevice
The IP address; for example,
192.168.1.1
.
must
--ipHostNumber
The MAC address of the network in-
terface card.
may
--macAddress
The name of the Linux kernel module
for the network interface card.
may
--scModul
The module options of the Linux
kernel module for the network inter-
face card.
may
--scModulOption
If the
ipHostNumber
is not inside
the defined subnet of the location, add
may
--ipNetmaskNumber
the netmask which belongs to the IP
Setting Up a Branch Server
61