[CentOS] IP range

Fri Aug 3 06:27:56 UTC 2012
Birta Levente <blevi.linux at gmail.com>

On 02/08/2012 22:45, Scott Silva wrote:
> <snip>
>> Nope....
>>
>> Work only .49 and .50
>>
>> 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
>>
>> Thanks
>>
>> Levi
>>
> It doesn't work that way... You may think you bought 8 ip's, but you can only
> pass traffic on 6... That is how it works... You buy 16, and only 14 work. The
> first and last address are as Johnny said...
>
> http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
Thank you all for your time ...

But I have another question:

Why is a difference in setting up with icfg-eth0:0 and ifconfig ?
As I sad, setting up all 8 IP-s with ifconfig works perfectly.
Why if I specify explicitly the subnet mask in ifcfg-eth0:0 then appear 
other?

Thanks

Levi