<div dir="ltr">Hi oVirt Users and Admins !!!<div><br></div><div>I am installing ovirt 4.0.3 and do above conf on my OVirt Node using bond and vlan.</div><div><br></div><div>When I add this host to ovirt engine and associate ovirtmgmt network with same tag vlan number 1051, DNS conf was overwrited by vdsm.</div><div><br></div><div>So, as i do not find any way to set DNS on ovirt engine network conf i think that for ovirt nodes i need to use another network that i do not plan to use with virtual machines ( because if i add a new network on ovirt engine with same tag vlan number the ovirt node conf will be overwrited by vdsm ).</div><div><br></div><div>Before add to ovirt engine :</div><div><span style="color:rgb(31,73,125);font-family:"courier new";font-size:8pt;line-height:1.5"><br></span></div><div><span style="color:rgb(31,73,125);font-family:"courier new";font-size:8pt;line-height:1.5">[root@prd-rbs-ovirt-kvm01-poa ~]# ip
addr</span><br></div><div>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">1: lo: <LOOPBACK,UP,LOWER_UP> mtu
65536 qdisc noqueue state UNKNOWN </span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
inet <a href="http://127.0.0.1/8">127.0.0.1/8</a> scope host lo</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
valid_lft forever preferred_lft forever</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
inet6 ::1/128 scope host </span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
valid_lft forever preferred_lft forever</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">2: em1:
<BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0
state UP qlen 1000</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">3: em2:
<BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0
state UP qlen 1000</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">4: p3p1:
<BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0
state UP qlen 1000</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">5: p3p2:
<BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0
state UP qlen 1000</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">6: bond0:
<BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP </span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
inet6 fe80::5e26:aff:fefd:acc/64 scope link </span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
valid_lft forever preferred_lft
forever</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">7: bond0.1051@bond0:
<BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP </span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
inet <a href="http://10.151.252.222/22">10.151.252.222/22</a> brd 10.151.255.255 scope global bond0.1051</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)"> valid_lft forever preferred_lft forever</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
inet6 fe80::5e26:aff:fefd:acc/64 scope link </span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">
valid_lft forever preferred_lft forever</span></p>
<p class="inbox-inbox-MsoNormal"><span style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">[root@prd-rbs-ovirt-kvm01-poa ~]# cat /etc/resolv.conf </span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)"># Generated by NetworkManager</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">search <a href="http://rbs.com.br">rbs.com.br</a> <a href="http://rbs.net">rbs.net</a> <a href="http://clicrbs.com.br">clicrbs.com.br</a>
<a href="http://srvr.rbs.net">srvr.rbs.net</a></span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">nameserver 10.236.68.62</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">nameserver 10.1.1.40</span></p>
<p class="inbox-inbox-MsoNormal"><span lang="EN-US" style="font-size:8pt;font-family:"courier new";color:rgb(31,73,125)">nameserver 10.155.33.154</span></p><p class="inbox-inbox-MsoNormal"><br></p><p class="inbox-inbox-MsoNormal">After :</p><p class="inbox-inbox-MsoNormal"><br></p><p class="inbox-inbox-MsoNormal">[root@prd-rbs-ovirt-kvm01-poa ~]# ip addr</p><p class="inbox-inbox-MsoNormal">1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN </p><p class="inbox-inbox-MsoNormal"> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00</p><p class="inbox-inbox-MsoNormal"> inet <a href="http://127.0.0.1/8">127.0.0.1/8</a> scope host lo</p><p class="inbox-inbox-MsoNormal"> valid_lft forever preferred_lft forever</p><p class="inbox-inbox-MsoNormal"> inet6 ::1/128 scope host </p><p class="inbox-inbox-MsoNormal"> valid_lft forever preferred_lft forever</p><p class="inbox-inbox-MsoNormal">2: em1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP qlen 1000</p><p class="inbox-inbox-MsoNormal"> link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff</p><p class="inbox-inbox-MsoNormal">3: em2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP qlen 1000</p><p class="inbox-inbox-MsoNormal"> link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff</p><p class="inbox-inbox-MsoNormal">4: p3p1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP qlen 1000</p><p class="inbox-inbox-MsoNormal"> link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff</p><p class="inbox-inbox-MsoNormal">5: p3p2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP qlen 1000</p><p class="inbox-inbox-MsoNormal"> link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff</p><p class="inbox-inbox-MsoNormal">6: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP </p><p class="inbox-inbox-MsoNormal"> link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff</p><p class="inbox-inbox-MsoNormal">7: bond0.1051@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master ovirtmgmt state UP </p><p class="inbox-inbox-MsoNormal"> link/ether fa:d3:c0:cd:dd:a3 brd ff:ff:ff:ff:ff:ff</p><p class="inbox-inbox-MsoNormal">8: ;vdsmdummy;: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN </p><p class="inbox-inbox-MsoNormal"> link/ether b2:8b:94:d9:d9:83 brd ff:ff:ff:ff:ff:ff</p><p class="inbox-inbox-MsoNormal">9: ovirtmgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP </p><p class="inbox-inbox-MsoNormal"> link/ether fa:d3:c0:cd:dd:a3 brd ff:ff:ff:ff:ff:ff</p><p class="inbox-inbox-MsoNormal"> inet <a href="http://10.151.252.222/22">10.151.252.222/22</a> brd 10.151.255.255 scope global ovirtmgmt</p><p class="inbox-inbox-MsoNormal"> valid_lft forever preferred_lft forever</p><p class="inbox-inbox-MsoNormal">[root@prd-rbs-ovirt-kvm01-poa ~]# cat /etc/resolv.conf </p><p class="inbox-inbox-MsoNormal"># Generated by NetworkManager</p><p class="inbox-inbox-MsoNormal">search <a href="http://rbs.com.br">rbs.com.br</a></p><p class="inbox-inbox-MsoNormal"><br></p><p class="inbox-inbox-MsoNormal"><br></p><p class="inbox-inbox-MsoNormal"># No nameservers found; try putting DNS servers into your</p><p class="inbox-inbox-MsoNormal"># ifcfg files in /etc/sysconfig/network-scripts like so:</p><p class="inbox-inbox-MsoNormal">#</p><p class="inbox-inbox-MsoNormal"># DNS1=xxx.xxx.xxx.xxx</p><p class="inbox-inbox-MsoNormal"># DNS2=xxx.xxx.xxx.xxx</p><p class="inbox-inbox-MsoNormal"># DOMAIN=<a href="http://lab.foo.com">lab.foo.com</a> <a href="http://bar.foo.com">bar.foo.com</a></p><p class="inbox-inbox-MsoNormal">[root@prd-rbs-ovirt-kvm01-poa ~]# cat /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt </p><p class="inbox-inbox-MsoNormal"># Generated by VDSM version 4.18.11-1.el7.centos</p><p class="inbox-inbox-MsoNormal">DEVICE=ovirtmgmt</p><p class="inbox-inbox-MsoNormal">TYPE=Bridge</p><p class="inbox-inbox-MsoNormal">DELAY=0</p><p class="inbox-inbox-MsoNormal">STP=off</p><p class="inbox-inbox-MsoNormal">ONBOOT=yes</p><p class="inbox-inbox-MsoNormal">IPADDR=10.151.252.222</p><p class="inbox-inbox-MsoNormal">NETMASK=255.255.252.0</p><p class="inbox-inbox-MsoNormal">GATEWAY=10.151.252.1</p><p class="inbox-inbox-MsoNormal">BOOTPROTO=none</p><p class="inbox-inbox-MsoNormal">MTU=1500</p><p class="inbox-inbox-MsoNormal">DEFROUTE=yes</p><p class="inbox-inbox-MsoNormal">NM_CONTROLLED=no</p><p class="inbox-inbox-MsoNormal">IPV6INIT=no</p><p class="inbox-inbox-MsoNormal">[root@prd-rbs-ovirt-kvm01-poa ~]# </p><br></div></div>