Update l2tp_backbone.sh.exit.j2

Move the SN direct routing from sn_startup.exit.sh.j2 to l2tp_backbone.sh.exit.j2
This commit is contained in:
rojoka 2016-05-13 23:52:42 +02:00
parent 1835cf4e6c
commit 6316095d35

View File

@ -46,12 +46,10 @@ $ip link set address $communitymacaddress:0${localserver#$communityname} dev bat
$ip link set up dev bat0 $ip link set up dev bat0
$ip addr add $communitynetwork.$octet3rd.${localserver#$communityname}/16 broadcast $communitynetwork.255.255 dev bat0 $ip addr add $communitynetwork.$octet3rd.${localserver#$communityname}/16 broadcast $communitynetwork.255.255 dev bat0
$ip -6 addr add $communitynetworkv6$octet3rd:${localserver#$communityname}/64 dev bat0 $ip -6 addr add $communitynetworkv6$octet3rd:${localserver#$communityname}/64 dev bat0
$ip route add {{ snx_ffrl_IPv4 }}/32 via {{ snx_mesh_IPv4 }} table 42
$ip route add {{ snx_ffrl_IPv4 }}/32 via {{ snx_mesh_IPv4 }}
/usr/bin/killall batadv-vis /usr/bin/killall batadv-vis
/bin/sleep 15 /bin/sleep 15
$batadv -i bat0 -s > /dev/null 2>&1 & $batadv -i bat0 -s > /dev/null 2>&1 &
#/bin/systemctl restart isc-dhcp-server
#/bin/systemctl restart bind9
#/usr/local/sbin/batctl gw client 3
#/usr/local/sbin/batctl gw server 100Mbit/100Mbit