Installation and use of Wanem network simulator

Source: Internet
Author: User

wanem

in the project control, many times need to simulate the network environment, to test the requirements of bidding. However, it is difficult to simulate the network environment through router and switch in the usual environment. Can now be implemented using third-party software Wanem. Wanem is another tool for simulating network environments, including network latency, packet loss, jitter, data corruption, chaotic sequencing, and more. Can be installed and configured directly with ISO image if you configure Citrix NetScaler to be a bit strikingly similar.


Installation Environment

Wanem requirements are low,PC,VMware Workstation need to select the physical NIC bridge mode,XenServer

can be installed directly.

Installation Steps

Mount the ISO file directly, Wanem itself is a Linux virtual machine, you need to configure IP address static or DHCP. After configuring the IP address, you can login to the Web management interface in the browser,http://192.168.1.42/WANem/ attention to case.


How to use

The Wanem Configuration page will open directly after entering the system

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/83/D2/wKioL1d9vIOh8b7NAACM1OuM5Gw446.png-wh_500x0-wm_3 -wmp_4-s_2597489228.png "title=" 1.png "alt=" Wkiol1d9vioh8b7naacm1oum5gw446.png-wh_50 "/>

Basic mode and advanced mode are mainly configured in the LAN

Basic Mode: Simple configuration of the network access rate, the size of the bandwidth.

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/83/D2/wKioL1d9vJKTOzRIAACv-ca7CzI281.png-wh_500x0-wm_3 -wmp_4-s_1921094756.png "title=" 2.png "alt=" Wkiol1d9vjktozriaacv-ca7czi281.png-wh_50 "/>

Advanced Mode: Configure latency, packet loss, jitter, chaos, and more

we are directly in Advanced Mode Configuration allows

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/83/D3/wKiom1d9vLXAZQzGAAB9yfTkVYo716.png-wh_500x0-wm_3 -wmp_4-s_2781960304.png "title=" 3.png "alt=" Wkiom1d9vlxazqzgaab9yftkvyo716.png-wh_50 "/>

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/83/D2/wKioL1d9vMKxM5sXAADyszJ4dWQ139.png-wh_500x0-wm_3 -wmp_4-s_3645357153.png "title=" 4.png "alt=" Wkiol1d9vmkxm5sxaadyszj4dwq139.png-wh_50 "/>

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/83/D3/wKiom1d9vNSAE7BPAAD6yuVsiKg303.png-wh_500x0-wm_3 -wmp_4-s_123945339.png "title=" 5.png "alt=" Wkiom1d9vnsae7bpaad6yuvsikg303.png-wh_50 "/>

Options for the main configuration

Delay : Delay

Delay Time represents the time of the delay

jitter represents the size of the jitter

Correlation A floating range that represents the size of the jitter

Loss :

Loss (%) packet loss ratio

Correlation lost packet proportional floating range

Packet reordering : Disorderly Order

corruption : Packet Corruption

IP Source Address : Source Address

IP Source Subnet : Source Address Mask

IP dest Address : Destination Address

IP dest Subnet : Destination Address mask

Test Topology

Client (VDI) ———— wanem ———— webServer (StoreFront)


Wanem between Client and Server, the data of both sides need to pass wanem to make wanem control bidirectional data flow.

The environment I'm testing is all in the same Vlan inside. So you don't need to configure a default route, just configure a route on the client and server.

test Method

Test the communication between VDI and the Web server on your corporate LAN:

Two device address Client 192.168.1.199(VDI),Web Server 192.168.1.247(Citrix StoreFront),wanem 192.168.1.42.

to make the data between the Client and Server is Wanem, we need to manually configure a host route, the next hop to the wanem IP. If you need to add a default route if you want to boast a broadcast domain, the next hop of the default route must point to the IP address of wanem .

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/83/D4/wKiom1d9vbXRmucsAAC-pPMd8d4772.png-wh_500x0-wm_3 -wmp_4-s_528641724.png "title=" 6.png "alt=" Wkiom1d9vbxrmucsaac-ppmd8d4772.png-wh_50 "/>

Client:route add192.168.1.247 Mask 255.255.255.255 192.168.1.42

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/83/D2/wKioL1d9vcOyFvu_AABXuohXSAs201.png-wh_500x0-wm_3 -wmp_4-s_1132657703.png "title=" 7.png "alt=" Wkiol1d9vcoyfvu_aabxuohxsas201.png-wh_50 "/>

Web-server:route Add 192.168.1.199 Mask 255.255.255.255192.168.1.42

The goal is to have client access requests pass through Wanem processing.

set up after the first ping each other is a pass, does not explain that the host route is not set correctly, set the route after the following can be tested.

Simulation

Here simulate a drop packet in 50% range at 10% delay in 500ms range at 100ms

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/83/D4/wKiom1d9vevC8CcjAADtPD-_A8g906.png-wh_500x0-wm_3 -wmp_4-s_2526729488.png "title=" 8.png "alt=" Wkiom1d9vevc8ccjaadtpd-_a8g906.png-wh_50 "/>

Take a look at the effect

There is no running configuration, and when the Wanem configuration is run, the trailing drops are basically around 50%.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/83/D4/wKiom1d9vfrAiAoYAACBFy4lJ4U137.png-wh_500x0-wm_3 -wmp_4-s_3018897870.png "title=" 9.png "alt=" Wkiom1d9vfraiaoyaacbfy4lj4u137.png-wh_50 "/>

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/83/D2/wKioL1d9vgnxu5Q1AABVH6vN5oY857.png-wh_500x0-wm_3 -wmp_4-s_3677443166.png "title=" 10.png "alt=" Wkiol1d9vgnxu5q1aabvh6vn5oy857.png-wh_50 "/>

!!! When the virtual machine restarts, all configurations are emptied, so there is no need to worry about the test environment affecting the office environment.

2016/7/6


This article from "hard 72 difficult to laugh 81 change" blog, please be sure to keep this source http://10237709.blog.51cto.com/10227709/1811956

Installation and use of Wanem network simulator

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.