documentation:examples:aggregating_multiple_isp_links_with_mlvpn
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
documentation:examples:aggregating_multiple_isp_links_with_mlvpn [2017/07/07 00:28] – external edit 127.0.0.1 | documentation:examples:aggregating_multiple_isp_links_with_mlvpn [2020/02/21 21:29] – [Aggregated bandwidth] olivier | ||
---|---|---|---|
Line 251: | Line 251: | ||
< | < | ||
- | [root@R1]~# setfib 2 ping -c 2 10.0.45.5 | + | [root@VM1]~# setfib 2 ping -c 2 10.0.56.6 |
- | PING 10.0.45.5 (10.0.45.5): 56 data bytes | + | PING 10.0.56.6 (10.0.56.6): 56 data bytes |
- | 64 bytes from 10.0.45.5: icmp_seq=0 ttl=62 time=2.057 ms | + | 64 bytes from 10.0.56.6: icmp_seq=0 ttl=62 time=16.473 ms |
- | 64 bytes from 10.0.45.5: icmp_seq=1 ttl=62 time=1.336 ms | + | 64 bytes from 10.0.56.6: icmp_seq=1 ttl=62 time=20.017 ms |
- | --- 10.0.45.5 ping statistics --- | + | --- 10.0.56.6 ping statistics --- |
2 packets transmitted, | 2 packets transmitted, | ||
- | round-trip min/ | + | round-trip min/ |
- | [root@R1]~# setfib 3 ping -c 2 10.0.45.5 | + | [root@VM1]~# setfib 3 ping -c 2 10.0.56.6 |
- | PING 10.0.45.5 (10.0.45.5): 56 data bytes | + | PING 10.0.56.6 (10.0.56.6): 56 data bytes |
- | 64 bytes from 10.0.45.5: icmp_seq=0 ttl=62 time=1.806 ms | + | 64 bytes from 10.0.56.6: icmp_seq=0 ttl=62 time=18.202 ms |
- | 64 bytes from 10.0.45.5: icmp_seq=1 ttl=62 time=1.852 ms | + | 64 bytes from 10.0.56.6: icmp_seq=1 ttl=62 time=11.193 ms |
- | --- 10.0.45.5 ping statistics --- | + | --- 10.0.56.6 ping statistics --- |
2 packets transmitted, | 2 packets transmitted, | ||
- | round-trip min/ | + | round-trip min/ |
+ | [root@VM1]~# | ||
+ | PING 10.0.56.6 (10.0.56.6): | ||
+ | 64 bytes from 10.0.56.6: icmp_seq=0 ttl=62 time=10.973 ms | ||
+ | 64 bytes from 10.0.56.6: icmp_seq=1 ttl=62 time=14.465 | ||
+ | --- 10.0.56.6 ping statistics --- | ||
+ | 2 packets transmitted, | ||
+ | round-trip min/ | ||
</ | </ | ||
Line 274: | Line 281: | ||
Test bandwidth of each link by starting an iperf on MLVPN server: | Test bandwidth of each link by starting an iperf on MLVPN server: | ||
< | < | ||
- | [root@R5]# iperf -s | + | [root@VM6]# iperf3 |
</ | </ | ||
Then from the MLVPN client, test bandwidth for each ISP links: | Then from the MLVPN client, test bandwidth for each ISP links: | ||
< | < | ||
- | [root@R1]~# setfib 2 iperf -c 10.0.45.5 | ||
- | ------------------------------------------------------------ | ||
- | Client connecting to 10.0.45.5, TCP port 5001 | ||
- | TCP window size: 32.5 KByte (default) | ||
- | ------------------------------------------------------------ | ||
- | [ 3] local 10.0.12.1 port 59888 connected with 10.0.45.5 port 5001 | ||
- | [ ID] Interval | ||
- | [ 3] 0.0-10.1 sec 11.8 MBytes | ||
- | [root@R1]~# setfib | + | [root@VM1]~# setfib |
- | ------------------------------------------------------------ | + | (...) |
- | Client connecting to 10.0.45.5, TCP port 5001 | + | [ ID] Interval |
- | TCP window size: 32.5 KByte (default) | + | [ |
- | ------------------------------------------------------------ | + | [ |
- | [ | + | |
- | [ ID] Interval | + | |
- | [ | + | |
+ | [root@VM1]~# | ||
+ | (...) | ||
+ | [ ID] Interval | ||
+ | [ 5] | ||
+ | [ 5] | ||
+ | |||
+ | |||
+ | [root@VM1]~# | ||
+ | Connecting to host 10.0.56.6, port 5201 | ||
+ | (...) | ||
+ | [ ID] Interval | ||
+ | [ 5] | ||
+ | [ 5] | ||
</ | </ | ||
Line 304: | Line 313: | ||
MLVPN can be started in debug mode: | MLVPN can be started in debug mode: | ||
< | < | ||
- | [root@R1]# mlvpn --debug -n mlvpn -u mlvpn | + | [root@VM1]~# mlvpn --debug -n mlvpn -u mlvpn --config / |
- | 2016-04-19T23:48:21 [INFO/ | + | 2020-02-21T21:25:12 [INFO/ |
- | 2016-04-19T23:48:21 [INFO/ | + | 2020-02-21T21:25:12 [INFO/ |
- | 2016-04-19T23:48:21 [INFO/ | + | 2020-02-21T21:25:12 [INFO/ |
- | 2016-04-19T23:48:21 [INFO] created interface `tun0' | + | 2020-02-21T21:25:12 [INFO/ |
- | 2016-04-19T23:48:21 [INFO] dsl2 bind to 10.0.12.1 | + | 2020-02-21T21: |
- | 2016-04-19T23:48:21 [INFO] dsl3 bind to 10.0.13.1 | + | 2020-02-21T21:25:12 [INFO] dsl2 bind to 10.0.12.1 |
- | 2016-04-19T23:48:21 [INFO/ | + | 2020-02-21T21:25:12 [INFO] dsl3 bind to 10.0.13.1 |
- | 2016-04-19T23:48:21 [INFO/ | + | 2020-02-21T21:25:12 [INFO] dsl4 bind to 10.0.14.1 |
+ | 2020-02-21T21: | ||
+ | 2020-02-21T21: | ||
+ | 2020-02-21T21:25:12 [INFO/ | ||
</ | </ | ||
tun interface need to be check (correct IP address and non-1500 MTU): | tun interface need to be check (correct IP address and non-1500 MTU): | ||
< | < | ||
- | [root@R1]# ifconfig tun0 | + | [root@VM1]~# ifconfig tun0 |
tun0: flags=8051< | tun0: flags=8051< | ||
options=80000< | options=80000< | ||
- | inet6 fe80:: | + | inet6 fe80:: |
- | inet 10.0.15.1 --> 10.0.15.5 netmask 0xfffffffc | + | inet 10.0.16.1 --> 10.0.16.2 netmask 0xfffffffc |
+ | groups: tun | ||
nd6 options=21< | nd6 options=21< | ||
- | Opened by PID 2326 | + | Opened by PID 92891 |
</ | </ | ||
And static route(s) needs to be installed (10.5.5.5/ | And static route(s) needs to be installed (10.5.5.5/ | ||
< | < | ||
- | [root@R1]~# netstat -rn4 | + | [root@VM1]~# route get 10.6.6.6 |
- | Routing tables | + | route to: 10.6.6.6 |
- | + | destination: | |
- | Internet: | + | mask: 255.255.255.255 |
- | Destination | + | |
- | 10.0.12.0/24 | + | fib: 0 |
- | 10.0.13.0/24 | + | interface: |
- | 10.0.15.1 link# | + | |
- | 10.0.15.5 link# | + | |
- | 10.5.5.5/32 10.0.15.5 UGS | + | 0 |
- | 127.0.0.1 | + | |
</ | </ | ||
==== Aggregated bandwidth ==== | ==== Aggregated bandwidth ==== | ||
Line 345: | Line 357: | ||
< | < | ||
- | [root@R1]# iperf --bind 10.1.1.1 -c 10.5.5.5 -t 60 | + | [root@VM1]~# iperf3 |
- | ------------------------------------------------------------ | + | (...) |
- | Client connecting to 10.5.5.5, TCP port 5001 | + | [ ID] Interval |
- | Binding to local address 10.1.1.1 | + | [ |
- | TCP window size: 32.3 KByte (default) | + | [ |
- | ------------------------------------------------------------ | + | |
- | [ | + | |
- | [ ID] Interval | + | |
- | [ | + | |
</ | </ | ||
+ | |||
+ | Ouch, not expected performance |
documentation/examples/aggregating_multiple_isp_links_with_mlvpn.txt · Last modified: 2020/02/21 21:42 by olivier