You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2025. It is now read-only.
@rkamudhan@john
I am using your vhost-user-net-plugin for vpp-17.10, but met some problems when I use it to config the Vhost-user for K8s Pod, which leads the 2 container can not ping each other successfully:
For the vpp-config.py, the function
def configVhostPortRoute(port, containerIP, containerMAC):
1.1 For the command:
cmd = 'vppctl set int unnum {} use loop0'.format(port), I don't find a command to create the loop0 interface, is the loop0 should be created beforehand and what are the related configurations about it?
1.2 For the command:
cmd = 'vppctl show tap', it shows:
unknown input `vppctl show tap', so what are the commands about the "tap", so that the subsequent "ip link set " command can be executed?
For the created vpp container by this vhost-user-net-plugin, I see in the README.md:
"Run the VPP in a container A as follows"
" # vpp unix {log /tmp/vpp.log cli-listen 0.0.0.0:5002} api-trace { on }
dpdk {coremask 0x2 no-multi-seg no-pci singlefile 512 extra --vdev=virtio_user0,path=/vhost-user-net-plugin/4d578250ad8d760c0722be78badb4b4b6d57fed8f95dea23aaa0065aa8657b29/4d578250ad8d-net1,mac=e2:52:b5:7b:58:ad } cpu {skip-cores 1}"
" # vppctl set int state virtio_user0 up"
" # vppctl set int ip table virtio_user0 0"
Run the VPP in another container B and ping the Container A
" # vppctl ping 10.56.217.132"
And I do see a VirtioUser0/0/0 interface in the container's vpp, but I don't see how the IP address(10.56.217.131,10.56.217.132) are configured in the vpp, could you give a more detailed information about the configuration in the vpp container?
I tried to set the IP address on this VirtioUser0/0/0 interface, but it does not work. Could you give some introduction about your configuration here.
The text was updated successfully, but these errors were encountered:
@rkamudhan @john
I am using your vhost-user-net-plugin for vpp-17.10, but met some problems when I use it to config the Vhost-user for K8s Pod, which leads the 2 container can not ping each other successfully:
For the vpp-config.py, the function
def configVhostPortRoute(port, containerIP, containerMAC):
1.1 For the command:
cmd = 'vppctl set int unnum {} use loop0'.format(port), I don't find a command to create the loop0 interface, is the loop0 should be created beforehand and what are the related configurations about it?
1.2 For the command:
cmd = 'vppctl show tap', it shows:
unknown input `vppctl show tap', so what are the commands about the "tap", so that the subsequent "ip link set " command can be executed?
For the created vpp container by this vhost-user-net-plugin, I see in the README.md:
"Run the VPP in a container A as follows"
" # vpp unix {log /tmp/vpp.log cli-listen 0.0.0.0:5002} api-trace { on }
dpdk {coremask 0x2 no-multi-seg no-pci singlefile 512 extra --vdev=virtio_user0,path=/vhost-user-net-plugin/4d578250ad8d760c0722be78badb4b4b6d57fed8f95dea23aaa0065aa8657b29/4d578250ad8d-net1,mac=e2:52:b5:7b:58:ad } cpu {skip-cores 1}"
" # vppctl set int state virtio_user0 up"
" # vppctl set int ip table virtio_user0 0"
Run the VPP in another container B and ping the Container A
" # vppctl ping 10.56.217.132"
And I do see a VirtioUser0/0/0 interface in the container's vpp, but I don't see how the IP address(10.56.217.131,10.56.217.132) are configured in the vpp, could you give a more detailed information about the configuration in the vpp container?
I tried to set the IP address on this VirtioUser0/0/0 interface, but it does not work. Could you give some introduction about your configuration here.
The text was updated successfully, but these errors were encountered: