thedocks/pihole/pi-vlan.sh
2021-11-14 12:00:12 +00:00

5 lines
174 B
Bash

#!/usr/bin/env bash
ip link add macvlan-shim link eth0 type macvlan mode bridge
ip addr add 192.168.1.60/28 dev macvlan-shim
ip link set macvlan-shim up
ifconfig macvlan-shim