Hello all,

I am trying to add network interface file for a secondary IP through code.
The simplest way would be copying the file for the primary IP and changing
required values accordingly.

But it seems that as the boot protocol value is DHCP, the values such as
ipaddress, netmask, gateway are not stored in the ifcfg-eth0 file. Are
these values not stored anywhere on the VM?

Also, what would be other way to add network interface file for secondary
IP? I believe CloudStack doesn't do this itself after acquiring secondary
IP.

Regards,
Gaurav

Reply via email to