
Hello, i have a question about adding a second Nic. After adding a second one the WebGUI and oVirt is very slow. The situation is as follow. Each nic has its own network and are seperated from each other. nic1 - 192.168.0.x for internal and nic2 192.168.1.x through the wan. if i use trace from the client i call the WebGUI, it goes over 192.168.0.x, the right way. but if i trace the engine self on localhost with its hostname it goes over 192.168.1.x, the wrong way and takes longer. i am not sure if its an ovirt problem or from hostsystem centos, but i didnt find any solution. # ip route show default via 192.168.0.3 dev ovirtmgmt default via 192.168.1.1 dev enp0s29u1u2c2 proto static metric 100 169.254.0.0/16 dev ovirtmgmt scope link metric 1006 192.168.0.0/24 dev ovirtmgmt proto kernel scope link src 192.168.0.153 192.168.1.0/24 dev enp0s29u1u2c2 proto kernel scope link src 192.168.1.2 metric 100 thx for help Taste

Il 07/Mar/2016 23:44, "Taste-Of-IT" <kontakt@taste-of-it.de> ha scritto:
Hello, i have a question about adding a second Nic. After adding a second one
the WebGUI and oVirt is very slow. The situation is as follow. Each nic has its own network and are seperated from each other. nic1 - 192.168.0.x for internal and nic2 192.168.1.x through the wan. if i use trace from the client i call the WebGUI, it goes over 192.168.0.x, the right way. but if i trace the engine self on localhost with its hostname it goes over 192.168.1.x, the wrong way and takes longer.
i am not sure if its an ovirt problem or from hostsystem centos, but i
didnt find any solution.
# ip route show default via 192.168.0.3 dev ovirtmgmt default via 192.168.1.1 dev enp0s29u1u2c2 proto static metric 100 169.254.0.0/16 dev ovirtmgmt scope link metric 1006
192.168.0.0/24 dev ovirtmgmt proto kernel scope link src 192.168.0.153 192.168.1.0/24 dev enp0s29u1u2c2 proto kernel scope link src 192.168.1.2 metric 100
thx for help Taste _______________________________________________
It seems you have 2 default gw set. If you don't use networkmanager, and nic1 is the right adapter to use as default gateway, put DEFROUTE=no Inside ifcfg-enp0s29u1u2c2 in /etc/sysconfig/network-scripts and restart

Most likely (we've had something like that in FOSDEM) issue with DNS resolving. Make sure all IP addresses are correctly resolved. Y. On Tue, Mar 8, 2016 at 12:44 AM, Taste-Of-IT <kontakt@taste-of-it.de> wrote:
Hello, i have a question about adding a second Nic. After adding a second one the WebGUI and oVirt is very slow. The situation is as follow. Each nic has its own network and are seperated from each other. nic1 - 192.168.0.x for internal and nic2 192.168.1.x through the wan. if i use trace from the client i call the WebGUI, it goes over 192.168.0.x, the right way. but if i trace the engine self on localhost with its hostname it goes over 192.168.1.x, the wrong way and takes longer.
i am not sure if its an ovirt problem or from hostsystem centos, but i didnt find any solution.
# ip route show default via 192.168.0.3 dev ovirtmgmt default via 192.168.1.1 dev enp0s29u1u2c2 proto static metric 100 169.254.0.0/16 dev ovirtmgmt scope link metric 1006 192.168.0.0/24 dev ovirtmgmt proto kernel scope link src 192.168.0.153 192.168.1.0/24 dev enp0s29u1u2c2 proto kernel scope link src 192.168.1.2 metric 100
thx for help Taste _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hello, i simply add the nic and i think CentOS configure these by itself. Ok, i can change that. Short to my intentions. I want to use nic1 for my lan and nic2 for the wan route into the internet. in ovirt i want to install a firewall and configure both nics, nic for lan and nic2 for wan. in the other vm's i want to install only nic1 as bridge and configure the firwall as gateway which also service the dhcp. at all it must be safe that the vms cant break out of this and go around the firewall. so as i understand i would do this: - set in centos nic1 as default gatway wich has 192.168.0.1 as gateway - set in centos nic2 without default route - add in ovirt a new network / nic - create the vm for the firwall and assign nic1 and nic2 - in the other vms i would only assign nic1 is that the way to do or what do you think? thx Taste Am 2016-03-08 09:45, schrieb Yaniv Kaul:
Most likely (we've had something like that in FOSDEM) issue with DNS resolving. Make sure all IP addresses are correctly resolved. Y.
On Tue, Mar 8, 2016 at 12:44 AM, Taste-Of-IT <kontakt@taste-of-it.de> wrote:
Hello, i have a question about adding a second Nic. After adding a second one the WebGUI and oVirt is very slow. The situation is as follow. Each nic has its own network and are seperated from each other. nic1 - 192.168.0.x for internal and nic2 192.168.1.x through the wan. if i use trace from the client i call the WebGUI, it goes over 192.168.0.x, the right way. but if i trace the engine self on localhost with its hostname it goes over 192.168.1.x, the wrong way and takes longer.
i am not sure if its an ovirt problem or from hostsystem centos, but i didnt find any solution.
# ip route show default via 192.168.0.3 dev ovirtmgmt default via 192.168.1.1 dev enp0s29u1u2c2 proto static metric 100 169.254.0.0/16 [1] dev ovirtmgmt scope link metric 1006 192.168.0.0/24 [2] dev ovirtmgmt proto kernel scope link src 192.168.0.153 192.168.1.0/24 [3] dev enp0s29u1u2c2 proto kernel scope link src 192.168.1.2 metric 100
thx for help Taste _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users [4]
Links: ------ [1] http://169.254.0.0/16 [2] http://192.168.0.0/24 [3] http://192.168.1.0/24 [4] http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Gianluca Cecchi
-
Taste-Of-IT
-
Yaniv Kaul