[Pkg-libvirt-maintainers] Bug#549949: Bug#549949: libvirt-bin: starting network failed because of iptables rule
Daniel Huhardeaux
tech at tootai.net
Tue Oct 6 18:30:08 UTC 2009
Guido Günther a écrit :
> On Tue, Oct 06, 2009 at 06:07:49PM +0200, Daniel Huhardeaux wrote:
>> Daniel a écrit :
>>> Package: libvirt-bin
>>> Version: 0.7.1-1
>>> Severity: important
>>>
>>>
>>> Iptable failed to start because of --destination ! <net> insteed of ! --destination <net>
>>> virsh # net-start router
>>> error: Failed to start network router
>>> error: internal error '/sbin/iptables --table nat --delete POSTROUTING --source 192.168.110.0/255.255.255.0 --destination ! 192.168.110.0/255.255.255.0 --out-interface wlan0 --jump MASQUERADE' exited with non-zero status 1 and signal 0: Using intrapositioned negation (`--option ! this`) is deprecated in favor of extrapositioned (`! --option this`).
>>> iptables: No chain/target/match by that name.
>> Problem is not iptables related, it's that there is no network
>> interface in this IP range.
> Do you have the Recommends: of libvirt-bin installed? Can you attach the
> complete log of libvirtd?
All needed packages are installed (see list given by reportbug). I can
start VMs without network.
Something seems messi with my network setup. I don't have any iface in
the 192.168.110.0/24 range, that's why the delete rule failed.
Usually -eg without libvirt- I start tap0 on IP 192.168.110.1 whenever
eth0 or wlan0 (net 192.168.0.0/24) are coming up (if-[up|down].d) and
create route. Then start kvm and everything is ok (vde).
I made a test with tap0 started and ask virbr2 to take IP
192.168.110.10, network is starting. But my VMs can't access to the net,
even pinging the host adress 192.168.110.[1|10] fail.
Still searching. Thanks for your time and help.
--
Daniel
More information about the Pkg-libvirt-maintainers
mailing list