Device Aliases - Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

Chapter 15. Network Configuration
kernel /vmlinuz-2.6.9-5.EL ro root=/dev/VolGroup00/LogVol00 \
netprofile=<profilename> \
initrd /initrd-2.6.9-5.EL.img
To switch profiles after the system has booted, go to Applications (the main menu on the panel) >
System Tools > Network Device Control (or type the command system-control-network)
to select a profile and activate it. The activate profile section only appears in the Network Device
Control interface if more than the default Common interface exists.
Alternatively, execute the following command to enable a profile (replace <profilename> with the
name of the profile):
system-config-network-cmd --profile <profilename> --activate

15.11. Device Aliases

Device aliases are virtual devices associated with the same physical hardware, but they can be
activated at the same time to have different IP addresses. They are commonly represented as the
device name followed by a colon and a number (for example, eth0:1). They are useful if you want to
have multiple IP addresses for a system that only has one network card.
After configuring the Ethernet device —such as eth0 —to use a static IP address (DHCP does not
work with aliases), go to the Devices tab and click New. Select the Ethernet card to configure with an
alias, set the static IP address for the alias, and click Apply to create it. Since a device already exists
for the Ethernet card, the one just created is the alias, such as eth0:1.
Warning
If you are configuring an Ethernet device to have an alias, neither the device nor the alias
can be configured to use DHCP. You must configure the IP addresses manually.
Figure 15.22, "Network Device Alias Example"
Notice the eth0:1 device — the first alias for eth0. The second alias for eth0 would have the device
name eth0:2, and so on. To modify the settings for the device alias, such as whether to activate it at
boot time and the alias number, select it from the list and click the Edit button.
192
rhgb quiet
shows an example of one alias for the eth0 device.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?

Questions and answers

Table of Contents