--
--
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
---
You received this message because you are subscribed to the Google Groups "Linux User Group @ IIT Delhi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iitdlug+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If it is the former, you can consider using multiple Docker
containers. But, if you really need to to test network routing logic,
then you can spawn multiple VMs and test the same. Search for Vagrant
and Terraform.
---
| That setup is explained
| at https://gist.github.com/pocha/1adbd5e6ab01176ba4608937b94dd272
|
| Most of the changes are related to configuration.
\--
Do you use any IT automation software (Chef, Ansible, SaltStack,
Puppet, etc.) for deploying your changes?
To unsubscribe from this group and stop receiving emails from it, send an email to iitdlug+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Regards
Tavish Naruka
ab is a relevant tool to stress test webserver.What I am looking for is similar tool to stress test a router which includes following steps :-1. A network client connection simulation which will trigger DHCP address allocation by the router.2. Once DHCP is done, the client can now upload/download list of files (one by one) & log time taken to download. The idea is to be able to see how the router is behaving (effectively how much time taken on downloading certain files under how much load).The issue is - tools like 'ab' - only serve the http part. All the 'ab' instance will be like 1 single network client to the router & hence will not truly simulate the real situation.https://github.com/saravana815/dhtest is a way to force router to allocate IP to each of the running client through DHCP. So far so good. But the tool does not have tcp/ip or http stack integrated & I thought extending it would be logical step.What do you think ?
-B local-address
parameter
) to download your file (easily thousands of connections), time both of these operations. This _should_ simulate multiple clients I think.Hi Tavish
> You should still be able to hack together a script with tools like dhclient from busybox,
Small clarification. dhclient needs to run from outside the router. Like a laptop/PC connected to the network. dhclient can be compiled & run on any OS.
> create multiple virtual interfaces and get IPs for all of them with DHCP using dhclient, once you get an IP use ab (it looks like you can tell ab to bind to particular network address, which should make it connect from that address using the -B local-address parameter) to download your file (easily thousands of connections),
Question - someone else also suggested that the machine that is simulating multiple network clients will need multiple interfaces - like one interface per client. Is this a mandatory thing ? dhclient does not need multiple interface to complete dhcp process but the http stack might.
Also - would not the system be limited by the number of interfaces my machine could support. Theoretically, a linux machine can have 1024 interfaces but does anybody has practically tried creating (& eventually using) multiple such interfaces on their laptop & see how many such interfaces they could create.
>
> --
> Regards
> Tavish Naruka
>
> --
> --
> Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
>
> ---
> You received this message because you are subscribed to a topic in the Google Groups "Linux User Group @ IIT Delhi" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/iitdlug/XDmbQ7WOqao/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to iitdlug+unsubscribe@googlegroups.com.
Hi Ashish,
--- On Tue, Oct 18, 2016 at 9:49 PM, Ashish Sharma
<pocha....@gmail.com> wrote:
| I am not a Docker/VM expert - but I dont think using the above approach, I
| will be able to spawn 100s or 1000s of clients as it would be constrained by
| system resource to spawn each of these VM/Docker.
\--
You can. It depends on your hardware.
---
| I am guessing there is a lightweight way to get it done. If you look at
| https://github.com/saravana815/dhtest it is able to act as standalone DHCP
| client without needing any of separate interface or virtualization which has
| got me interested. Hence I am more interested going this route.
\--
I am still not sure what parts of the networking stack you want to
test. If dhtest addresses your needs, then by all means use it.
---
| Openwrt has a way to separately plug only configuration through the router
| dashboard. Anything which is user specific, our user could download that
| from our site & then upload on his router. From the above change about
| launching a wizard, we are trying to automate this part.
\--
Seriously, use this opportunity to learn an IT automation tool for
configuration and deployments. It will help you in the long run. For a
start:
https://github.com/lefant/ansible-openwrt
Hi,
--- On Wed, Oct 19, 2016 at 3:08 PM, Ashish Sharma
<pocha....@gmail.com> wrote:
| What is the maximum number of Dockers you have practically run on a
| laptop/PC. Also let me know the configuration of the PC to get an idea.
\--
As I had mentioned, it depends on hardware and your requirement.