[Bug 1136301] Re: IFACE names in /etc/network/interfaces cannot contain a hyphen, otherwise up and down commands are skipped

RayH 1136301 at bugs.launchpad.net
Fri Mar 1 07:29:23 UTC 2013


OK. Thanks. There's a workaround documented here anyway if anyone else
runs into this.

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

Title:
  IFACE names in /etc/network/interfaces cannot contain a hyphen,
  otherwise up and down commands are skipped

Status in “ifupdown” package in Ubuntu:
  Incomplete

Bug description:
  Reproduced on Ubuntu 2.6.24-32-generic

  The sample configuration for /etc/network/interfaces for Hurricane
  Electric IPv6 tunnels uses an IFACE name of he-ipv6.

  I came across problems with command line commands that worked fine
  under sudo, but did not work when stored in /etc/network/interfaces.

  The problem looks strongly related to the inclusion of a hyphen "-" in
  the interface name.

  sudo ip link set mtu 1460 dev he-ipv6

  worked fine.

  A config line in /etc/network/interfaces like

  up ip link set mtu 1460 dev he-ipv6

  did not work, and the MTU remaind at 1480 at the next reboot.

  Whereas:

  up ip link set mtu 1460 dev $IFACE

  did work fine, and the MTU was reduced to 1460, as intended.

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




More information about the foundations-bugs mailing list