[libvirt-users] KVM NAT stops from working

Francesc Guasch frankie at telecos.upc.edu
Tue Sep 3 17:20:51 UTC 2019


El 3/9/19 a les 18:15, Laine Stump ha escrit:
> On 9/2/19 10:31 AM, Francesc Guasch wrote:
>> Hi. First of all thank you for the work you are doing with libvirt.
>> I am not sure this is the right place to ask, I'd appreciate
>> if you can give me any hint or directions.
>>
>> I have several similar KVM Linux boxes and one of them has a really
>> strange behavior with the KVM NAT: It just suddenly stops from
>> working.

>> Any hints ? Thank you very much
> 
> 1) On a freshly booted machine with running clients connected to
> libvirt's default network (and successfully sending/receiving traffic,
> of course :-), get a dump of all active iptables rules with
> 
>    iptables-save >iptables-working.txt
> 
> 2) At whatever later time when you notice that the NAT is no longer
> working properly, get another dump of all the rules with
> 
>    iptables-save >iptables-broken.txt
> 
> and compare those two files to see what has changed.
> 

Thank you very much Laine, good point !

I am waiting for it to fail again to compare both iptables.




More information about the libvirt-users mailing list