5 lines
174 B
Bash
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
|