Hi Support,
I’m currently trying to install ProSBC lab version 3.3.12.53 in a KVM env. I buy a virtual machine with 2 NICs, one is for mgmt, the other is for data/voip and role is LAN/WAN. ProSBC can identify 2 NICs initially, but once I restart the host, it shows voip0 is down.
I checked the result of ”lspci -vvv | grep -i Ether -A 25” it is showing the first ethernet card is using “Kernel driver in use: virtio-pci”, and the second card is using “Kernel driver in use: igb_uio“ which means it is managed by DPDK, and then I check the logs of tboam_app, it is showing:
25th, 08:15:32.326+0000 TBLV2 HCTL: [ip interface] "voip0" : Sending command /lib/tb/toolpack/pkg//3.3.12.53/scripts/network_resource.rb ip-interface --create --name voip0 --physdev voip0 --dhcp --onboot
25th, 08:15:32.355+0000 TBMSG HCTL: ruby: voip0: error fetching interface information: Device not found
25th, 08:15:32.356+0000 TBMSG HCTL: ruby: [FAIL] No MAC found /lib/tb/toolpack/pkg/3.3.12.53/scripts/host_ip_interface.rb:509:in `get_mac_from_ifconfig'/lib/tb/toolpack
25th, 08:15:32.356+0000 TBMSG HCTL: ruby: /pkg/3.3.12.53/scripts/host_ip_interface.rb:520:in `get_available_mac'/lib/tb/toolpack/pkg/3.3.12.53/scripts/host_ip_interface.
and then i check the get_mac_from_ifconfig function in host_ip_interface.rb script, it is showing using cmd “cmdresult = ifconfig -a #{device}“, that maybe the reason why it fails.
My QUESTION: since the sencond card is managed by DPDK, why it is still using “cmdresult = ifconfig -a #{device} “ to get mac?