I try to setup WANEM for an asynchronous use case without any success. My problem. The direction from client to server the rules working but for the direction from server to client no rules working. I hope you can help me to get it work.
The use case:
A test client should use an web application on a test-server. I want to know the usability of the web application under conditions of a slow connection.
As first example I would test a connection of 512Kbit down /128Kbit up
Definition:
Downstream = the direction from server to client Upstream = the direction from client to server
Setup:
Three physical machines
1x client IP: 192.168.0.30
1x server IP: 192.168.0.200
1x wanem IP: 192.168.0.49 (eth0) / 192.168.0.46 (eth1)
My intention is to use
eth0 as interface to the server (or to WAN)
eth1 as interface to the client (to local network)
I "assign" 192.168.0.200 to eth0 and the client to eth1.The mapping was successfully added to the routing table.
All machines and NICs are connected to the same switch
A route was added to the client to use 192.168.0.46 as gateway to access 192.168.0.200
Test:
For the setup test I try to send a large file to the server and read a large file from server.
In both cases the client init the transfer.
Send the file to server works as expected (goes with 74Kbytes/s), but downloading a file will proceed with the full speed.
It looks like that the rule from eth1 doesn't do anything
Have you any idea whats wrong in my configuration?
Thanks in advance
Stefan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hallo at all,
I try to setup WANEM for an asynchronous use case without any success. My problem. The direction from client to server the rules working but for the direction from server to client no rules working. I hope you can help me to get it work.
The use case:
A test client should use an web application on a test-server. I want to know the usability of the web application under conditions of a slow connection.
As first example I would test a connection of 512Kbit down /128Kbit up
Definition:
Downstream = the direction from server to client Upstream = the direction from client to server
Setup:
Three physical machines
1x client IP: 192.168.0.30
1x server IP: 192.168.0.200
1x wanem IP: 192.168.0.49 (eth0) / 192.168.0.46 (eth1)
My intention is to use
eth0 as interface to the server (or to WAN)
eth1 as interface to the client (to local network)
Advanced Rules:
Interface: eth0
Bandwidth: 512Kbits/s
WANem packet limit: 1000 qdisc packets
Bytes sent: Packets sent: Packets dropped:
Interface: eth1
Bandwidth: 128Kbits/s
WANem packet limit: 1000 qdisc packets
Bytes sent: Packets sent: Packets dropped:
I "assign" 192.168.0.200 to eth0 and the client to eth1.The mapping was successfully added to the routing table.
All machines and NICs are connected to the same switch
A route was added to the client to use 192.168.0.46 as gateway to access 192.168.0.200
Test:
For the setup test I try to send a large file to the server and read a large file from server.
In both cases the client init the transfer.
Send the file to server works as expected (goes with 74Kbytes/s), but downloading a file will proceed with the full speed.
It looks like that the rule from eth1 doesn't do anything
Have you any idea whats wrong in my configuration?
Thanks in advance
Stefan