Developing lightweight computation at the DSG edge

Commit af1cc7e7 authored by p4u's avatar p4u
Browse files

Increased default MTU from 1400 to 1360 for bmx6 tunnels

parent fda7e957
......@@ -582,15 +582,14 @@ qmp_configure_bmx6() {
uci set $conf.tun6Out="tunOut"
uci set $conf.tun6Out.tunOut="tun6Out"
uci set $conf.tun6Out.network="$(uci get qmp.tunnels.search_ipv6_tunnel)"
uci set $conf.tun6Out.mtu=1400
uci set $conf.tun6Out.mtu=1360
fi
if qmp_uci_test qmp.tunnels.search_ipv4_tunnel ; then
uci set $conf.tun4Out="tunOut"
uci set $conf.tun4Out.tunOut="tun4Out"
uci set $conf.tun4Out.network="$(uci get qmp.tunnels.search_ipv4_tunnel)"
uci set $conf.tun4Out.mtu=1400
uci set $conf.tun4Out.mtu=1360
elif qmp_uci_test qmp.tunnels.offer_ipv4_tunnel ; then
uci set $conf.tunInRemote="tunInRemote"
......@@ -601,11 +600,11 @@ qmp_configure_bmx6() {
uci set $conf.tun4InNet.bandwidth="1000000"
fi
#Configuring the tunnel to search 10/8 networks
uci set $conf.nodes10="tunOut"
uci set $conf.nodes10.tunOut="nodes10"
uci set $conf.nodes10.network="10.0.0.0/8"
uci set $conf.nodes10.mtu=1360
uci commit $conf
# /etc/init.d/$conf restart
......
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