Some checks failed
Test / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
62 lines
1.1 KiB
Plaintext
62 lines
1.1 KiB
Plaintext
# Proxmox VE Network Configuration
|
|
# File: /etc/network/interfaces
|
|
# Configure DHCP on all physical NICs
|
|
|
|
# Loopback interface
|
|
auto lo
|
|
iface lo inet loopback
|
|
|
|
# Physical interface: nic0
|
|
auto nic0
|
|
iface nic0 inet manual
|
|
|
|
# vmbr0 - Bridge on nic0 (DHCP)
|
|
auto vmbr0
|
|
iface vmbr0 inet dhcp
|
|
bridge-ports nic0
|
|
bridge-stp off
|
|
bridge-fd 0
|
|
bridge-vlan-aware no
|
|
metric 200
|
|
|
|
# Physical interface: nic1
|
|
auto nic1
|
|
iface nic1 inet manual
|
|
|
|
# vmbr1 - Bridge on nic1 (DHCP)
|
|
auto vmbr1
|
|
iface vmbr1 inet dhcp
|
|
bridge-ports nic1
|
|
bridge-stp off
|
|
bridge-fd 0
|
|
bridge-vlan-aware no
|
|
metric 100
|
|
|
|
# Physical interface: nic2
|
|
auto nic2
|
|
iface nic2 inet manual
|
|
|
|
# vmbr2 - Bridge on nic2 (DHCP)
|
|
auto vmbr2
|
|
iface vmbr2 inet dhcp
|
|
bridge-ports nic2
|
|
bridge-stp off
|
|
bridge-fd 0
|
|
bridge-vlan-aware no
|
|
|
|
# Physical interface: nic3
|
|
auto nic3
|
|
iface nic3 inet manual
|
|
|
|
# vmbr3 - Bridge on nic3 (DHCP)
|
|
auto vmbr3
|
|
iface vmbr3 inet dhcp
|
|
bridge-ports nic3
|
|
bridge-stp off
|
|
bridge-fd 0
|
|
bridge-vlan-aware no
|
|
|
|
# Add more interfaces (nic4, nic5, etc.) if needed
|
|
# Copy the pattern above for each additional NIC
|
|
|