• No results found

Wanos on Hyper-V Comprehensive guide for a complete lab

N/A
N/A
Protected

Academic year: 2021

Share "Wanos on Hyper-V Comprehensive guide for a complete lab"

Copied!
71
0
0

Loading.... (view fulltext now)

Full text

(1)

Wanos on Hyper-V

Comprehensive guide for a complete lab

This document will guide the user in setting up a Wanos appliance using Hyper-V on a Microsoft Windows Server 2012 R2. Four Virtual Machines will be created in this guide. It is assumed that you have installed Microsoft Windows Server 2012, added the Hyper-V Manager role and installed all the required Windows updates. You will also need two Microsoft Windows consumer OS based Virtual Machines such as Windows 7. Wanos version 2.6.2 is used in this guide.

The system requirements for Wanos as well as the Wanos downloadable image can be obtained at http://wanos.co/wan-optimization/download/. The Wanos Appliance VHD is used in this setup.

(2)

Table of Contents

 Setting up Virtual Switches

 Setting and Configuring Virtual Machines  Setting up Wanos-HQ Appliance

 Configuring Wanos-HQ Virtual Machine Settings  Setting up Wanos-Branch Appliance

 Configuring Wanos-Branch Virtual Machine Settings  Setting up HQ-PC Appliance

 Configuring HQ-PC Virtual Machine Settings  Setting up Branch-PC Appliance

 Configuring Branch-PC Virtual Machine Settings

 Configuring Wanos Appliance to work on your network  Configure Wanos' web-based GUI for testing simulation  Common Problems and their Solutions

(3)

Setting up Virtual Switches

In this section, we will create three Virtual Switches. They will be named PhyNIC, WAN-Link and Branch-LAN.

(4)
(5)

Rename the virtual switch to PhyNIC under Virtual Switch Properties. Select your LAN adapter from the drop down list found under Connection Type > External network. Click the Apply button to complete the process.

(6)

The wizard may prompt a window Pending changes may disrupt network connectivity. Click the Yes button to continue. Optionally, you can tick the check box, Please don't ask me again, to avoid similar reminders in the future.

(7)

Create a New virtual network switch, choose Internal, then click the Create Virtual Switch button. Click the Apply button.

(8)

Rename the virtual switch to WAN-Link and ensure Internal Network is selected under Connection Type. Click the Apply button.

(9)
(10)

Rename the virtual switch to Branch-LAN, ensure Internal network is selected under Connection type. Click the Apply button.

(11)

Setting and Configuring Virtual Machines

This section will guide the user in setting and configuring Wanos-HQ, Wanos-Branch, HQ-PC and Branch-PC virtual machines.

Notes on the VHD files.

”wanos-hq” is the extracted wanos-2.0.5-vhd zip file downloaded from the website. ”wanos-branch” is a duplicate of “wanos-hq”.

”hq-pc” is a VHD file that contains “Windows 7” 32bit. ”branch-pc” is a duplicate of “hq-pc”

Extract/Copy/Move all the VHD files to the Hyper-Vs default Virtual hard disk directory and rename the VHD files to wanos-hq, wanos-branch, hq-pc and branch-pc.

(12)

Setting up Wanos-HQ Appliance

(13)

Optionally, you can tick on the check box Do not show this page again to prevent the window from showing this page in the future. Click the Next button to continue with the Virtual Machine Creation wizard.

(14)
(15)
(16)
(17)
(18)

Select Use an existing virtual hard disk, click the Browse button, select wanos-hq, click the Open button then the Next button to continue.

(19)
(20)

Configuring Wanos-HQ Virtual Machine Settings

(21)
(22)
(23)
(24)
(25)

Click Advanced Features under PhyNIC Network Adapter, tick on the check box Enable MAC address spoofing and click the Apply button to add the second Network Adapter.

(26)

Setting up Wanos-Branch Appliance

(27)
(28)
(29)
(30)
(31)

Select Use an existing virtual hard disk, click the Browse button, select wanos-branch, click the Open button then the Next button to continue.

(32)
(33)

Configuring Wanos-Branch Virtual Machine Settings

(34)
(35)
(36)
(37)
(38)

Click Advanced Features under Branch-LAN Network Adapter, tick on the check box Enable MAC address spoofing and click the Apply button to add the second Network Adapter.

(39)

Setting up HQ-PC Appliance

(40)
(41)
(42)
(43)
(44)

Select Use an existing virtual hard disk, click the Browse button, select hq-pc, click the Open button then the Next button to continue.

(45)
(46)

Configuring HQ-PC Virtual Machine Settings

(47)
(48)
(49)

Setting up Branch-PC Appliance

(50)
(51)
(52)
(53)
(54)

Select Use an existing virtual hard disk, click the Browse button, select branch-pc, click the Open button then the Next button to continue.

(55)
(56)

Configuring Branch-PC Virtual Machine Settings

(57)
(58)
(59)

Configuring Wanos Appliance to work on your network

It is assumed that your Default gateway is 192.168.1.1. The Wanos Appliance VHD uses the following default configuration:

IP Address: 192.168.1.200 Address Mask: 24

Default Gateway: 192.168.1.1

If there is a need to configure the Wanos-HQ Appliance, the same steps can be applied below. This section will show the user on how to configure Wanos-Branch Appliance.

(60)

Turn on Wanos-HQ and Wanos-Branch Virtual Machines by selecting them on the Hyper-V Virtual Machines list. Click the Start link under Actions Pane.

(61)
(62)

Once you see the message Press Enter to Login, press the Enter key and type in the following login credentials: (Password is Ca$e Sen$iTiv3)

Username: tc

(63)

After logging in, type wanos-cfg to configure Wanos-Branch appliances' network configuration. Type in the following details:

IP Address: 192.168.1.201 Address Mask: 24

Gateway Address: 192.168.1.1

(64)

Configure Wanos' web-based GUI for testing simulation

This section will guide the user in configuring Wanos-HQ and Wanos-Branch appliances through their web based GUI. The setting will enable a laboratory based WAN optimization by configuring the settings below.

Using Internet Explorer, type 192.168.1.200 on the address bar. Enter the following information: Username: wanos

(65)

You will be redirected to a HTTPS page but Internet Explorer will prompt you for a certificate problem. Click Continue to this website (not recommended) to continue. Enter the following login credentials when prompted:

Username: wanos Password: wanos

(66)

Optional Lab settings:

Go to Configure > System Settings. Configure the following:

Encapsulation: udp

Global WAN Tx Rate: 1024

Scroll down and click Submit button to complete the process. Wanos will reboot to use the new settings.

*Repeat all the steps outlined in Configure Wanos' web-based GUI for testing simulation on 192.168.1.201 to ensure settings on all ends match.

(67)

After configuring both 192.168.1.200 and 192.168.1.201, start both HQ-PC and Branch-PC on your Hyper-V and access each others shared directories.

Once the user is able to access both HQ-PC and Branch-PCs shared/networked directories. He can start copying files from one machine to another and WAN Optimization should work.

(68)

Common Problems and their Solutions

1. Network Adapter is not configured properly and WAN Optimization does not work.

This occurs when you create your Wanos-HQ and Wanos-Branch “Virtual Machines”. You have added the Network Adapters in the wrong sequence. The correct sequence must be:

For Wanos-HQ (192.168.1.200) Network Adapter 1: WAN-Link Network Adapter 2: PhyNIC

For Wanos-Branch (192.168.1.201) Network Adapter 1: WAN-Link Network Adapter 2: Branch-LAN

(69)

To check which Wanos Appliance exhibits this problem, login to Wanos-HQ web based GUI, go to Diagnostics > Logs.

Look for Peer detected on lan0 in the log. If this does not show up in Wanos-HQ, check Wanos-Branch by following the same steps above.

(70)

Once you find out which machine has the output message, on that Wanos Appliances' web based GUI, go to Reports > Network > Interface Stats.

Tick on Switch Interface Port Roles box and click the Submit button. This action will restart the Wanos appliance. You can check the last part of the logs if the issue still shows up. If not, it is a good time to check the other Wanos Appliance if the message starts showing up. The same troubleshooting step can be applied if the issue occurs to the other Wanos appliance.

(71)

2. HQ-PC cannot access shared directory of Branch-PC and vice-versa. Here is a quick checklist:

 Make sure Computer Name for both Virtual Machines are unique. In this howto guide HQ-PC and Branch-PC were used.

 Make sure the Sharing is enabled on both machines. Check Network and Sharing Center (for Windows 7)

 Make sure the Network Adapters for both Virtual Machines are configured properly. Review

Configuring HQ-PC Virtual Machine Settings and Configuring Branch-PC Virtual Machine Settings.

 Try to access the other computer's shared directory by using its designated IP address. E.G. \\192.168.1.101 (Branch-PC)

 Get IP address of both machines and try pinging each other's IP addresses. Ping your Gateway, Wanos-HQ and Wanos-Branch IP addresses as well.

References

Related documents

In the Network settings window, set the IP address for the Mac LAN adapter to a different address than all other network devices, including the Windows virtual machine, and click

Device Manager • Provides point-and-click management of individual adapters, advanced adapter features, connection teaming, and virtual local area network (VLAN) configuration

Click to directly add one IP address for login. Key in all the network camera access information needed, and click “Apply” and “Close” to add the selected address to the

Then click on Use the following IP address, and make sure you assign your network adapter an IP address in the subnet of

enter your University email address and network password then click on the ‘Continue’

‣ Go to Network (Client) Access > IPsec Connection Profiles ‣ Check the box Allow Access for the outside interface ‣ Click Apply... Step 3 – Add an IP

In this page, enter the MAC address of the LAN host and the static IP address that is reserved for the host, and then click the Apply/Save button to apply the settings..

To work around this issue, ensure that each virtual network adapter has a static MAC address by editing the settings of the virtual machine in