Skip to content

Commit

Permalink
Bug fix: limit ARP response scope when using VRRP on FRRouting
Browse files Browse the repository at this point in the history
  • Loading branch information
ipspace committed Sep 18, 2024
1 parent 977ede1 commit 6276f07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions netsim/ansible/templates/gateway/frr.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ if [ ! -e /sys/class/net/{{ v_if }} ]; then
ip link set dev {{ v_if }} address {{ v_mac }}
ip addr add {{ intf.gateway[afm] }} dev {{ v_if }}
ip link set dev {{ v_if }} up
sysctl -w net.ipv4.conf.{{ intf.ifname }}.arp_announce=1
sysctl -w net.ipv4.conf.{{ intf.ifname }}.arp_ignore=2
fi
{% endfor %}
{% endfor %}
Expand Down

0 comments on commit 6276f07

Please sign in to comment.