Am Donnerstag, den 24.05.2018, 15:26 +0200 schrieb Guus Sliepen: > On Wed, May 23, 2018 at 10:43:40AM +0200, Benjamin Drung wrote: > > > Using allow-hotplug for InfiniBand devices does not work. The > > devices are never > > brought up. > > > > Example /etc/network/interfaces: > > ``` > > allow-hotplug ib0.dddd > > iface ib0.dddd inet6 static > > address fd44:1:5255:: > > netmask 64 > > pre-up echo connected > /sys/class/net/$IFACE/mode > > dad-attempts 600 > > ``` > > I should've seen this earlier, but the problem is the fact that you > have > configured a VLAN interface, but udev only sees the plain interface > name: > > > ``` > > $ udevadm monitor > > [...] > > KERNEL[78666.922735] > > add /devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/ib0 > > (net) > > UDEV [78666.941473] > > add /devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/ib0 > > (net) > > ``` > > So this effectively calls `ifup --allow=hotplug ib0`, but there is no > ib0 stanza, only an ib0.dddd stanza.
Is there a reason not to bring up all the allow-hotplug VLANs related to the physical device, i.e. bring up ib0.dddd if `ifup --allow=hotplug ib0` is called? -- Benjamin Drung System Developer Debian & Ubuntu Developer ProfitBricks GmbH Greifswalder Str. 207 10405 Berlin Email: benjamin.dr...@profitbricks.com URL: https://www.profitbricks.de Sitz der Gesellschaft: Berlin Registergericht: Amtsgericht Charlottenburg, HRB 125506 B Geschäftsführer: Achim Weiss, Matthias Steinberg, Christoph Steffens
signature.asc
Description: This is a digitally signed message part