Package: bridge-utils Version: 1.5-13 Severity: normal bridge-utils can do almost any brctl command with some nice directives in /etc/network/interfaces ... except configure hairpin mode on ports.
>From the looks of /lib/bridge-utils/ifupdown.sh, this seems like it shouldn't be too hard to implement, something like this has the feel of being close? if [ "$IF_BRIDGE_HAIRPIN_PORTS" ]; then bridge_parse_ports $IF_BRIDGE_HAIRPIN_PORTS | while read i ; do for port in $i ; do brctl hairpin $IFACE $port on done done fi I also notice that the hairpin command to brctl is missing from the man pages. -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (990, 'stable'), (500, 'unstable-debug'), (500, 'stable-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages bridge-utils depends on: ii libc6 2.24-11+deb9u1 bridge-utils recommends no packages. Versions of packages bridge-utils suggests: ii ifupdown 0.8.19 -- no debconf information