Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # network interface settings; autogenerated
- # Please do NOT modify this file directly, unless you know what
- # you're doing.
- #
- # If you want to manage part of the network configuration manually,
- # please utilize the 'source' or 'source-directory' directives to do
- # so.
- # PVE will preserve these directives, but will NOT its network
- # configuration from sourced files, so do not attempt to move any of
- # the PVE managed interfaces into external files!
- auto lo
- iface lo inet loopback
- auto eth0
- iface eth0 inet manual
- iface eth1 inet static
- address FO-IP
- netmask 255.255.255.255
- broadcast FO-IP
- gateway GATEWAY
- post-up route add GATEWAY dev eth1
- post-up route add default gw GATEWAY
- pre-down route del GATEWAY dev eth1
- pre-down route del default gw GATEWAY
- auto vmbr1
- iface vmbr1 inet manual
- bridge_ports dummy0
- bridge_stp off
- bridge_fd 0
- auto vmbr0
- iface vmbr0 inet static
- address PRIMARY-IP
- netmask 255.255.255.0
- gateway GATEWAY
- bridge_ports eth0
- bridge_stp off
- bridge_fd 0
- iface vmbr0 inet6 static
- address IPV6
- netmask 64
- post-up /sbin/ip -f inet6 route add IPV6:ff:ff:ff:ff dev vmbr0
- post-up /sbin/ip -f inet6 route add default via IPV6:ff:ff:ff:ff
- pre-down /sbin/ip -f inet6 route del default via IPV6:ff:ff:ff:ff
- pre-down /sbin/ip -f inet6 route del IPV6:ff:ff:ff:ff dev vmbr0
- auto vmbr172
- iface vmbr172 inet static
- address FO-IP
- netmask 255.255.255.248
- bridge_ports eth1
- bridge_stp off
- bridge_fd 0
- post-up route add GATEWAY dev vmbr172
- post-up route add default gw GATEWAY
- pre-down route del GATEWAY dev vmbr172
- pre-down route del default gw GATEWAY
- iface vmbr172 inet6 static
- address IPV6
- netmask 64
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement