Symantec 5 Benutzerhandbuch
To configure persistent interface names for network devices
1
Navigate to the hotplug file in the /etc/sysconfig directory:
#
cd /etc/sysconfig
2
Open the hotplug file in an editor.
3
Set HOTPLUG_PCI_QUEUE_NIC_EVENTS to yes:
HOTPLUG_PCI_QUEUE_NIC_EVENTS=yes
4
Run the command:
ifconfig -a
5
Make sure that the interface name to MAC address mapping remains same
across the reboots.
across the reboots.
Symantec recommends adding the PERSISTENT_NAME entries to the
configuration files for all the network interfaces (including the network
interfaces that are not used).
configuration files for all the network interfaces (including the network
interfaces that are not used).
For each ethernet interface displayed, do the following:
■
If a file named /etc/sysconfig/network/ifcfg-eth-id-mac, where mac is the
hardware address of that interface, does not exist, then do the following:
hardware address of that interface, does not exist, then do the following:
Create the file.
If a file exists for the same network interface with the name
/etc/sysconfig/network/ifcfg-ethX, then copy the contents of that file into
the newly created file. The variable ethX represents the interface name.
/etc/sysconfig/network/ifcfg-ethX, then copy the contents of that file into
the newly created file. The variable ethX represents the interface name.
■
Add the following line at the end of the file
/etc/sysconfig/network/ifcfg-eth-id-mac.
/etc/sysconfig/network/ifcfg-eth-id-mac.
PERSISTENT_NAME=ethX
where ethX is the interface name.
For example:
#
ifconfig -a
eth0
Link encap:Ethernet
HWaddr 00:02:B3:DB:38:FE
inet addr:10.212.99.30
Bcast:10.212.99.255
Mask:255.255.254.0
inet6 addr: fe80::202:b3ff:fedb:38fe/64 Scope:Link
UP BROADCAST RUNNING MULTICAST
MTU:1500
Metric:1
RX packets:453500 errors:0 dropped:0 overruns:0 frame:0
TX packets:8131 errors:0 dropped:0 overruns:0 carrier:0
43
Preparing to install VCS
Performing preinstallation tasks