linux - Is it possible to build 5000 IP address on a single application? -


i asked build simulator pretend 5000 udp clients, each unique ip address.

can simulator pc application?if can, can build on windows, or linux.

or has build hardware only?

thanks

you can in software. there 2 different approaches:

  • use ip aliasing. ip aliasing, can create multiple virtual network interfaces map single physical interface. each interface has own ip address. create separate socket each address , send traffic on it. see post more details.
  • use raw sockets "forge" udp packets desired ip address. has disadvantage server cannot reply client, since there no network interface corresponding forged address. see this instructions on how craft udp packets using raw sockets.

Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -