On Sat, Jul 16, 2016 at 8:56 AM, Big Strong <fangtu...@gmail.com> wrote: > Hi, looking from wireshark, I can't find any information about the network > mask of the packets.
Correct. That info isn't in the packet. > So if tcpreplay can decide what is the network mask? No. > Or > should I assign the network mask to it? I want it the traffic to go through > the switch, so it is necessary to set the right netmask. As I said above, the netmask isn't recorded in the packet, so no it's not necessary to set the netmask in tcpreplay. If you want a Layer 3 device (generally we think of a "switch" as Layer 2) to forward a packet, then all that is necessary is that the source/dest IP's belong to the appropriate networks (which is a function of the netmask). Honestly, based on your questions, I'd highly recommend going to your local library or used book store and picking up a copy of TCP/IP Illustrated Vol 1 and reading up on networking. Good luck! -- Aaron Turner https://synfin.net/ Twitter: @synfinatic Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Tcpreplay-users mailing list Tcpreplay-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support