We manually assigned correct IP to the vm1 and ping DHCP server in vm1. Ping fails and no packet can be captured by tcpdump.
1. Check the IP assigned to the VM:
openstack server show vm1
2. Manually assign IP to VM:
sudo ifconfig 192.168.101.108/24 up
3. Check DHCP namespace exist and DHCP server address
sudo ip netns
sudo ip netns exec $dhcp_namespace ifconfig
3. tcpdump in dhcp namespace:
sudo ip netns exec $dhcp_namespace tcpdump –i $tap_device
4. Ping DHCP server in VM:
ping 192.168.101.2
Based on above analysis, the vhostuser port doesn't work.
We manually assigned correct IP to the vm1 and ping DHCP server in vm1. Ping fails and no packet can be captured by tcpdump.
1. Check the IP assigned to the VM:
openstack server show vm1
2. Manually assign IP to VM:
sudo ifconfig 192.168.101.108/24 up
3. Check DHCP namespace exist and DHCP server address
sudo ip netns
sudo ip netns exec $dhcp_namespace ifconfig
3. tcpdump in dhcp namespace:
sudo ip netns exec $dhcp_namespace tcpdump –i $tap_device
4. Ping DHCP server in VM:
ping 192.168.101.2
Based on above analysis, the vhostuser port doesn't work.