Commit ca70bf29 authored by Nico's avatar Nico
Browse files

localgw: fix interface instantiation order

Don't bring up br_client before the fastd mesh interface, as bat0 will
then be missing from the bridge.
parent e34e2b7a
......@@ -7,7 +7,7 @@ interface "{{ fastd_interface }}";
mtu 1340;
status socket "/var/run/fastd.{{ fastd_interface }}.socket";
packet mark 1;
on up "ifup --force {{ fastd_interface }}";
on up "/usr/sbin/ifup --force {{ fastd_interface }}";
peer group "mesh_vpn" {
peer limit 1;
peer "gw01" {
......
allow-hotplug {{ client_bridge_name }}
iface {{ client_bridge_name }} inet manual
#mtu 1500
bridge_ports {{ mesh_client_interface_name }}
bridge_fd 0
bridge_maxwait 0
pre-up ifup --force mesh-vrf || true
pre-up ifup --force {{ mesh_vrf_interface }} || true
up /sbin/ip link set dev $IFACE master {{ mesh_vrf_interface }} || true
# always route mesh-vpn traffic over wan
# post-up /sbin/ip rule add fwmark 1 table wan || true
......
auto {{ mesh_vrf_interface }}
iface {{ mesh_vrf_interface }} inet manual
up /sbin/ip link add dev $IFACE type vrf table ffs-mesh || true
up /sbin/ip link set up $IFACE || true
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