
Chapter 3
Optional Configurations
23
2. Place the appropriate adapter host name into the
hostname.vge
file(s).
The
/etc/hostname.vge
<num> file must contain the appropriate host name for
the adapter.
The host name should be different from the host name of any other interface. For
example,
/etc/hostname.vge0
and
/etc/hostname.vge1
cannot share the same
host name.
The following example depicts the host name files required for a machine called
zardoz, with four adapters known as
zardoz-11
,
zardoz-12
,
zardoz-13
, and
zardoz-14
on the networks connected to the
vge0
,
vge1
,
vge2
, and
vge3
Ethernet
devices.
3. For each host name, enter the appropriate IP address in the
/etc/hosts
file.
4. Create the
/etc/vlan.vge
<num> file(s).
One corresponding
vlan.vge
<num> file is needed for each
/etc/
hostname.vge
<num> file created in the previous steps (one for each VLAN being
configured for each adapter on the server). Create files using the following naming
format:
For each file, the number <num> in the filename is determined according to
TABLE 3-2
. For example, the first adapter requires a file named
/etc/vlan.vge0
for
its first VLAN, and a file named
/etc/vlan.vge100
for its second VLAN.
zardoz # cat /etc/hostname.vge0
zardoz-11
zardoz # cat /etc/hostname.vge1
zardoz-12
zardoz # cat /etc/hostname.vge2
zardoz-13
zardoz # cat /etc/hostname.vge3
zardoz-14
/etc/vlan.vge
<num>
TABLE 3-2
Naming Convention for VLAN Files
Up to 64
VLANs per
Adapter
First Adapter
Second Adapter
Third Adapter
Fourth Adapter
1
/etc/vlan.vge0
/etc/vlan.vge1
/etc/vlan.vge2
/etc/vlan.vge3
2
/etc/vlan.vge100
/etc/vlan.vge101
/etc/vlan.vge102
/etc/vlan.vge103