emmericp / MoonGen

MoonGen is a fully scriptable high-speed packet generator built on DPDK and LuaJIT. It can saturate a 10 Gbit/s connection with 64 byte packets on a single CPU core while executing user-provided Lua scripts for each packet. Multi-core support allows for even higher rates. It also features precise and accurate timestamping and rate control.
MIT License
1.03k stars 234 forks source link

replay-pcap #291

Closed merveorakci12 closed 3 years ago

merveorakci12 commented 3 years ago

Hi, when ı try send pcap file for clien to server. İt can not send packet. root@lucky-X10SRA:/opt/MoonGen# ./build/MoonGen examples/pcap/replay-pcap.lua 1 bitcoin.pcap [INFO] Initializing DPDK. This will take a few seconds... EAL: Detected 20 lcore(s) EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:02:00.0 on NUMA socket 0 EAL: probe driver: 8086:1528 net_ixgbe EAL: using IOMMU type 1 (Type 1) EAL: PCI device 0000:02:00.1 on NUMA socket 0 EAL: probe driver: 8086:1528 net_ixgbe EAL: PCI device 0000:06:00.0 on NUMA socket 0 EAL: probe driver: 8086:1533 net_e1000_igb EAL: PCI device 0000:07:00.0 on NUMA socket 0 EAL: probe driver: 8086:1533 net_e1000_igb [INFO] Found 2 usable devices: Device 0: AC:1F:6B:AB:99:F2 (Intel Corporation Ethernet Controller 10-Gigabit X540-AT2) Device 1: AC:1F:6B:AB:99:F3 (Intel Corporation Ethernet Controller 10-Gigabit X540-AT2) PMD: ixgbe_dev_link_status_print(): Port 1: Link Down [INFO] Waiting for devices to come up... [INFO] Device 1 (AC:1F:6B:AB:99:F3) is up: 10000 MBit/s [INFO] 1 device is up. [INFO] Enqueued all packets, waiting for 10 seconds for queues to flush [Device: id=1] TX: 0.00 Mpps, 5 Mbit/s (5 Mbit/s with framing) [Device: id=1] TX: 0.00 Mpps, 0 Mbit/s (0 Mbit/s with framing) [Device: id=1] TX: 0.00 Mpps, 0 Mbit/s (0 Mbit/s with framing) [Device: id=1] TX: 0.00 Mpps, 0 Mbit/s (0 Mbit/s with framing) [Device: id=1] TX: 0.00 Mpps, 0 Mbit/s (0 Mbit/s with framing) [Device: id=1] TX: 0.00 Mpps, 0 Mbit/s (0 Mbit/s with framing) [Device: id=1] TX: 0.00 Mpps, 0 Mbit/s (0 Mbit/s with framing) [Device: id=1] TX: 0.00 Mpps, 0 Mbit/s (0 Mbit/s with framing) [Device: id=1] TX: 0.00 Mpps, 0 Mbit/s (0 Mbit/s with framing) [Device: id=1] TX: 0.00 Mpps, 0 Mbit/s (0 Mbit/s with framing) [Device: id=1] TX: 0.00 (StdDev 0.00) Mpps, 0 (StdDev 0) Mbit/s (0 Mbit/s with framing), total 637 packets with 583622 bytes (incl. CRC)

Are there any additional settings I need to make?