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.04k stars 234 forks source link

./bind-interface.sh problem #279

Open najamsaleem opened 4 years ago

najamsaleem commented 4 years ago

I am facing a problem when i try to run this command './bind-interface.sh'

insmod: ERROR: could not insert module ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko: required key not avilable along with some 'couldnot find any inactive interfaces...' 'delete ip address...' 'you can also use...'

previously when i use ./build.sh command it downloaded the dpdk directory but there was 'kmod' and 'igb_uio.ko' file missing.

I want to install this on debian with one free interface of 10gigs

emmericp commented 4 years ago

Please post the last few lines of your kernel log, it contains the actual error message

najamsaleem notifications@github.com:

 I am facing a problem when i try to run this command './bind-interface.sh'

insmod: ERROR: could not insert module ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko: required key not avilable along with some 'couldnot find any inactive interfaces...' 'delete ip address...' 'you can also use...'

previously when i use ./build.sh command it downloaded the dpdk directory but there was 'kmod' and 'igb_uio.ko' file missing.

I want to install this on debian with one free interface of 10gigs

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

najamsaleem commented 4 years ago

Here are the last few lines of kernel log:

Jun 23 00:00:11 user rsyslogd: [origin software="rsyslogd" swVersion="8.1901.0" x-pid="686" x-info="https://www.rsyslog.com"] rsyslogd was HUPed Jun 23 00:00:11 user systemd[1]: logrotate.service: Succeeded. Jun 23 00:00:11 user systemd[1]: Started Rotate log files. Jun 23 00:00:11 user systemd[1]: man-db.service: Succeeded. Jun 23 00:00:11 user systemd[1]: Started Daily man-db regeneration. Jun 23 00:00:23 user dhclient[32234]: DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 9 Jun 23 00:00:29 user NetworkManager[685]: [1592888429.4360] dhcp4 (enp3s0): request timed out Jun 23 00:00:29 user NetworkManager[685]: [1592888429.4361] dhcp4 (enp3s0): state changed unknown -> timeout Jun 23 00:00:29 user NetworkManager[685]: [1592888429.4528] dhcp4 (enp3s0): canceled DHCP transaction, DHCP client pid 32234 Jun 23 00:00:29 user NetworkManager[685]: [1592888429.4528] dhcp4 (enp3s0): state changed timeout -> done Jun 23 00:00:29 user NetworkManager[685]: [1592888429.4533] device (enp3s0): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed') Jun 23 00:00:29 user NetworkManager[685]: [1592888429.4546] device (enp3s0): Activation: failed for connection 'MoonGen' Jun 23 00:00:29 user NetworkManager[685]: [1592888429.4552] device (enp3s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed') Jun 23 00:00:29 user avahi-daemon[676]: Withdrawing address record for fe80::e36b:1fdc:3068:854f on enp3s0. Jun 23 00:00:29 user avahi-daemon[676]: Leaving mDNS multicast group on interface enp3s0.IPv6 with address fe80::e36b:1fdc:3068:854f. Jun 23 00:00:29 user avahi-daemon[676]: Interface enp3s0.IPv6 no longer relevant for mDNS. Jun 23 00:00:29 user avahi-daemon[676]: Withdrawing address record for 192.168.50.93 on enp3s0. Jun 23 00:00:29 user avahi-daemon[676]: Leaving mDNS multicast group on interface enp3s0.IPv4 with address 192.168.50.93. Jun 23 00:00:29 user NetworkManager[685]: [1592888429.4590] policy: auto-activating connection 'MoonGen' (ad7371f8-8352-419d-bee4-05d9cdeaeb83) Jun 23 00:00:29 user avahi-daemon[676]: Interface enp3s0.IPv4 no longer relevant for mDNS. Jun 23 00:00:29 user NetworkManager[685]: [1592888429.4593] device (enp3s0): Activation: starting connection 'MoonGen' (ad7371f8-8352-419d-bee4-05d9cdeaeb83) Jun 23 00:00:29 user NetworkManager[685]: [1592888429.4594] device (enp3s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed') Jun 23 00:00:29 user NetworkManager[685]: [1592888429.4596] device (enp3s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed') Jun 23 00:00:29 user NetworkManager[685]: [1592888429.4604] device (enp3s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed') Jun 23 00:00:29 user NetworkManager[685]: [1592888429.4606] dhcp4 (enp3s0): activation: beginning transaction (timeout in 45 seconds) Jun 23 00:00:29 user NetworkManager[685]: [1592888429.4612] dhcp4 (enp3s0): dhclient started with pid 32251 Jun 23 00:00:29 user avahi-daemon[676]: Joining mDNS multicast group on interface enp3s0.IPv4 with address 192.168.50.93. Jun 23 00:00:29 user avahi-daemon[676]: New relevant interface enp3s0.IPv4 for mDNS. Jun 23 00:00:29 user avahi-daemon[676]: Registering new address record for 192.168.50.93 on enp3s0.IPv4. Jun 23 00:00:29 user avahi-daemon[676]: Joining mDNS multicast group on interface enp3s0.IPv6 with address fe80::e36b:1fdc:3068:854f. Jun 23 00:00:29 user avahi-daemon[676]: New relevant interface enp3s0.IPv6 for mDNS. Jun 23 00:00:29 user avahi-daemon[676]: Registering new address record for fe80::e36b:1fdc:3068:854f on enp3s0.*. Jun 23 00:00:29 user dhclient[32251]: DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 7 Jun 23 00:00:36 user dhclient[32251]: DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 12 Jun 23 00:00:48 user dhclient[32251]: DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 21 Jun 23 00:01:09 user dhclient[32251]: DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 14 Jun 23 00:01:14 user NetworkManager[685]: [1592888474.4361] dhcp4 (enp3s0): request timed out Jun 23 00:01:14 user NetworkManager[685]: [1592888474.4362] dhcp4 (enp3s0): state changed unknown -> timeout Jun 23 00:01:14 user NetworkManager[685]: [1592888474.4691] dhcp4 (enp3s0): canceled DHCP transaction, DHCP client pid 32251 Jun 23 00:01:14 user NetworkManager[685]: [1592888474.4691] dhcp4 (enp3s0): state changed timeout -> done Jun 23 00:01:14 user NetworkManager[685]: [1592888474.4696] device (enp3s0): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed') Jun 23 00:01:14 user NetworkManager[685]: [1592888474.4709] device (enp3s0): Activation: failed for connection 'MoonGen' Jun 23 00:01:14 user NetworkManager[685]: [1592888474.4715] device (enp3s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed') Jun 23 00:01:14 user avahi-daemon[676]: Withdrawing address record for fe80::e36b:1fdc:3068:854f on enp3s0. Jun 23 00:01:14 user avahi-daemon[676]: Leaving mDNS multicast group on interface enp3s0.IPv6 with address fe80::e36b:1fdc:3068:854f. Jun 23 00:01:14 user avahi-daemon[676]: Interface enp3s0.IPv6 no longer relevant for mDNS. Jun 23 00:01:14 user avahi-daemon[676]: Withdrawing address record for 192.168.50.93 on enp3s0. Jun 23 00:01:14 user avahi-daemon[676]: Leaving mDNS multicast group on interface enp3s0.IPv4 with address 192.168.50.93.