I've worked around this issue by
Flipping the DEFROUTE parameter on both vlans
AND
Adding "net_persistence = ifcfg" to "/etc/vdsm/vdsm.conf"
I'm sure this isn't ideal but it works. If I update configuration using the web
UI, it requires me to manually edit and flip the DEFROUTE argument again.
Is there a way to control how this flag is setup?
Thanks,
Usman
From: Aslam, Usman
Sent: Wednesday, December 03, 2014 12:44 PM
To: 'users@ovirt.org'
Subject: Hypervisor won't assign default gateway
I have a couple of bonded nics with two bridged vlans. Ovirtmgmt and Primary.
Primary vlan also has a gateway setup (all using the ovirt UI). The gateway
shows up in the ifcfg file and I've added it to /etc/sysconfig/network as well.
Problem: Upon a reboot the default gateway does not show up (route -n)
One thing did notice is that VDSM is inserting
DEFROUTE=no in ifcfg-primary
And
DEFROUTE=yes in ifcfg-ovirtmgmt
If is issue the "route add default gateway x.x.x.x" command, it starts working
as expected and the default route also shows up (route -n)
Any ideas?
Thanks,
Usman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users