Developing lightweight computation at the DSG edge
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quick Mesh Project
qMp packages
Commits
af1cc7e7
Commit
af1cc7e7
authored
Oct 07, 2012
by
p4u
Browse files
Increased default MTU from 1400 to 1360 for bmx6 tunnels
parent
fda7e957
Changes
1
Show whitespace changes
Inline
Side-by-side
packages/qmp-small-node/files/etc/qmp/qmp_functions.sh
View file @
af1cc7e7
...
...
@@ -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
=
1
40
0
uci
set
$conf
.tun6Out.mtu
=
1
36
0
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
=
1
40
0
uci
set
$conf
.tun4Out.mtu
=
1
36
0
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment