Skip to content

Instantly share code, notes, and snippets.

@k5njm
Created March 22, 2017 03:01
Show Gist options
  • Save k5njm/0255430563166a15b2cabd26c71cc4e1 to your computer and use it in GitHub Desktop.
Save k5njm/0255430563166a15b2cabd26c71cc4e1 to your computer and use it in GitHub Desktop.
/etc/network/interfaces for a Promox Host running a pfsense VM
root@homelab:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual
iface eth3 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge_ports eth0
bridge_stp off
bridge_fd 0
# WAN interface [vmbr0/eth0]
auto vmbr1
iface vmbr1 inet static
address 10.10.0.2
netmask 255.255.255.0
gateway 10.10.0.1
dns-namservers 10.10.0.1
bridge_ports eth1
bridge_stp off
bridge_fd 0
# MGMT interface [vmbr1/eth1]
auto vmbr2
iface vmbr2 inet manual
bridge_ports eth2
bridge_stp off
bridge_fd 0
# VM interface 1 [vmbr2/eth2]
auto vmbr3
iface vmbr3 inet manual
bridge_ports eth3
bridge_stp off
bridge_fd 0
# VM interface 2 [vmbr3/eth3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment