We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ce708d commit b8dc1a7Copy full SHA for b8dc1a7
1 file changed
dotfiles/run/guixsd/02-ip.sh
@@ -2,6 +2,12 @@
2
3
set -o nounset -o errexit -o pipefail -o xtrace
4
5
+# Access OpenWrt from Prometheus in Kubernetes.
6
+ip link add macvlan0 link enp34s0 type macvlan mode bridge
7
+ip addr add 192.168.0.180/24 dev macvlan0
8
+ip link set macvlan0 up
9
+ip route add 192.168.0.253/32 dev macvlan0
10
+
11
# ip address add 127.0.0.2/8 dev enp34s0
12
ip address add 192.168.0.144/24 dev enp34s0
13
ip address add 192.168.0.145/24 dev enp34s0
0 commit comments