Thank you for posting in Wired Communities. Can you clarify information below, so that I can better check for you.
1) Please confirm which Intel Ethernet QSFP+cable you used based on the product brief at https://www.intel.com/content/www/us/en/ethernet-products/optics-cables/ethernet-qsfp-cables-brief.html?_ga=2.184996521.1656146034.1518744674-1105153325.1509933445
2) What is the operating system?
3) How did you configure the IP setting? Did you configure it obtain IP address automatically (if you are using Windows OS) and connect to a DHCP server?
4) Please provide more information about your setup e.g. which device this XL710QDA2 is connected to.
Looking forward to your reply. Thank you.
Thanks for your message.
1) My Ethernet QSFP+ cable is based on the product brief (Intel Ethernet QSFP+, XLDACBL#).
2) My OS is Ubuntu 16.4
3) Now it is set to obtain IP address automatically. But it does not get any. when I issue ifconfig command it shows that it just has IPv6 address.
4) It is connected to an Ubuntu PC and the i4e driver is loaded properly and the NIC's lights are up, which means it is ready to use. But I do not why I can not send packets through it using Scapy software.
Thank you for the information. Please refer to information below:
1) Please ensure your Ubuntu PC connects to a DHCP server which can allocate IP address.
2) Is this the driver you installed? https://downloadcenter.intel.com/download/24411/Intel-Network-Adapter-Driver-for-PCIe-40-Gigabit-Ethernet-Network-Connections-Under-Linux-?product=75021
3) Have you tried assigning static IP address?
4) Which port did you see when you run the ifconfig? Eth0 or Eth1?
5) Please try referring to the steps in our README file about the driver installation at https://downloadmirror.intel.com/24411/eng/readme.txt
Refer to the Building and Installation section. ( I have extracted here for your reference:)
To build a binary RPM* package of this driver, run 'rpmbuild -tb
i40e-<x.x.x>.tar.gz', where <x.x.x> is the version number for the driver tar
Note: For the build to work properly, the currently running kernel MUST match
the version and configuration of the installed kernel sources. If you have just
recompiled the kernel reboot the system before building.
Note: RPM functionality has only been tested in Red Hat distributions.
1. Move the base driver tar file to the directory of your choice. For
example, use '/home/username/i40e' or '/usr/local/src/i40e'.
2. Untar/unzip the archive, where <x.x.x> is the version number for the
driver tar file:
tar zxf i40e-<x.x.x>.tar.gz
3. Change to the driver src directory, where <x.x.x> is the version number
for the driver tar:
4. Compile the driver module:
# make install
The binary will be installed as:
The install location listed above is the default location. This may differ
for various Linux distributions.
NOTE: To gather and display additional statistics, use the
I40E_ADD_PROBES pre-processor macro:
Please note that this additional statistics gathering can impact
5. Load the module using the modprobe command:
modprobe <i40e> [parameter=port1_value,port2_value]
Make sure that any older i40e drivers are removed from the kernel before
loading the new module:
rmmod i40e; modprobe i40e
6. Assign an IP address to the interface by entering the following,
where ethX is the interface name that was shown in dmesg after modprobe:
ip address add <IP_address>/<netmask bits> dev ethX
7. Verify that the interface works. Enter the following, where IP_address
is the IP address for another machine on the same subnet as the interface
that is being tested:
Note: For certain distributions like (but not limited to) RedHat Enterprise
Linux 7 and Ubuntu, once the driver is installed the initrd/initramfs file may
need to be updated to prevent the OS loading old versions of the i40e driver.
The dracut utility may be used on RedHat distributions:
# dracut --force
# update-initramfs -u
Please feel free to update me.
Please help clarify if you encountered similar issue with other means of connectivity test like PING? Since you mentioned cannot send packet using Scapy software which we want to know if this only occur if using Scapy software.
Let me know also if you have tried assigning static IP and if this will work.