[libvirt] Routed Networking - Ubuntu Hardy KVM and LibVirt

Mads Chr. Olesen shiyee at shiyee.dk
Tue Oct 7 07:38:38 UTC 2008


tir, 07 10 2008 kl. 16:33 +0930, skrev Barry Robinson:
> I have tried using the <forward='routed' /> option (under the bridge
> name option). This does add the forward rules, but for some reason
> still applies the MASQUERADE rule to the 192.168.17.0/24 network. (eg.
> 0     0 MASQUERADE  all  --  *      *       192.168.32.0/24
> 0.0.0.0/0 )

I believe the correct option is:
<forward dev="ethX" mode="route"/>

Also notice, that the Ubuntu Hardy version of libvirt does not have
support for routed networks
( https://bugs.edge.launchpad.net/ubuntu/+source/libvirt/+bug/190904 ),
so you will have to compile one yourself.

-- 
Mads Chr. Olesen <shiyee at shiyee.dk>
shiyee.dk




More information about the libvir-list mailing list