Cleanup jool

This commit is contained in:
Nico Schottelius 2019-08-16 12:35:51 +02:00
parent e7a3e4239d
commit da601a6e8b
2 changed files with 16 additions and 1 deletions

View File

@ -8,12 +8,14 @@ make
sudo make install sudo make install
sudo /etc/init.d/tayga stop sudo /etc/init.d/tayga stop
modprobe -r jool_siit
sudo sysctl -w net.ipv4.conf.all.forwarding=1 sudo sysctl -w net.ipv4.conf.all.forwarding=1
sudo sysctl -w net.ipv6.conf.all.forwarding=1 sudo sysctl -w net.ipv6.conf.all.forwarding=1
sudo modprobe jool_siit sudo modprobe jool_siit
sudo jool_siit instance add "example" --iptables sudo jool_siit instance add example --iptables
sudo jool_siit -i example eamt add 2001:db8:42::/120 10.0.1.0/24 sudo jool_siit -i example eamt add 2001:db8:42::/120 10.0.1.0/24
sudo jool_siit -i example eamt add 2001:db8:23::/120 10.0.0.0/24
sudo ip6tables -t mangle -A PREROUTING -s 2001:db8:42::/120 -d 2001:db8:23::/120 -j JOOL_SIIT --instance example sudo ip6tables -t mangle -A PREROUTING -s 2001:db8:42::/120 -d 2001:db8:23::/120 -j JOOL_SIIT --instance example
sudo iptables -t mangle -A PREROUTING -s 10.0.0.0/24 -d 10.0.1.0/24 -j JOOL_SIIT --instance example sudo iptables -t mangle -A PREROUTING -s 10.0.0.0/24 -d 10.0.1.0/24 -j JOOL_SIIT --instance example

View File

@ -3356,6 +3356,19 @@ https://en.wikipedia.org/wiki/IPv4_header_checksum
*** DONE Setup / Benchmark tayga *** DONE Setup / Benchmark tayga
CLOSED: [2019-08-13 Tue 10:36] CLOSED: [2019-08-13 Tue 10:36]
*** Redo Jool *** Redo Jool
#+BEGIN_CENTER
nico@ESPRIMO-P956:~/master-thesis/iperf/run5-netfpga$ ~/master-thesis/bin/benchmark-prepare-software-loadgenerator.sh
+ sudo ip route add 10.0.1.0/24 via 10.0.0.77
+ sudo ip route add 2001:db8:23::/96 via 2001:db8:42::77
RTNETLINK answers: File exists
nico@ESPRIMO-P956:~/master-thesis/iperf/run5-netfpga$
#+END_CENTER
nico@ESPRIMO-P956:~/master-thesis/iperf/run7-jool$
../../bin/run-benchmark.sh netfpga 10.0.1.42 2345
* TODO Thesis documentation * TODO Thesis documentation
** Introduction ** Introduction
*** Related work *** Related work