By default Wanos runs in bridge or switch mode. In this back to back lab example, theoretically no configuration is required on the wan optimization 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. Here is a generic guide to start up the wan optimization virtual appliance on other hypervisors.
Quick Start Guide Steps
- After downloading and extracting the virtual appliance, create a new Linux Virtual Machine with at least 2GB RAM
- Use an existing virtual hard drive file and select the wanos.vhd file.
- Do not use dynamic memory.
- Enable two network interfaces (Avoid legacy adapters). Hyper-V requires Mac Spoofing to be enabled. On first boot, eth0 is assigned to wan0 and eth1 to lan0.
- Boot the virtual machine after ensuring that the network connections will not form a bridge loop when the bridge appliance starts.
- Open https://192.168.1.200 from a device on the same IP range or use the wanos-cfg command line utility to change the IP address and gateway.
- By default optimization is enabled for all TCP traffic. In simple single site configurations, the default policies are sufficient. When deploying in production networks, add a default bypass rule before adding additional sites.
‘Peer detected on lan0′ messages in the logs are an indication that the lan0 and wan0 ports are swapped on either device. Another indication that cables are swapped, is when traffic flows as per normal but the status in the Peer Status tab remains down. Use the virtual machine configuration to align Ethernet ports or use the”Switch Interface Port Roles” checkbox under “Network Interfaces” to swap the port roles. After final setup and testing, clear the datastores for good measure. Clear the datastore on all ends when making changes to MultiSite configuration.
The LAN and WAN interfaces are configured to bridge traffic and have no IP addresses. One interface should connect to the WAN segment and the other to the LAN segment. Together they form the virtual inpath interface. See the Cabling Guide for tips on identifying the interfaces.
Often an error occurs when booting the appliance without meeting the minimum of two network interfaces requirement. In this case add the second interface, boot the appliance and reset to factory defaults:
How to test:
- Create a file share via CIFS, FTP or HTTP on the server.
- Copy or Download a File across the WAN. Verify optimization.
- Copy or Download the same file and verify optimization.
- Make changes to the file and copy for a third time and note the optimization.
IP Address: 192.168.1.200/24
Web Username: wanos
Web Password: wanos
Console Username: tc
Console Password: ChangeM3