In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
WANem
In the bidding control of the project, it is often necessary 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 usually built environment. It can now be implemented using third-party software WANem. WANem is another tool to simulate the network environment, including network delay, packet loss, jitter, data corruption, disorder and so on. You can install and configure directly with the iso image, if you configure Citrix NetScaler is a bit strikingly similar.
Installation environment
The requirement of WANem is very low, and the Workstation of PC,VMware needs to choose the bridge mode of the physical network card, XenServer.
It can be installed directly.
Installation steps
Directly mount the ISO file to install, WANem itself is a linux virtual machine, you need to configure IP address static or DHCP. After configuring the IP address, you can log in to the Web management interface in the browser. Http://192.168.1.42/WANem/ should pay attention to case.
Usage
After entering the system, the configuration page of WANem will be opened directly.
Basic Mode and Advanced Mode are mainly configured in local area network.
Basic Mode: simply configure the access rate and bandwidth of the network.
Advanced Mode: configure environments such as delay, packet loss, jitter, disorder, etc.
We can configure it directly in Advanced Mode.
Options for primary configuration
Delay: delay
Delay time represents the time of delay
Jitter represents the size of the jitter
Correlation represents the floating range of jitter size
Loss:
Loss (%) packet loss ratio
Floating range of Correlation packet loss ratio
Packet Reordering: out of order
Corruption: packet corruption
IP source address: source addr
IP source subnet: source address mask
IP dest address: destination addr
IP dest subnet: destination address mask
Test Topology
Client (VDI)-WANem----webServer (StoreFront)
There is a WANem between Client and Server, and the data of both sides need to go through WANem to make WANem control the two-way data flow.
The environments I tested were all in the same Vlan. So you don't need to configure a default route, just configure a route on the client and server.
Testing method
Test the communication between the VDI and the Web server on the corporate LAN:
The addresses of the two devices are Client 192.168.1.199 (VDI), Web Server 192.168.1.247 (Citrix StoreFront), and WANem 192.168.1.42.
In order for the data between Client and Server to pass through WANem, we need to manually configure a host route with the next hop pointing to WANem's IP. If you need to exaggerate the broadcast domain, you need to add a default route, and the next hop of the default route must point to the ip address of the WANem.
Client: route add192.168.1.247 mask 255.255.255.255 192.168.1.42
WEB-Server:route add 192.168.1.199 mask 255.255.255.255192.168.1.42
The purpose is to allow requests accessed by the client to be processed by WANem.
After setting up, first ping each other to see if they are all connected. No connection means that the host route is not set correctly. After setting up the route, you can test it below.
Simulation
Here we simulate packet loss in the 50% range, 10% delay in the 500ms range, and in the 100ms range.
Take a look at the effect
There is no running configuration in the front, and when you run the WANem configuration, the packet loss behind is basically around 50%.
!!! When the virtual machine is restarted, all configurations are cleared, so there is no need to worry about the test environment affecting the office environment.
2016-7-6
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.