You can use a range file like this

[EMAIL PROTECTED]/etc/sysconfig/network-scripts # ll ifcfg-eth*
-rw-r--r--    1 root     root          116 Nov  1 08:54 ifcfg-eth0
-rw-r--r--    1 root     root          104 Nov  1 08:50 ifcfg-eth1
-rw-r--r--    1 root     root           69 Dec  6 16:09 ifcfg-eth1-range0
[EMAIL PROTECTED]/etc/sysconfig/network-scripts # cat ifcfg-eth1
DEVICE=eth1
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.0.2
NETMASK=255.255.255.0
GATEWAY=192.168.0..1
[EMAIL PROTECTED]/etc/sysconfig/network-scripts # cat ifcfg-eth1-range0
IPADDR_START=192.168.0.3
IPADDR_END=192.168.0.10
CLONENUM_START=1

/B


----- Original Message ----- 
From: "Yanick Quirion" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 19, 2003 07:39
Subject: Multiple Network Alias


> Hi all,
> 
> 
> I want to configure mutiple network aliases. With Redhat < 8.0 the next 
> config works fine:
> 
> [triton]:/etc/sysconfig/network-scripts# cat ifcfg-eth0:1
> IPADDR="132.210.158.203-235"
> NETMASK="255.255.255.0"
> [triton]:/etc/sysconfig/network-scripts# cat ifcfg-eth0:0
> IPADDR="132.210.158.200-201"
> NETMASK="255.255.255.0"
> 
> But with RH 8.0 it doesn't work anymore. Why? There a way to specify 30 
> network aliases for one device without create a file for each one?
> 
> Thanks
> 
> -Yanick
> 
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to