Commit 1d10ad55 authored by nanahira's avatar nanahira

fix ospf thing

parent 2a1b4210
...@@ -20,6 +20,8 @@ iptables -t mangle -A PREROUTING -m mark --mark 0x0 ! -d 224.0.0.0/3 ! -p ospf - ...@@ -20,6 +20,8 @@ iptables -t mangle -A PREROUTING -m mark --mark 0x0 ! -d 224.0.0.0/3 ! -p ospf -
iptables -t mangle -N NEXTGEN_SWITCH iptables -t mangle -N NEXTGEN_SWITCH
iptables -t mangle -A PREROUTING -m mark --mark 0x0 ! -p ospf -m set ! --match-set mycard src -j NEXTGEN_SWITCH iptables -t mangle -A PREROUTING -m mark --mark 0x0 ! -p ospf -m set ! --match-set mycard src -j NEXTGEN_SWITCH
iptables -t mangle -I OUTPUT -m mark ! --mark 0 -j RETURN
# switch rules # switch rules
{{ansible_user_dir}}/nextgen-network/scripts/switch-rules-up.sh {{ansible_user_dir}}/nextgen-network/scripts/switch-rules-up.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment