trex-core
trex-core copied to clipboard
ping fails after the service is enabled?
I have two devices. On one of them, when the service is enabled, the network adapter is missing and the other one cannot ping through it。 Equipment 1: root@snail:/home/snail/v2.87# cat /etc/trex_cfg.yaml
- version: 2 interfaces: ['09:00.0', 'dummy'] port_info: - ip: 192.168.1.2 default_gw: 192.168.1.1 platform: master_thread_id: 0 latency_thread_id: 1 dual_if: - socket: 0 threads: [2,3]
root@snail:/home/snail/v2.87# ./dpdk_setup_ports.py -s Network devices using DPDK-compatible driver
0000:09:00.0 'Ethernet Connection X553 10 GbE SFP+' drv=igb_uio unused=ixgbe,vfio-pci,uio_pci_generic
Network devices using kernel driver
0000:02:00.0 'Ethernet Controller I225-V' if=enp2s0 drv=igc unused=igb_uio,vfio-pci,uio_pci_generic Active 0000:03:00.0 'Ethernet Controller I225-V' if=enp3s0 drv=igc unused=igb_uio,vfio-pci,uio_pci_generic 0000:06:00.0 'Ethernet Controller I225-V' if=enp6s0 drv=igc unused=igb_uio,vfio-pci,uio_pci_generic 0000:07:00.0 'Ethernet Controller I225-V' if=enp7s0 drv=igc unused=igb_uio,vfio-pci,uio_pci_generic 0000:08:00.0 'Ethernet Controller I225-V' if=enp8s0 drv=igc unused=igb_uio,vfio-pci,uio_pci_generic 0000:09:00.1 'Ethernet Connection X553 10 GbE SFP+' if=eno2 drv=ixgbe unused=igb_uio,vfio-pci,uio_pci_generic
Other network devices
0000:05:00.0 'Device 15fd' unused=igc,igb_uio,vfio-pci,uio_pci_generic
Equipment 2: root@snail:/home/snail# ifconfig eno1 eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::6aed:a4ff:fe31:bafa prefixlen 64 scopeid 0x20 ether 68:ed:a4:31:ba:fa txqueuelen 1000 (Ethernet) RX packets 331205711 bytes 366005999760 (366.0 GB) RX errors 0 dropped 465509878 overruns 0 frame 0 TX packets 78378049 bytes 92622857298 (92.6 GB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@snail:/home/snail# ping 192.168.1.2 PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data. From 192.168.1.1 icmp_seq=9 Destination Host Unreachable From 192.168.1.1 icmp_seq=10 Destination Host Unreachable From 192.168.1.1 icmp_seq=11 Destination Host Unreachable From 192.168.1.1 icmp_seq=12 Destination Host Unreachable From 192.168.1.1 icmp_seq=13 Destination Host Unreachable From 192.168.1.1 icmp_seq=14 Destination Host Unreachable From 192.168.1.1 icmp_seq=15 Destination Host Unreachable From 192.168.1.1 icmp_seq=16 Destination Host Unreachable From 192.168.1.1 icmp_seq=17 Destination Host Unreachable From 192.168.1.1 icmp_seq=18 Destination Host Unreachable From 192.168.1.1 icmp_seq=19 Destination Host Unreachable From 192.168.1.1 icmp_seq=20 Destination Host Unreachable From 192.168.1.1 icmp_seq=21 Destination Host Unreachable From 192.168.1.1 icmp_seq=22 Destination Host Unreachable From 192.168.1.1 icmp_seq=23 Destination Host Unreachable From 192.168.1.1 icmp_seq=24 Destination Host Unreachable From 192.168.1.1 icmp_seq=25 Destination Host Unreachable From 192.168.1.1 icmp_seq=26 Destination Host Unreachable ^C --- 192.168.1.2 ping statistics --- 27 packets transmitted, 0 received, +18 errors, 100% packet loss, time 26603ms pipe 4