Page MenuHomeMiraheze
Paste P369

(An Untitled Masterwork)
ActivePublic

Authored by Paladox on Jan 31 2021, 00:29.
Tags
None
Referenced Files
F1384930: raw-paste-data.txt
Jan 31 2021, 00:29
Subscribers
None
auto lo
iface lo inet loopback
-# The normal eth0
-allow-hotplug eth0
-iface eth0 inet dhcp
+iface eno1 inet manual
-# Additional interfaces, just in case we're using
-# multiple networks
-allow-hotplug eth1
-iface eth1 inet dhcp
+# IPV4 main host addresses (configured through OVH UI)
+auto vmbr0
+iface vmbr0 inet static
+ address 51.68.206.138
+ netmask 255.255.255.0
+ broadcast 51.68.206.255
+ gateway 51.68.206.254
+ bridge-ports eno1
+ bridge-stp off
+ bridge-fd 0
-allow-hotplug eth2
-iface eth2 inet dhcp
+# IPV6 addresses are configured through OVH UI.
+iface vmbr0 inet6 static
+ address 2001:41d0:800:178a::1
+ netmask 128
+ gateway 2001:41D0:800:17FF:FF:FF:FF:FF
+ post-up /sbin/ip -f inet6 route add 2001:41D0:800:17FF:FF:FF:FF:FF dev vmbr0
+ post-up /sbin/ip -f inet6 route add default via 2001:41D0:800:17FF:FF:FF:FF:FF
+ pre-down /sbin/ip -f inet6 route del 2001:41D0:800:17FF:FF:FF:FF:FF dev vmbr0
+ pre-down /sbin/ip -f inet6 route del default via 2001:41D0:800:17FF:FF:FF:FF:FF