One last note on this. It might be possible to get this setup to work
(on the client) using the following sysctl changes:

net.ipv4.conf.all.arp_filter = 1 (or 0)
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.all.arp_ignore = 2

This is completely untested. But in theory[1]:

 - arp_filter = 1:  "allows you to have multiple network interfaces on
the same subnet", according to the kernel docs. However, the decision is
"based on whether or not the kernel would route a packet from the ARP'd
IP out that interface". So that might need to remain set to zero. So
worst case, it still wouldn't work, or the DHCP server would get
conflicting ARP replies (possibly making the problem worse for the wired
interface).

 - rp_filter = 2: the default in Ubuntu is for strict reverse-path
filtering, which might cause us to fail to receive unicast DHCP ACK
replies, if we see packets coming to a wireless interface [with a lower
metric] which we don't expect. Loose reverse-path filtering should allow
this, though it would roll back significant security properties that
rp_filter=1 adds.

 - arp_ignore = 2: an attempt to mitigate the fact that ARP filtering
might allow more than interface to reply to the ARP by ensuring that
only interfaces configured with the address can reply. (Use this if
arp_filter=1 isn't doing the trick and you need to try arp_filter=0.)

[1]: based on https://www.kernel.org/doc/Documentation/networking/ip-
sysctl.txt

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1664748

Title:
  wifi connection drops, reconnects every 10 minutes

Status in maas package in Ubuntu:
  Invalid
Status in network-manager package in Ubuntu:
  Invalid

Bug description:
  I recently moved my home DHCP and DNS server over to MAAS (2.1.3 from
  xenial-updates).

  Since doing so, I've noticed that my wifi connection drops and
  reconnects (with corresponding Unity pop-up notifications) exactly
  every 10 minutes.

  I suppose this is due to the fact that MAAS sets DHCP leases to 10
  minutes by default?

  Has anyone else noticed this behavior?

  Is there a suitable workaround?  Increasing the DHCP lease time?
  Using static addresses?  Something else?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1664748/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to