Hello everyone,

I am trying to get Tcpreplay to work with FreeBSD 7.2. I've successfully
installed the tool but when I attempt to run this command:

$ tcpreplay  -l 1 -p 2500 -i nfe0 -I nfe1 -c cache.prep my_dataset.pcap

I get the following error:

"Fatal Error: Invalid interface name/alias: nfe0"

If I do a ifconfig, the following information is shown:

nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
        ether 00:1e:8c:b1:de:91
        inet 192.168.1.111 netmask 0xffffff00 broadcast 192.168.1.255
        media: Ethernet autoselect (100baseTX <full-duplex,flag0,flag1>)
        status: active
nfe1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
        ether 00:1e:8c:b1:e3:4f
        inet 192.168.1.112 netmask 0xffffff00 broadcast 192.168.1.255
        media: Ethernet autoselect (100baseTX <full-duplex,flag0,flag1>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000

As far as I can tell, the aliases for my two network interface cards are
correct, so why is Tcpreplay not recognising them? Furthermore, I've used
the exact same command on a Linux distro (ubuntu) and it works perfectly
fine there (as long as I replace nfe0 and nfe1 with the aliases eth0 and
eth1 which is given in the Linux distro).  Can anyone tell me what I might
be doing wrong?

Thanks.

Owen.
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Tcpreplay-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to