« Redhat Network Config ResourcesAWStats »

Defining Alias Interfaces

01/08/05

Permalink 01:50:55 pm, by admin Email , 119 words   English (US)
Categories: Networking, RedHat

Defining Alias Interfaces

RedHat supports the configuration of alias interfaces via network scripts of the for "ifcfg-eth0:0" as described in the documentation here:

http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/ref-guide/s1-networkscripts-interfaces.html

Additionally there is undocumented support for alias ranges. Using a single network script of the form "ifcfg-eth0-range0" a set of alias interfaces can be defined. This if very handly when setting up several aliases on a web server.

Here's a sample config file named "ifcfg-eth0-range0":

DEVICE=eth0
BOOTPROTO=static
HWADDR=00:0C:F1:D7:BB:6F
ONBOOT=yes
TYPE=Ethernet
IPADDR_START=70.84.242.240
IPADDR_END=70.84.242.247
CLONENUM_START=240
NETMASK=255.255.255.255
NO_ALIASROUTING=yes

Alias interfaces can be manually activated/deactivated with "ifup eth0-range0" or "ifdown eth0-range0".

July 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Reliable Penguin offers Linux Server Migrations, Systems Administration & Programming. Visit our main website at:

http://www.reliablepenguin.com

Search

Bookmark and Share

XML Feeds

blogging software