From Wanos Wiki
Jump to: navigation, search
(Virtual Wan Optimization – ESXi Lab Guide)
Line 1: Line 1:
 +
http://wanos.co/wan-optimization/wp-content/uploads/2014/05/wan-acceleration-esxi-promiscuous.png
  
 
== Virtual Wan Optimization – ESXi Lab Guide ==
 
== Virtual Wan Optimization – ESXi Lab Guide ==
Line 14: Line 15:
 
# If for any reason it is required to start over, run ‘/etc/wanos/clean.sh’. Alternatively use the web interface to reset the virtual appliance. Before moving the virtual machine into a production network, clear the datastore.
 
# If for any reason it is required to start over, run ‘/etc/wanos/clean.sh’. Alternatively use the web interface to reset the virtual appliance. Before moving the virtual machine into a production network, clear the datastore.
  
http://wanos.co/wan-optimization/wp-content/uploads/2014/05/wan-acceleration-esxi-promiscuous.png
+
http://wanos.co/wan-optimization/wp-content/uploads/2014/05/virtual-wan-optimization-lab.jpg
 +
 
 +
Virtual Wan Optimization Lab – ESXi
 +
 
 +
http://wanos.co/wan-optimization/wp-content/uploads/2014/05/wanos-esxi-lab.png
 +
 
 +
ESXi vSphere vSwitch configuration
 +
 
 +
http://wanos.co/wan-optimization/wp-content/uploads/2014/05/wanos-esxi-promiscuous.png
  
 +
ESXi Promiscuous configuration
  
  

Revision as of 07:47, 7 June 2015

wan-acceleration-esxi-promiscuous.png

Virtual Wan Optimization – ESXi Lab Guide

By default Wanos runs in bridge or switch mode. In this back to back lab example, theoretically no configuration is required on the Wanos appliance to test optimization. In other words, it is plug and play, as long as the wan0 and lan0 are plugged into the correct networks. With this in mind here are some steps to build a virtual wan optimization lab on Vmware ESXi.

  1. To keep the lab isolated, create or select an unused offline vSwitch under Configuration > Networking.
  2. Next, under the vSwitch Properties, add a new virtual machine port group. Name the Network Label ‘wan’ and assign a VLAN e.g. 10. Repeat these step to create two more port groups with a descriptive label e.g. ‘server-lan’ VLAN 11 and ‘workstation-lan’ VLAN 12.
  3. Enable promiscuous mode for each port group by editing the security settings. Since port groups are use, don’t enable promiscuous on the vswitch level.
  4. Deploy the OVA package and name it wanos-core. Attach network adapter 1 to the ‘wan’ port group and network adapter 2 to ‘server-lan’. Repeat this step to deploy the wanos-edge and attach adapter 1 to ‘wan’ and adapter 2 to ‘workstation-lan’.
  5. Attach a test server virtual machine to ‘server-lan’ and configure the interface address to 192.168.1.101. Repeat this step to attach the workstation to ‘workstation-lan’ and configure the address to 192.168.1.102. Note they are on the same IP range, because Wanos is in bridge mode by default.
  6. Double check that lan0 and wan0 are not connected to the same network to ensure a loop will not be introduced. The wan0 interfaces should connect to the wan network and the lan0 interfaces to the separate lan networks.
  7. Start the wanos-core virtual machine and run the wanos-cfg command line utility or open https://192.168.1.200 to set the ip address. Start the wanos-edge appliance and set the ip address.
  8. Test TCP traffic. Once traffic starts to flow, they will automatically detect each other and start the optimized stream. By default optimization is enabled for all TCP traffic. For peak optimization ratios, set the optimization level to ‘high’.
  9. By default on first boot wan0 would be assigned to eth0 or network adapter 1 and lan0 to eth1. If the peer status tab does not indicate that the two Wano devices has detected each other, check the log for ‘peer detected on lan0′ message. These messages indicate that the lan0 and wan0 ports are reversed. Use the vSphere client to align the interfaces or alternatively use the Switch Interface Port Role feature.
  10. If for any reason it is required to start over, run ‘/etc/wanos/clean.sh’. Alternatively use the web interface to reset the virtual appliance. Before moving the virtual machine into a production network, clear the datastore.

virtual-wan-optimization-lab.jpg

Virtual Wan Optimization Lab – ESXi

wanos-esxi-lab.png

ESXi vSphere vSwitch configuration

wanos-esxi-promiscuous.png

ESXi Promiscuous configuration


DEFAULT SETTINGS:

  • IP Address: 192.168.1.200/24
  • Default Gateway: 192.168.1.1
  • Web Username: wanos
  • Web Password: wanos
  • Console Username: tc
  • Console Password: ChangeM3

When migrating virtual machines to new mac addresses, reset to factory defaults:

/etc/wanos/clean.sh