[CentOS] IP range

John Doe jdmls at yahoo.com
Thu Aug 2 15:49:49 UTC 2012


From: Birta Levente <blevi.linux at gmail.com>

> I bought 8 public IP-s ... so 8 IPs have to get work.
> In the hosting specification this IPs is usable with xxx.xxx.xxx.48-55 
> with subnet mask 255.255.255.255 with no gateway.
> As I sad, works perfectly with this command (8 times, of course :) ):
> #ifconfig eth:(0 to 7) xxx.xxx.xxx.(48-55) netmask 255.255.255.255

So maybe you do not want to (or cannot) use an ifcfg range file 
and just use 1 eth0 file + 7 alias files...

JD



More information about the CentOS mailing list