Hi Larry,
Though it is possible to use ifconfig to do what you want, I am also
assuming that you wish to make these IP aliases permanent and to comeback
upon reboot/restart.
So here is a better(?) way.
create a file called ifcfg-ethx-range0 that contains something to this
effect...
IPADDR_START=173.111.11.2
IPADDR_END=173.111.11.100
CLONENUM_START=0
and put it in /etc/sysconfig/network-scripts/
Alternatively, you can create a file for each additional alias you wish to
create by copying the ifcfg-ethx file and renaming it to ifcfg-etx:0(1, 2
,etc) and setting the appropriate addresses inside.
There are more instructions/options if you read the
/etc/sysconfig/network-scripts/ifup-aliases script.
Hope it helps...
Have fun,
--
_________________________________________________________________
Brian Ashe CTO
[EMAIL PROTECTED] Dee-Web Software Services, LLC.
http://www.dee-web.com/
-----------------------------------------------------------------
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one.
Monday, July 10, 2000, 4:46:25 PM, you wrote:
LM> Say I have two lan cards installed in my box
LM> and I have the follow host and network file
LM> and am given two adresses 172.0.0.0 and
LM> 173.0.0.0
LM> /etc/host
LM> 172.111.11.1 host1
LM> 172.111.11.2 host 2
LM> 173.111.11.1 host 3
LM> 173.111.11.2 host 4
LM> /etc/networks
LM> soft-net
LM> hard-net
LM> How can I add the hosts of 172.111.11.x on one network card
LM> using ifconfig and rouute ?
LM> Larry Mintz<[EMAIL PROTECTED]>
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.