mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 03:00:09 +00:00
31 lines
489 B
Plaintext
31 lines
489 B
Plaintext
auto lo
|
|
iface lo inet loopback
|
|
iface lo inet6 loopback
|
|
|
|
auto lan
|
|
iface lan inet dhcp
|
|
#address 10.1.1.2
|
|
hostname $(hostname)
|
|
|
|
auto admin
|
|
iface admin inet dhcp
|
|
#address 10.0.0.2
|
|
hostname $(hostname)
|
|
|
|
auto wan
|
|
iface wan inet static
|
|
address ${WAN_IP}
|
|
gateway ${WAN_GATE}
|
|
hostname $(hostname)
|
|
|
|
auto br0
|
|
iface br0 inet stattic
|
|
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
|