New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic netvm switching doesn't work #478

Closed
marmarek opened this Issue Mar 8, 2015 · 7 comments

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by joanna on 8 Mar 2012 23:28 UTC
After one changes e.g. the netvm used by the firewallvm, the networking works for some time (a few tens of secconds), and then stops. Probably some f/w related issue?

Migrated-From: https://wiki.qubes-os.org/ticket/478

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 9 Mar 2012 00:55 UTC
Here is essential patch:
http://git.qubes-os.org/gitweb/?p=marmarek/core.git;a=commit;h=9547b191ade0f5d836859a0179b8e582a786c6e1

But also fixed problems mentioned in #465, making easier use it in qubes-manager (setter in netvm property)

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 9 Mar 2012 00:55 UTC
Here is essential patch:
http://git.qubes-os.org/gitweb/?p=marmarek/core.git;a=commit;h=9547b191ade0f5d836859a0179b8e582a786c6e1

But also fixed problems mentioned in #465, making easier use it in qubes-manager (setter in netvm property)

@marmarek marmarek closed this Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 9 Mar 2012 10:16 UTC
Still doesn't work!

Dom0: core 2.0.8
F/w VM: core 1.7.17

Member

marmarek commented Mar 8, 2015

Comment by joanna on 9 Mar 2012 10:16 UTC
Still doesn't work!

Dom0: core 2.0.8
F/w VM: core 1.7.17

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by marmarek on 9 Mar 2012 10:20 UTC

Member

marmarek commented Mar 8, 2015

Modified by marmarek on 9 Mar 2012 10:20 UTC

@marmarek marmarek reopened this Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 9 Mar 2012 10:21 UTC
Can you provide:

  1. routing table from fw (also -t nat)
  2. routing table from new netvm
  3. firewall from fw
  4. /etc/resolv.conf from fw
Member

marmarek commented Mar 8, 2015

Comment by marmarek on 9 Mar 2012 10:21 UTC
Can you provide:

  1. routing table from fw (also -t nat)
  2. routing table from new netvm
  3. firewall from fw
  4. /etc/resolv.conf from fw
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 16 Mar 2012 11:33 UTC
Found that it is caused by DNAT rules in PR-QBS chain, looks like bug in kernel (iptables).
Next step: check if it is fixed in 3.2.x (on my system it works on 3.2.5).

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 16 Mar 2012 11:33 UTC
Found that it is caused by DNAT rules in PR-QBS chain, looks like bug in kernel (iptables).
Next step: check if it is fixed in 3.2.x (on my system it works on 3.2.5).

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 12 Apr 2012 09:35 UTC
This seems to be a problem with my USB driver. The netvm switching does work when I have a different NICs assigned in the netvms. So, seems Qubes-irrelevant. Will try some newer VM kernel, which should solve it.

Member

marmarek commented Mar 8, 2015

Comment by joanna on 12 Apr 2012 09:35 UTC
This seems to be a problem with my USB driver. The netvm switching does work when I have a different NICs assigned in the netvms. So, seems Qubes-irrelevant. Will try some newer VM kernel, which should solve it.

@marmarek marmarek added the notanissue label Mar 8, 2015

@marmarek marmarek closed this Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 26 May 2012 11:09 UTC
After all, it turned out to be a problem with Xen net backend -- it was just that the usb modem I was using was apparently triggering this bug:

http://lists.xen.org/archives/html/xen-devel/2012-05/msg01878.html
http://lists.xen.org/archives/html/xen-devel/2012-05/msg01133.html

Member

marmarek commented Mar 8, 2015

Comment by joanna on 26 May 2012 11:09 UTC
After all, it turned out to be a problem with Xen net backend -- it was just that the usb modem I was using was apparently triggering this bug:

http://lists.xen.org/archives/html/xen-devel/2012-05/msg01878.html
http://lists.xen.org/archives/html/xen-devel/2012-05/msg01133.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment