mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-08 14:33:52 +07:00
11 lines
228 B
Bash
11 lines
228 B
Bash
#!/bin/sh
|
|
|
|
ip link add type veth
|
|
ip link set dev veth0 up
|
|
ip link set dev veth1 up
|
|
ip link add name uplinkbr type bridge
|
|
ip link set uplinkbr up
|
|
ip link set veth0 up
|
|
ip link set veth0 master uplinkbr
|
|
ip link set dev uplinkbr up
|