[libvirt-users] network filtering

Osier Yang jyang at redhat.com
Sun Nov 14 20:19:02 UTC 2010


于 2010年11月13日 16:40, Anton Gorlov 写道:
> I try to add some rules to filtering network, example
> <filterref filter='clean-traffic'/> or
> <filterref filter='no-ip-spoofing'/>
> and vm not starting with message
>
> virsh start freebsd8.2
> error: Failed to start domain freebsd8.2
> error: internal error IP parameter must be given since libvirt was not
> compiled with IP address learning support
>
> what do I do wrong?
>

Just as the error says, your libvirt is not compiled with "libpcap",
filter "no-ip-spoofing" has a variable "$IP", which needs "IP learning"
of network filter driver to generate automatically.

To work around it, recompile it with "--with-libpcap" or set "$IP"
by hand.

- Osier
> libvirtd --version
> libvirtd (libvirt) 0.8.4
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users




More information about the libvirt-users mailing list