LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   TAP devices and userspace network driver (https://www.linuxquestions.org/questions/linux-networking-3/tap-devices-and-userspace-network-driver-4175698745/)

mrmorphium 08-05-2021 06:56 AM

TAP devices and userspace network driver
 
Good day! Maybe someone has an idea or "food for thought" to my problem:

I want make a pseudo-bridge between a VM and a host in the userspace (both systems are linux). There is a genius implementation called ixy (https://github.com/emmericp/ixy) which is an userspace network driver. Now I want to send all traffic via ixy from a tap-device (guest) to the host's bridge and vice versa.

My problem now is: i can send and receive packages in both ways, but when I send something to the tap-device it does not process it properly. For example: the arp-table shows always "incomplete" for the tap-device, even though i become proper arp replys from the host's bridge.

Thanks in advance a have a nice day.

Best

mrmorphium 08-18-2021 08:29 AM

[SOLVED]
 
I have solved the problem for myself.
The problem was: I had a blocking call in my program (yes, I know I'm dumb :D) and now I can properly send packages. I was not aware of this blocking call, because I used rust which I used the first time.


All times are GMT -5. The time now is 07:40 PM.