I'm running oVirt on a host that is a VMware Workstation guest as a test before I replace my ESXi server.  I started with one NIC and let oVirt get setup.  Then I added another NIC to my ovirt Host via VMware.  My primary NIC was my site management network 10.0.xx.0/24.  The second NIC was in 10.0.yy.0/24  I then used the web portal to create a logical network.  After that I tied the logical network to the physical card.  If needed you can add a VLAN tag to the logical network and set up your switch to handle it.  oVirt handled setting up all the ifcfg files for me.  I'm not where i can pull up my test system or I'd give you more detail.  I'm in the process of replacing ESXi with oVirt so my  server is down and i'm having to run everything on Windows with VMware Workstation and Windows is being pouty.



On Wed, 2016-03-09 at 21:12 +0100, Taste-Of-IT wrote:
Hello,
any help for using 2 nics in 2 networks?

thx

-------- Originalnachricht --------
Betreff: Re: [ovirt-users] Slow after add 2 Nic
Datum: 2016-03-08 11:33
Von: Taste-Of-IT <kontakt@taste-of-it.de>
An: oVirt Userlist <Users@ovirt.org>

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
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users