Skip to content

Fatal Error: failed to open device ens1f1: Failure accessing netmap. #834

@KatherineJXY

Description

@KatherineJXY
r6@r6-PowerEdge-R740:~$ sudo tcpreplay --netmap -M 3000 -i ens1f1 /home/r6/scripts-bk/trace/univ1_trace/*
Switching network driver for ens1f1 to netmap bypass mode...
Fatal Error: failed to open device ens1f1: Failure accessing netmap.
        Request for netmap version 14 failed.
        Compiled netmap driver is version 14.
        Error=Invalid argument

I have tried multiple versions of both tcpreplay and netmap, however, I got the same answer.

More info:

r6@r6-PowerEdge-R740:~$ uname -a
Linux r6-PowerEdge-R740 5.15.0-78-generic #85~20.04.1-Ubuntu SMP Mon Jul 17 09:42:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
r6@r6-PowerEdge-R740:~$ tcpreplay -V
Warning: May need to run as root to get access to all network interfaces.
tcpreplay version: 4.4.4 (build git:v4.4.4)
Copyright 2013-2022 by Fred Klassen <tcpreplay at appneta dot com> - AppNeta
Copyright 2000-2012 by Aaron Turner <aturner at synfin dot net>
The entire Tcpreplay Suite is licensed under the GPLv3
Cache file supported: 04
Not compiled with libdnet.
Compiled against libpcap: 1.9.1
64 bit packet counters: enabled
Verbose printing via tcpdump: enabled
Packet editing: disabled
Fragroute engine: disabled
Default injection method: PF_PACKET send()
Optional injection method: netmap

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions