Add nat to ovirt via vdsm hooks

By | 2014年5月4日

OK, I do not like control group very much for now.

Comment device section in control group config, sorry for my laziness…

Enable ip forward

Reboot the host

Connect to virsh to enable libvirt’s default virbr0(NAT)

If you don’t know the password for your account, just use command below to create one.

Create a nat network.

Create tun device and add it to virbr0

UPDATE: This could be ignored if you use

Add hook file to vdsm

UPDATE: use extnet from github with a little modification (Only the first vNIC will be NAT, the second one still keeps its way).


Then you should start the vm WITHOUT ANY NIC if you are using