[Users] How to add internal networks

Dead Horse deadhorseconsulting at gmail.com
Thu May 16 10:41:21 EDT 2013


This also still works as well:
http://lists.ovirt.org/pipermail/users/2012-April/007385.html
- DHC


On Thu, May 16, 2013 at 9:12 AM, Lior Vernia <lvernia at redhat.com> wrote:

> Hello Frank,
>
> I suspect the problem is that VDSM isn't told by default to pass dummy
> NICs on to the engine. Have a look at the following file (exact path
> might vary):
>
> /usr/lib64/python2.7/site-packages/vdsm/config.py
>
> Search for a variable called "fake_nics", it should exist for 3.2. By
> default it is empty, but you may define a pattern for fake NIC names to
> be passed to the engine (in your case probably "dummy*"). Restart the
> vdsm daemon and everything should be fine. Maybe you'll have to move the
> host to maintenance and then reactivate just to refresh the UI.
>
> Please let us know if that works.
>
> Yours, Lior.
>
> On 16/05/13 15:48, Frank Wall wrote:
> > Hi Asaf,
> >
> > Am 13.05.2013 15:05, schrieb Assaf Muller:
> >> Without the ability to control the networking devices in your
> >> vicinity and setup VLANs, what you're trying to do isn't supported via
> >> oVirt.
> >
> > I was already guessing that it is not supported. Thanks for the
> > "official" confirmation.
> >
> >> * Create two dummy interfaces on the host, and give them static IP
> >> addresses. For example: 192.168.1.254/24, and 192.168.2.254/24.
> >
> > OK, I've populated the required files...
> >
> > /etc/modules-load.d/dummy.conf
> > /etc/modprobe.d/dummy.conf
> > /etc/sysconfig/network-scripts/ifcfg-dummy0
> >
> > ...and after a reboot I have a new dummy NIC configured:
> >
> > dummy0: flags=195<UP,BROADCAST,RUNNING,NOARP>  mtu 1500
> >         inet 192.168.0.254  netmask 255.255.255.0  broadcast
> 192.168.0.255
> >         ether 5e:61:0f:e7:f9:bc  txqueuelen 0  (Ethernet)
> >         RX packets 0  bytes 0 (0.0 B)
> >         RX errors 0  dropped 0  overruns 0  frame 0
> >         TX packets 3  bytes 210 (210.0 B)
> >         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> >
> >> * Create two networks (VM) called One and Two and attach them to
> >> the dummy NICs.
> >
> > Unfortunately, this does not work as described. I was able to create
> > the new VM network from the Admin Portal successfully, but I am unable
> > to attach this network to the dummy NIC.
> >
> > When I choose the "Setup Host Networks" option from the Admin Portal:
> > My Datacenter => My Cluster => Hosts => My Host => TAB: Network
> > Interfaces -> Setup Host Networks
> > The dummy NIC is NOT listed, but only the physical NIC (with ovirtmgmt
> > attached to it).
> >
> > Is this expected? Does oVirt suppress any non-physical NICs?
> > Is there another way to attach the VM network to my dummy NIC?
> >
> >
> >
> > Thanks
> > - Frank
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130516/a9b4bedd/attachment.html>


More information about the Users mailing list