Hi Bryan please note ZC is a kernel-bypass technology (kernel configuration is ignored) and zsend is generating synthetic packets with random IPs, thus in order to test zsend+zcount you should cross connect both ports using a patch cord.
Alfredo > On 25 Sep 2015, at 14:33, Bryan Fok <[email protected]> wrote: > > I am following the README.quickstart and trying to run: > > $ ./zcount -i zc:eth0 -c 1 > $ ./zsend -i zc:eth1 -c 2 > > > I am assuming i should able to see packet receive from zcount's printout, > when zsend is pumping packet out, but i only see 0 printout from zcount. > > I am not very good at network configuration, but could this be the routing > issue? If it is, please help correct me. > > > route: > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > default abc.hk.abc.n 0.0.0.0 UG 100 0 0 eth0 > link-local * 255.255.0.0 U 1000 0 0 eth1 > localnet * 255.255.255.0 U 0 0 0 eth0 > localnet * 255.255.255.0 U 0 0 0 eth1 > 224.0.0.0 * 240.0.0.0 U 0 0 0 eth0 > > ifconfig: > eth0 Link encap:Ethernet HWaddr 74:d0:2b:2c:06:23 > inet addr:192.168.122.140 Bcast:192.168.122.255 Mask:255.255.255.0 > inet6 addr: fe80::76d0:2bff:fe2c:623/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:109471 errors:0 dropped:0 overruns:0 frame:0 > TX packets:1513722 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:29824161 (29.8 MB) TX bytes:1186271256 (1.1 GB) > Interrupt:20 Memory:f7200000-f7220000 > > eth1 Link encap:Ethernet HWaddr 00:1b:21:25:05:13 > inet addr:192.168.122.40 Bcast:192.168.122.255 Mask:255.255.255.0 > UP BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > Interrupt:19 Memory:f71c0000-f71e0000 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:65536 Metric:1 > RX packets:5172 errors:0 dropped:0 overruns:0 frame:0 > TX packets:5172 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:406555 (406.5 KB) TX bytes:406555 (406.5 KB) > > B.R > Bryan > _______________________________________________ > Ntop-misc mailing list > [email protected] <mailto:[email protected]> > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
