
--=_8678e494-6fbf-4a3c-9878-044c0e959ec1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit
Don't edit the ifcfg-eth4 / ifcfg-eth5 file instead edit ifcfg-logicnetworkname. Set that to static with a gateway. And that won't get over written. However be warned Linux doesn't like having two default gateway's. You might want to review http://www.centos.org/docs/2/rhl-rg-en-7.2/ch-networkscripts.html and use static routers.
If he were using a "VM network" then that is possible since (currently) VM network is implemented using a bridge device, which would be named ifcfg-logicnetworkname, however if the network is not a "VM network" then there is no bridge and the device file to edit is the ifcfg-nic* file. Either way, if he would later edit that network definition through oVirt then these values will be overwritten.
Thanks Robert
Regards, Mike --=_8678e494-6fbf-4a3c-9878-044c0e959ec1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><blockquote id="DWT12290" style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br> Don't edit the ifcfg-eth4 / ifcfg-eth5 file instead edit ifcfg-logicnetworkname. Set that to static with a gateway. And that won't get over written. However be warned Linux doesn't like having two default gateway's. You might want to review <a class="moz-txt-link-freetext" href="http://www.centos.org/docs/2/rhl-rg-en-7.2/ch-networkscripts.html" target="_blank">http://www.centos.org/docs/2/rhl-rg-en-7.2/ch-networkscripts.html</a> and use static routers. <br></blockquote>If he were using a "VM network" then that is possible since (currently) VM network is implemented using a bridge device, which would be named ifcfg-logicnetworkname, however if the network is not a "VM network" then there is no bridge and the device file to edit is the ifcfg-nic* file. Either way, if he would later edit that network definition through oVirt then these values will be overwritten.<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"> <br> Thanks<br> Robert<br><br> </blockquote>Regards,<br>Mike<br></div></body></html> --=_8678e494-6fbf-4a3c-9878-044c0e959ec1--