Skip to content
Snippets Groups Projects
Unverified Commit 41a9f9b0 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-mesh-batman-adv-core: fix ARP resolution of next-node IPv4 address

The ebtables rules were not adjusted when switching from macvlan to veth.
parent 9a33b4ce
Branches
Tags
No related merge requests found
......@@ -7,8 +7,8 @@ rule('FORWARD --logical-out br-client -o bat0 -s ' .. next_node.mac .. ' -j DROP
rule('OUTPUT --logical-out br-client -o bat0 -s ' .. next_node.mac .. ' -j DROP')
if next_node.ip4 then
rule('FORWARD --logical-in br-client -p ARP --arp-ip-src ' .. next_node.ip4 .. ' -j DROP')
rule('FORWARD --logical-in br-client -p ARP --arp-ip-dst ' .. next_node.ip4 .. ' -j DROP')
rule('FORWARD --logical-out br-client -o bat0 -p ARP --arp-ip-src ' .. next_node.ip4 .. ' -j DROP')
rule('FORWARD --logical-out br-client -o bat0 -p ARP --arp-ip-dst ' .. next_node.ip4 .. ' -j DROP')
rule('FORWARD --logical-out br-client -o bat0 -p IPv4 --ip-destination ' .. next_node.ip4 .. ' -j DROP')
rule('OUTPUT --logical-out br-client -o bat0 -p IPv4 --ip-destination ' .. next_node.ip4 .. ' -j DROP')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment