mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 11:10:09 +00:00
31 lines
494 B
Plaintext
31 lines
494 B
Plaintext
auto lo
|
|
iface lo inet loopback
|
|
iface lo inet6 loopback
|
|
|
|
auto wan
|
|
iface wan inet static
|
|
address ${WAN_IP}
|
|
gateway ${WAN_GATE}
|
|
hostname $(hostname)
|
|
|
|
auto admin
|
|
iface admin inet static
|
|
address ${ADMIN_IP}
|
|
hostname $(hostname)
|
|
|
|
auto lan
|
|
iface lan inet static
|
|
address ${LAN_IP}
|
|
hostname $(hostname)
|
|
|
|
auto br0
|
|
iface br0 inet static
|
|
pre-up echo 1 > /proc/sys/net/ipv4/ip_forward
|
|
pre-up brctl addbr br0
|
|
|
|
bridge-ports lan wan
|
|
bridge-sip off
|
|
hostname $(hostname)
|
|
|
|
post-down brctl delbr br0
|