[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Multiple IP-addresses on one interface



Fri, 07 May 2004 at 13:22 GMT Brian Ashe <rhlist dee-web com> wrote
> 
> The "easiest" way is to read this...
> /etc/sysconfig/network-scripts/ifup-aliases
> 
> The create a file called...
> /etc/sysconfig/network-scripts/ifcfg-eth0-range0
> 
> Containing something like...
> IPADDR_START=xxx.xxx.xxx.131
> IPADDR_END=xxx.xxx.xxx.191
> BROADCAST=xxx.xxx.xxx.191
> NETWORK=xxx.xxx.xxx.128
> CLONENUM_START=1
> NETMASK=255.255.255.192
> #NO_ALIASROUTING=YES
> 
> This has been around forever, but is very hard to find if looking for it. The 
> ifup-aliases script has lots of comments to help you understand what to put 
> in.

Hmmm.
My problem is not really that I want a range of addresses, but rather a
few different ones (although in the same subnet ofcourse). 
Currently one of our servers has
xx.xx.xx.101/26 
xx.xx.xx.111/26 
xx.xx.xx.112/26 
xx.xx.xx.139/26 
xx.xx.xx.145/26

But I guess I can make a  ifcfg-eth0-range0 with the first single address, 
...range1 with the next and so on.


Thank you for the tip.


Rgds.

Ola Thoresen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]