Route all of pvx9x over 40Gbit backplane
This commit is contained in:
12
proxmox/templates/ebtables.rules.j2
Normal file
12
proxmox/templates/ebtables.rules.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
# {{ ansible_managed }}
|
||||
*broute
|
||||
:BROUTING ACCEPT
|
||||
{% for rule in ebtables_broute_rules %}
|
||||
{{ rule }}
|
||||
{% endfor %}
|
||||
|
||||
*filter
|
||||
:INPUT ACCEPT
|
||||
:FORWARD ACCEPT
|
||||
:OUTPUT ACCEPT
|
||||
|
15
proxmox/templates/ebtables.service.j2
Normal file
15
proxmox/templates/ebtables.service.j2
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=ebtables persistent configuration
|
||||
DefaultDependencies=no
|
||||
Wants=network-pre.target systemd-modules-load.service local-fs.target
|
||||
Before=network-pre.target shutdown.target
|
||||
After=systemd-modules-load.service local-fs.target
|
||||
Conflicts=shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/bin/sh -c '/usr/sbin/ebtables-restore < /etc/ebtables.rules'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@@ -25,6 +25,7 @@ exit
|
||||
!
|
||||
router openfabric 1
|
||||
net {{ ceph_mesh.openfabric_net }}
|
||||
redistribute ipv6 local
|
||||
lsp-gen-interval 5
|
||||
exit
|
||||
!
|
||||
|
Reference in New Issue
Block a user