User Tools

Site Tools


user:nbrimme1:portfolio:tunnels

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
user:nbrimme1:portfolio:tunnels [2018/07/19 18:56]
nbrimme1 [Procedure]
user:nbrimme1:portfolio:tunnels [2018/07/19 18:59] (current)
nbrimme1
Line 35: Line 35:
  
 =====Procedure===== =====Procedure=====
-    - Add interfaces (if needed)<​code:​bash>##​ TAP interface +
-shyguy@openwrt:​$ ip tuntap add dev tap0 mode tap user shyguy +
-## TUN interface +
-shyguy@openwrt:​$ ip tuntap add dev tun0 mode tun user shyguy</​code>​ +
-    - Setup tunnel +
-    - Test tunnel throughput:<​code:​bash>​ +
-## Restart networking: ## +
-shyguy@openwrt:​$ /​etc/​init.d/​network restart +
-shyguy@openwrt:​$ /​etc/​init.d/​firewall restart +
-## Perform a uni-directional TCP transmission for 120 seconds. ## +
-# Test with maximum possible MSS size +
-shyguy@openwrt:​$ iperf -c $ShyGals_TUNNEL_IP -t 120 +
-# Test with reduced MSS value measurements:​ +
-shyguy@openwrt:​$ for i in 1300 1100 900 700 500 300 100; do \ +
- iperf -c $ShyGals_TUNNEL_IP -t 120 -M $i -m; \ +
- done</​code>​ +
-    - Remove interfaces (if needed)<​code:​bash>##​ TAP interface +
-shyguy@openwrt:​$ ip tuntap del dev tap0 mode tap user shyguy +
-## TUN interface +
-shyguy@openwrt:​$ ip tuntap del dev tun0 mode tun user shyguy</​code>​+
  
 ====GRE: Generic Routing Encapsulation==== ====GRE: Generic Routing Encapsulation====
user/nbrimme1/portfolio/tunnels.txt · Last modified: 2018/07/19 18:59 by nbrimme1