qsandbox/network.sh

4 lines
149 B
Bash
Raw Normal View History

2021-11-17 09:14:41 +01:00
ip address add 10.0.2.15/24 broadcast + dev ens3
ip link set dev ens3 up
ip route add 10.0.2.0/24 dev ens3
2021-12-08 22:15:04 +01:00
ip route add default via 10.0.2.2 dev ens3