Re: Cannot set alias IP address

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



On 18/6/2012 11:31 πμ, Nikolaos Milas wrote:

> I cannot set an alias IP address.

Note that if I issue:

# ifconfig eth0:1 xxx.xxx.xxx.131 netmask 255.255.255.248

then it works fine. Then I can ping .131 without problems.

Why doesn't it run correctly when run from 
/etc/sysconfig/network-scripts/ifcfg-eth0:1?

I also tried:

eth0:1
--------------------------------------
DEVICE="eth0:1"
ONBOOT="yes"
ONPARENT="yes"
BOOTPROTO=static
IPADDR=xxx.xxx.xxx.131
NETMASK=255.255.255.248
--------------------------------------

without success.

Please help.

Thanks,
Nick
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux