Advertisement
veaz

Node: /etc/network/interfaces

Mar 30th, 2022 (edited)
996
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.01 KB | None | 0 0
  1. # HETZNER EX62, Proxmox 7.1-11 @ Debian 11 Node
  2. # THIS CONFIGURATION IS NOT WORKING
  3. # Loopback device:
  4. auto lo
  5. iface lo inet loopback
  6. iface lo inet6 loopback
  7.  
  8. auto eno1
  9. iface eno1 inet static
  10.   address 162.xxx.95.99
  11.   netmask 255.255.255.255
  12.   pointopoint 162.xxx.95.65
  13.   gateway 162.xxx.95.65
  14.   broadcast 162.xxx.95.127
  15. #  up route add -net 162.xxx.95.64 netmask 255.255.255.192 gw 162.xxx.95.65 dev eno1
  16.  
  17. iface eno1 inet6 static
  18.   address 2a01:xxx:xxx:281d::2
  19.   netmask 64
  20.   gateway fe80::1
  21.   up sysctl -p
  22.  
  23. # single-IPs
  24. auto vmbr0
  25. iface vmbr0 inet static
  26.   address 162.xxx.95.99
  27.   netmask 255.255.255.255
  28.   bridge_ports none
  29.   bridge_stp off
  30.   bridge_fd 0
  31.   up route add -net 162.xxx.95.64/26 dev vmbr0
  32.  
  33. iface vmbr0 inet6 static
  34.   address 2a01:xxx:xxx:281d::3
  35.   netmask 64
  36.   up ip -6 route add 2a01:xxx:xxx:281d::3/64 dev vmbr0
  37.  
  38. # additional IPv4 Subnet
  39. auto vmbr1
  40. iface vmbr1 inet static
  41.   address 162.xxx.95.66
  42.   netmask 255.255.255.192
  43.   bridge_ports none
  44.   bridge_stp off
  45.   bridge_fd 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement