mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 18:50:08 +00:00
added bootstrap bridges...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f9264a7901
commit
ec250a5e39
26
host/bootstrap-bridges.tpl
Normal file
26
host/bootstrap-bridges.tpl
Normal file
@ -0,0 +1,26 @@
|
||||
|
||||
# NOTE: this assumes a configured bridge (vmbr0?) already exists...
|
||||
|
||||
auto vmbr${LAN_BRIDGE}
|
||||
iface vmbr${LAN_BRIDGE} inet manual
|
||||
bridge-ports none
|
||||
bridge-stp off
|
||||
bridge-fd 0
|
||||
#LAN
|
||||
|
||||
auto vmbr${WAN_BRIDGE}
|
||||
iface vmbr${WAN_BRIDGE} inet manual
|
||||
bridge-ports ${WAN_PORT}
|
||||
bridge-stp off
|
||||
bridge-fd 0
|
||||
#WAN
|
||||
|
||||
auto vmbr${ADMIN_BRIDGE}
|
||||
iface vmbr${ADMIN_BRIDGE} inet static
|
||||
address ${HOST_ADMIN_IP}
|
||||
#gateway ${GATE_ADMIN_IPn}
|
||||
bridge-ports ${ADMIN_PORT}
|
||||
bridge-stp off
|
||||
bridge-fd 0
|
||||
#ADMIN
|
||||
|
||||
@ -1,24 +1,24 @@
|
||||
|
||||
auto vmbr${LAN_BRIDGE}
|
||||
iface vmbr${LAN_BRIDGE} inet manual
|
||||
bridge-ports none
|
||||
bridge-stp off
|
||||
bridge-fd 0
|
||||
#LAN
|
||||
|
||||
auto vmbr${WAN_BRIDGE}
|
||||
iface vmbr${WAN_BRIDGE} inet manual
|
||||
bridge-ports ${WAN_PORT}
|
||||
bridge-stp off
|
||||
bridge-fd 0
|
||||
#WAN
|
||||
|
||||
auto vmbr${ADMIN_BRIDGE}
|
||||
iface vmbr${ADMIN_BRIDGE} inet static
|
||||
address ${HOST_ADMIN_IP}
|
||||
gateway ${GATE_ADMIN_IPn}
|
||||
bridge-ports ${ADMIN_PORT}
|
||||
bridge-stp off
|
||||
bridge-fd 0
|
||||
#ADMIN
|
||||
|
||||
|
||||
auto vmbr${LAN_BRIDGE}
|
||||
iface vmbr${LAN_BRIDGE} inet manual
|
||||
bridge-ports none
|
||||
bridge-stp off
|
||||
bridge-fd 0
|
||||
#LAN
|
||||
|
||||
auto vmbr${WAN_BRIDGE}
|
||||
iface vmbr${WAN_BRIDGE} inet manual
|
||||
bridge-ports ${WAN_PORT}
|
||||
bridge-stp off
|
||||
bridge-fd 0
|
||||
#WAN
|
||||
|
||||
auto vmbr${ADMIN_BRIDGE}
|
||||
iface vmbr${ADMIN_BRIDGE} inet static
|
||||
address ${HOST_ADMIN_IP}
|
||||
gateway ${GATE_ADMIN_IPn}
|
||||
bridge-ports ${ADMIN_PORT}
|
||||
bridge-stp off
|
||||
bridge-fd 0
|
||||
#ADMIN
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user