[Bug 1567744] Re: USB NICs get too long name for ifupdown aliases

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Thu Apr 21 20:04:55 UTC 2016


Indeed it's not iproute's fault, it's just an unforseen consequence of
using a long string like a MAC to name the device. Perhaps reducing it
by half and using just the second half of the MAC might be good? The
chance of collisions would remain pretty low.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1567744

Title:
  USB NICs get too long name for ifupdown aliases

Status in systemd package in Ubuntu:
  Triaged

Bug description:
  I have a USB NIC that is connected to my denial system. I tried to
  create an alias, and after reboot, it wasn't created. When I manually
  try to bring it up I have the error.

  /e/n/i:

  auto enx000ec688b79f
  iface enx000ec688b79f inet static
          address 10.90.90.1
          netmask 255.255.255.0

  auto enx000ec688b79f:1
  iface enx000ec688b79f:1 inet static
          address 192.168.100.1
          netmask 255.255.255.0

  ubuntu at maas00:~$ sudo ifup enx000ec688b79f
  ubuntu at maas00:~$ sudo ifup enx000ec688b79f:1
  RTNETLINK answers: Numerical result out of range
  Failed to bring up enx000ec688b79f:1.

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



More information about the foundations-bugs mailing list