Hi,
I'm trying to replay a pcap file on an interface which is not connected (just for test purposes).
Actually there is 1 optical interface and 1 ethernet interface which I use.
But the problem is the same... nothing gets really written to the interfaces (see below).
I suspect that replaying to an "open" port is not possible.
Or is there some other problem?
Thanks in advance for any help!
Regards,
Marcel
-------------------------------------------------------------------
Optical: eno1
-------------------------------------------------------------------
Command:
sudo /usr/local/bin/disk2n -v -i eno1 -u replay -f /home/replay/Data/test_1
Result:
04/May/2017 13:54:31 [disk2n.c:2412] Welcome to disk2n v.2.7.170308 (r4774) [Haswell]
04/May/2017 13:54:31 [disk2n.c:2419] WARNING: Forcing chunk len to 1MB to optimise .npcap files decompression
04/May/2017 13:54:31 [disk2n.c:2439] Reading data in 1024 KB chunks
04/May/2017 13:54:31 [disk2n.c:2440] Allocating 64 MB buffer memory...
04/May/2017 13:54:32 [disk2n.c:2491] Memory allocated successfully
04/May/2017 13:54:32 [disk2n.c:1863] Using PF_RING v.6.5.0
04/May/2017 13:54:32 [disk2n.c:1874] Transmission statistics on /proc/net/pf_ring/stats/33043-eno1.109
04/May/2017 13:54:32 [disk2n.c:1884] Created PF_RING socket for transmission on device eno1
04/May/2017 13:54:32 [disk2n.c:2527] Starting time pulse thread
04/May/2017 13:54:32 [disk2n.c:2534] Starting sender thread...
04/May/2017 13:54:32 [disk2n.c:2543] Starting pcap packet reader thread...
04/May/2017 13:54:34 [disk2n.c:219] disk2n changed user to replay
04/May/2017 13:54:35 [disk2n.c:1314] [reader] thread started
04/May/2017 13:54:35 [disk2n.c:1474] [time-pulse] thread started..
04/May/2017 13:54:35 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:35 [disk2n.c:1377] [reader] Read throughput: [19350830 bytes/0.053 sec][2.92 Gbit]
04/May/2017 13:54:35 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:35 [disk2n.c:1377] [reader] Read throughput: [19350830 bytes/0.050 sec][3.10 Gbit]
04/May/2017 13:54:35 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:35 [disk2n.c:1377] [reader] Read throughput: [19350830 bytes/0.051 sec][3.04 Gbit]
04/May/2017 13:54:35 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:35 [disk2n.c:1227] [reader] waiting.. (buffer full) :-)
04/May/2017 13:54:35 [disk2n.c:1648] [sender] thread started..
04/May/2017 13:54:36 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:36 [disk2n.c:1227] [reader] waiting.. (buffer full) :-)
04/May/2017 13:54:37 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:37 [disk2n.c:1227] [reader] waiting.. (buffer full) :-)
^C04/May/2017 13:54:37 [disk2n.c:351] Caught termination signal 2
04/May/2017 13:54:37 [disk2n.c:1380] [reader] Read error (6291456)
04/May/2017 13:54:37 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:37 [disk2n.c:352] Waiting thread termination...
04/May/2017 13:54:37 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:37 [disk2n.c:1429] [reader] thread terminated
04/May/2017 13:54:37 [disk2n.c:1507] [time-pulse] thread terminated
04/May/2017 13:54:37 [disk2n.c:2578] Reader thread terminated
04/May/2017 13:54:37 [disk2n.c:1818] [sender] thread terminated
04/May/2017 13:54:37 [disk2n.c:2582] Sender thread terminated
04/May/2017 13:54:37 [disk2n.c:2586] Time thread terminated
Interface:
[root@gimli replay]# ifconfig eno1
eno1: flags=4355<UP,BROADCAST,PROMISC,MULTICAST> mtu 1500
inet 10.10.10.1 netmask 255.255.255.255 broadcast 10.10.10.1
ether 38:ea:a7:10:9f:f4 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
-------------------------------------------------------------------
Ethernet: ens3f3
-------------------------------------------------------------------
Command:
sudo /usr/local/bin/disk2n -v -i ens3f3 -u replay -f /home/replay/Data/test_1
Result:
04/May/2017 13:54:17 [disk2n.c:2412] Welcome to disk2n v.2.7.170308 (r4774) [Haswell]
04/May/2017 13:54:17 [disk2n.c:2419] WARNING: Forcing chunk len to 1MB to optimise .npcap files decompression
04/May/2017 13:54:17 [disk2n.c:2439] Reading data in 1024 KB chunks
04/May/2017 13:54:17 [disk2n.c:2440] Allocating 64 MB buffer memory...
04/May/2017 13:54:17 [disk2n.c:2491] Memory allocated successfully
04/May/2017 13:54:17 [disk2n.c:1863] Using PF_RING v.6.5.0
04/May/2017 13:54:17 [disk2n.c:1874] Transmission statistics on /proc/net/pf_ring/stats/33030-ens3f3.108
04/May/2017 13:54:17 [disk2n.c:1884] Created PF_RING socket for transmission on device ens3f3
04/May/2017 13:54:17 [disk2n.c:2527] Starting time pulse thread
04/May/2017 13:54:17 [disk2n.c:2534] Starting sender thread...
04/May/2017 13:54:17 [disk2n.c:2543] Starting pcap packet reader thread...
04/May/2017 13:54:19 [disk2n.c:219] disk2n changed user to replay
04/May/2017 13:54:20 [disk2n.c:1314] [reader] thread started
04/May/2017 13:54:20 [disk2n.c:1474] [time-pulse] thread started..
04/May/2017 13:54:20 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:20 [disk2n.c:1377] [reader] Read throughput: [19350830 bytes/0.050 sec][3.10 Gbit]
04/May/2017 13:54:20 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:20 [disk2n.c:1377] [reader] Read throughput: [19350830 bytes/0.050 sec][3.10 Gbit]
04/May/2017 13:54:20 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:20 [disk2n.c:1377] [reader] Read throughput: [19350830 bytes/0.050 sec][3.10 Gbit]
04/May/2017 13:54:20 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:20 [disk2n.c:1227] [reader] waiting.. (buffer full) :-)
04/May/2017 13:54:20 [disk2n.c:1648] [sender] thread started..
04/May/2017 13:54:21 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:21 [disk2n.c:1227] [reader] waiting.. (buffer full) :-)
04/May/2017 13:54:22 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:22 [disk2n.c:1227] [reader] waiting.. (buffer full) :-)
^C04/May/2017 13:54:22 [disk2n.c:351] Caught termination signal 2
04/May/2017 13:54:22 [disk2n.c:1507] [time-pulse] thread terminated
04/May/2017 13:54:22 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:22 [disk2n.c:352] Waiting thread termination...
04/May/2017 13:54:22 [disk2n.c:1380] [reader] Read error (6291456)
04/May/2017 13:54:22 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:22 [disk2n.c:1429] [reader] thread terminated
04/May/2017 13:54:22 [disk2n.c:2578] Reader thread terminated
04/May/2017 13:54:22 [disk2n.c:1818] [sender] thread terminated
04/May/2017 13:54:22 [disk2n.c:2582] Sender thread terminated
04/May/2017 13:54:22 [disk2n.c:2586] Time thread terminated
Interface:
[root@gimli replay]# ifconfig ens3f3
ens3f3: flags=4355<UP,BROADCAST,PROMISC,MULTICAST> mtu 1500
inet 192.168.1.10 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::f6ce:46ff:fea5:d063 prefixlen 64 scopeid 0x20<link>
ether f4:ce:46:a5:d0:63 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xf7c80000-f7cfffff
-------------------------------------------------------------------
I'm trying to replay a pcap file on an interface which is not connected (just for test purposes).
Actually there is 1 optical interface and 1 ethernet interface which I use.
But the problem is the same... nothing gets really written to the interfaces (see below).
I suspect that replaying to an "open" port is not possible.
Or is there some other problem?
Thanks in advance for any help!
Regards,
Marcel
-------------------------------------------------------------------
Optical: eno1
-------------------------------------------------------------------
Command:
sudo /usr/local/bin/disk2n -v -i eno1 -u replay -f /home/replay/Data/test_1
Result:
04/May/2017 13:54:31 [disk2n.c:2412] Welcome to disk2n v.2.7.170308 (r4774) [Haswell]
04/May/2017 13:54:31 [disk2n.c:2419] WARNING: Forcing chunk len to 1MB to optimise .npcap files decompression
04/May/2017 13:54:31 [disk2n.c:2439] Reading data in 1024 KB chunks
04/May/2017 13:54:31 [disk2n.c:2440] Allocating 64 MB buffer memory...
04/May/2017 13:54:32 [disk2n.c:2491] Memory allocated successfully
04/May/2017 13:54:32 [disk2n.c:1863] Using PF_RING v.6.5.0
04/May/2017 13:54:32 [disk2n.c:1874] Transmission statistics on /proc/net/pf_ring/stats/33043-eno1.109
04/May/2017 13:54:32 [disk2n.c:1884] Created PF_RING socket for transmission on device eno1
04/May/2017 13:54:32 [disk2n.c:2527] Starting time pulse thread
04/May/2017 13:54:32 [disk2n.c:2534] Starting sender thread...
04/May/2017 13:54:32 [disk2n.c:2543] Starting pcap packet reader thread...
04/May/2017 13:54:34 [disk2n.c:219] disk2n changed user to replay
04/May/2017 13:54:35 [disk2n.c:1314] [reader] thread started
04/May/2017 13:54:35 [disk2n.c:1474] [time-pulse] thread started..
04/May/2017 13:54:35 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:35 [disk2n.c:1377] [reader] Read throughput: [19350830 bytes/0.053 sec][2.92 Gbit]
04/May/2017 13:54:35 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:35 [disk2n.c:1377] [reader] Read throughput: [19350830 bytes/0.050 sec][3.10 Gbit]
04/May/2017 13:54:35 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:35 [disk2n.c:1377] [reader] Read throughput: [19350830 bytes/0.051 sec][3.04 Gbit]
04/May/2017 13:54:35 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:35 [disk2n.c:1227] [reader] waiting.. (buffer full) :-)
04/May/2017 13:54:35 [disk2n.c:1648] [sender] thread started..
04/May/2017 13:54:36 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:36 [disk2n.c:1227] [reader] waiting.. (buffer full) :-)
04/May/2017 13:54:37 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:37 [disk2n.c:1227] [reader] waiting.. (buffer full) :-)
^C04/May/2017 13:54:37 [disk2n.c:351] Caught termination signal 2
04/May/2017 13:54:37 [disk2n.c:1380] [reader] Read error (6291456)
04/May/2017 13:54:37 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:37 [disk2n.c:352] Waiting thread termination...
04/May/2017 13:54:37 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:37 [disk2n.c:1429] [reader] thread terminated
04/May/2017 13:54:37 [disk2n.c:1507] [time-pulse] thread terminated
04/May/2017 13:54:37 [disk2n.c:2578] Reader thread terminated
04/May/2017 13:54:37 [disk2n.c:1818] [sender] thread terminated
04/May/2017 13:54:37 [disk2n.c:2582] Sender thread terminated
04/May/2017 13:54:37 [disk2n.c:2586] Time thread terminated
Interface:
[root@gimli replay]# ifconfig eno1
eno1: flags=4355<UP,BROADCAST,PROMISC,MULTICAST> mtu 1500
inet 10.10.10.1 netmask 255.255.255.255 broadcast 10.10.10.1
ether 38:ea:a7:10:9f:f4 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
-------------------------------------------------------------------
Ethernet: ens3f3
-------------------------------------------------------------------
Command:
sudo /usr/local/bin/disk2n -v -i ens3f3 -u replay -f /home/replay/Data/test_1
Result:
04/May/2017 13:54:17 [disk2n.c:2412] Welcome to disk2n v.2.7.170308 (r4774) [Haswell]
04/May/2017 13:54:17 [disk2n.c:2419] WARNING: Forcing chunk len to 1MB to optimise .npcap files decompression
04/May/2017 13:54:17 [disk2n.c:2439] Reading data in 1024 KB chunks
04/May/2017 13:54:17 [disk2n.c:2440] Allocating 64 MB buffer memory...
04/May/2017 13:54:17 [disk2n.c:2491] Memory allocated successfully
04/May/2017 13:54:17 [disk2n.c:1863] Using PF_RING v.6.5.0
04/May/2017 13:54:17 [disk2n.c:1874] Transmission statistics on /proc/net/pf_ring/stats/33030-ens3f3.108
04/May/2017 13:54:17 [disk2n.c:1884] Created PF_RING socket for transmission on device ens3f3
04/May/2017 13:54:17 [disk2n.c:2527] Starting time pulse thread
04/May/2017 13:54:17 [disk2n.c:2534] Starting sender thread...
04/May/2017 13:54:17 [disk2n.c:2543] Starting pcap packet reader thread...
04/May/2017 13:54:19 [disk2n.c:219] disk2n changed user to replay
04/May/2017 13:54:20 [disk2n.c:1314] [reader] thread started
04/May/2017 13:54:20 [disk2n.c:1474] [time-pulse] thread started..
04/May/2017 13:54:20 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:20 [disk2n.c:1377] [reader] Read throughput: [19350830 bytes/0.050 sec][3.10 Gbit]
04/May/2017 13:54:20 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:20 [disk2n.c:1377] [reader] Read throughput: [19350830 bytes/0.050 sec][3.10 Gbit]
04/May/2017 13:54:20 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:20 [disk2n.c:1377] [reader] Read throughput: [19350830 bytes/0.050 sec][3.10 Gbit]
04/May/2017 13:54:20 [disk2n.c:1359] [reader] reading pcap file /home/replay/Data/test_1
04/May/2017 13:54:20 [disk2n.c:1227] [reader] waiting.. (buffer full) :-)
04/May/2017 13:54:20 [disk2n.c:1648] [sender] thread started..
04/May/2017 13:54:21 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:21 [disk2n.c:1227] [reader] waiting.. (buffer full) :-)
04/May/2017 13:54:22 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:22 [disk2n.c:1227] [reader] waiting.. (buffer full) :-)
^C04/May/2017 13:54:22 [disk2n.c:351] Caught termination signal 2
04/May/2017 13:54:22 [disk2n.c:1507] [time-pulse] thread terminated
04/May/2017 13:54:22 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:22 [disk2n.c:352] Waiting thread termination...
04/May/2017 13:54:22 [disk2n.c:1380] [reader] Read error (6291456)
04/May/2017 13:54:22 [disk2n.c:303] [PF_RING] Total stats: 0 pkts sent
04/May/2017 13:54:22 [disk2n.c:1429] [reader] thread terminated
04/May/2017 13:54:22 [disk2n.c:2578] Reader thread terminated
04/May/2017 13:54:22 [disk2n.c:1818] [sender] thread terminated
04/May/2017 13:54:22 [disk2n.c:2582] Sender thread terminated
04/May/2017 13:54:22 [disk2n.c:2586] Time thread terminated
Interface:
[root@gimli replay]# ifconfig ens3f3
ens3f3: flags=4355<UP,BROADCAST,PROMISC,MULTICAST> mtu 1500
inet 192.168.1.10 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::f6ce:46ff:fea5:d063 prefixlen 64 scopeid 0x20<link>
ether f4:ce:46:a5:d0:63 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xf7c80000-f7cfffff
-------------------------------------------------------------------