Nmcli bridge

Aus xinux.net
Zur Navigation springen Zur Suche springen

Dummy Device

  • nmcli connection add type dummy ifname dummy0
  • nmcli connection add type dummy ifname dummy0 ipv4.addresses 10.0.1.1/24

Dummy Arp Workaround

  • vi /etc/NetworkManager/dispatcher.d/pre-up.d/dummy.sh
#!/bin/bash
if test "$1" = "dummy0"
then
 if test "$2" = "pre-up"
 then
 ip link set dummy0 arp on
 fi
fi