On 05/14/14 at 10:34am, Marc Milgram wrote:
Vivek,
Each IP address has its own netmask. With this fix, we don't
read
the ifcfg file to obtain the address and netmask, we get it from "ip
addr show dev <netdev>" commands.
Now if PREFIXn related to one IPADDRn is not specified when multiple IP
address are set, the unspecified PREFIXn will be the same as other one
which is in the same ifcfg-ethxx. Like blow, it works too.
IPADDR0=192.168.122.110
IPADDR1=10.10.10.10
PREFIX1=24
GATEWAY0=192.168.122.1
Maybe it's a default behavior? I am not sure about it. Otherwise I am
fine with this patch.