On Thu, Aug 28, 2014 at 6:11 PM, Robert Moskowitz <rgm(a)htt-consult.com> wrote:
On 08/28/2014 04:24 PM, Tom Horsley wrote:
>
> These days, I'm pretty sure you are supposed to include
> IPADDR2=, NETMASK2=, etc. in the one ifcfg-eth0 file
> rather than creating a eth0:0 file (at least that worked
> for me on centos 6.5 this week when setting up IP aliases).
I added the IPADDR2 and NETMASK2 and it did not add the second address.
Even after a reboot.
If you use IPADDR2, you have to display ip addresses with "ip a"
because "ifconfig" won't see the second address.