Hello,
I am working with 2 AGX Orin systems right now and I am trying to set up communication between the devices using the provided virtual ethernet connection on usb. I am able to get some kind of connection established and I am able to ping both devices, but when I try to open a UDP socket connection between the devices, I am not able to establish any communication. I will describe the devices and their configurations below, and then describe the problem in more detail.
I have 2 devices which I will call Orin A and Orin B. Orin A is connected by the USB C connector next to the 40-pin header, and in this current configuration is meant to act as the “device”. Orin B is connected by one of the USB A ports next to the 40-pin header and should act as the “host”. On Orin A, running the “ifconfig” command shows that the following interfaces are available with IP addresses:
- l4tbr0: 192.168.55.1
- rndis0: no IP configured
- usb0: no IP configured
and on Orin B:
- rndis0: no IP configured
- usb0: no IP configured
- usb1: no IP configured
- usb2: 192.168.55.100
I have not done anything specific to configure these interfaces and they are all set up by simply plugging in the USB C cable from one device to another. From either device I am able to ping the other device’s IP address and I see a response.
The problem I am seeing is when I use a simple example of a udp client/server ( UDP Client Server using connect | C implementation - GeeksforGeeks) to test if I can communicate between the two systems, I do not see any of the messages being sent. Furthermore, if I use Wireshark to try and detect the packets on the network interface, I also do not see them. I basically only see DHCP messages between the devices, DNS queries and ARP broadcasts. Most of these communications, if they do not route directly to the other device, are directed to an address of 8.8.8.8.
My question is: Is some further configuration needed on the network interfaces or devices to enable socket communication over this virtual ethernet interface? Do I need to do something specific to enable routing of packets between the devices, or any other network configuration to work around this issue?
Best,
Noah