documentation:examples:aggregating_multiple_isp_links_with_mlvpn
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documentation:examples:aggregating_multiple_isp_links_with_mlvpn [2020/02/21 21:39] – [Backbone routers configuration] olivier | documentation:examples:aggregating_multiple_isp_links_with_mlvpn [2020/02/21 21:42] (current) – [Aggregated bandwidth] olivier | ||
|---|---|---|---|
| Line 203: | Line 203: | ||
| Router 1 is configured as a MLVPN client router connected to 3 different Internet links. | Router 1 is configured as a MLVPN client router connected to 3 different Internet links. | ||
| - | The big difference with MLPPP: We can't use 3 differents IP addresses on our server, then can't simply install 3 differents static routes. We need a 3 default routes, then a minimum of 4 differents routing table. | ||
| - | < | + | We need a default |
| - | sysrc hostname=R1 | + | |
| - | sysrc cloned_interfaces=" | + | |
| - | sysrc ifconfig_lo1=" | + | |
| - | sysrc ifconfig_vtnet0=" | + | |
| - | sysrc ifconfig_vtnet1=" | + | |
| - | sysrc static_routes=" | + | |
| - | sysrc route_ISP1=" | + | |
| - | sysrc route_ISP2=" | + | |
| - | sysrc mlvpn_enable=YES | + | |
| + | < | ||
| + | sysrc hostname=VM1 \ | ||
| + | cloned_interfaces=" | ||
| + | ifconfig_lo1=" | ||
| + | ifconfig_vtnet0=" | ||
| + | ifconfig_vtnet1=" | ||
| + | ifconfig_vtnet2=" | ||
| + | static_routes=" | ||
| + | route_ISP1=" | ||
| + | route_ISP2=" | ||
| + | route_ISP3=" | ||
| cat <<EOF > / | cat <<EOF > / | ||
| [general] | [general] | ||
| Line 222: | Line 223: | ||
| mtu = 1452 | mtu = 1452 | ||
| tuntap = " | tuntap = " | ||
| - | ip4 = "10.0.15.1/ | + | ip4 = "10.0.16.1/ |
| - | ip4_gateway = "10.0.15.5" | + | ip4_gateway = "10.0.16.2" |
| - | ip4_routes = "10.5.5.5/32" | + | ip4_routes = "10.6.6.6/32" |
| timeout = 30 | timeout = 30 | ||
| password = " | password = " | ||
| Line 234: | Line 235: | ||
| bindport = 5082 | bindport = 5082 | ||
| bindfib = 2 | bindfib = 2 | ||
| - | remotehost = "10.0.45.5" | + | remotehost = "10.0.56.6" |
| remoteport = 5082 | remoteport = 5082 | ||
| - | |||
| [dsl3] | [dsl3] | ||
| bindhost = " | bindhost = " | ||
| bindport = 5083 | bindport = 5083 | ||
| bindfib = 3 | bindfib = 3 | ||
| - | remotehost = "10.0.45.5" | + | remotehost = "10.0.56.6" |
| remoteport = 5083 | remoteport = 5083 | ||
| - | EOF | + | [dsl4] |
| + | bindhost = " | ||
| + | bindport = 5084 | ||
| + | bindfib = 4 | ||
| + | remotehost = " | ||
| + | remoteport = 5084 | ||
| + | EOF | ||
| + | service mlvpn enable | ||
| service netif restart | service netif restart | ||
| service routing restart | service routing restart | ||
| service mlvpn start | service mlvpn start | ||
| + | hostname VM1 | ||
| config save | config save | ||
| </ | </ | ||
| - | ==== Router | + | ==== Router |
| - | Router | + | Router |
| < | < | ||
| - | sysrc hostname=R5 | + | sysrc hostname=VM6 \ |
| - | sysrc cloned_interfaces=" | + | cloned_interfaces=" |
| - | sysrc ifconfig_lo1=" | + | ifconfig_lo1=" |
| - | sysrc ifconfig_vtnet3=" | + | |
| - | sysrc defaultrouter=10.0.45.4 | + | defaultrouter="10.0.56.5" |
| - | sysrc mlvpn_enable=YES | + | cat > / |
| - | + | ||
| - | cat <<' | + | |
| [general] | [general] | ||
| statuscommand = "/ | statuscommand = "/ | ||
| tuntap = " | tuntap = " | ||
| mode = " | mode = " | ||
| - | ip4 = "10.0.15.5/30" | + | ip4 = "10.0.16.2/30" |
| - | ip4_gateway = "10.0.15.1" | + | ip4_gateway = "10.0.16.1" |
| ip4_routes = " | ip4_routes = " | ||
| timeout = 30 | timeout = 30 | ||
| Line 278: | Line 284: | ||
| [adsl2] | [adsl2] | ||
| - | bindhost = "10.0.45.5" | + | bindhost = "10.0.56.6" |
| bindport = 5082 | bindport = 5082 | ||
| [adsl3] | [adsl3] | ||
| - | bindhost = "10.0.45.5" | + | bindhost = "10.0.56.6" |
| bindport = 5083 | bindport = 5083 | ||
| - | ' | ||
| + | [adsl4] | ||
| + | bindhost = " | ||
| + | bindport = 5084 | ||
| + | |||
| + | EOF | ||
| + | |||
| + | service mlvpn enable | ||
| service netif restart | service netif restart | ||
| service routing restart | service routing restart | ||
| service mlvpn start | service mlvpn start | ||
| + | hostname VM6 | ||
| config save | config save | ||
| </ | </ | ||
| Line 401: | Line 414: | ||
| ==== Aggregated bandwidth ==== | ==== Aggregated bandwidth ==== | ||
| - | Check that aggregated bandwitdh is 10+10 = 20Mbit/s on this lab. | + | Check that aggregated bandwitdh is 10+10+10 = 30Mbit/s on this lab. |
| < | < | ||
| Line 411: | Line 424: | ||
| </ | </ | ||
| - | Ouch, not expected performance | + | Ouch, not the expected performance |
documentation/examples/aggregating_multiple_isp_links_with_mlvpn.1582317585.txt.gz · Last modified: 2020/02/21 21:39 by olivier
