I have a network of four Xavier NX modules installed in a box with a built-in ethernet switch. Specifically, it’s this box from SeedStudio:
All four Jetsons run JetPack 4.6; all boot normally. I’ve configured all four to have static IP addresses 192.168.4.1, 192.168.4.2, 192.168.4.3, and 192.168.4.4 on their ethernet interfaces (eth0). They can all ping and ssh to each other through the SeedStudio box’s built-in ethernet switch. Cool!
Only one of the four NX modules (#1) has internet access. On module #1, internet is provided by a USB3-to-Wi-Fi dongle. I would like to share that internet connection with the other three NX modules in the box. This should be easy but I’ve had a devil of a time figuring out how.
Here’s what I’ve done.
On NX module #1 (with the USB3-to-WiFi adapter):
enabled IPv4 forwarding by un-commenting this line in
On NX module #2, #3, #4: (without internet access)
Set the gateway IP address (in
/etc/network/interfaces) to 192.168.4.1
I gather that my next step should be to “bridge” the eth0 and wlan0 interfaces on NX module #1. Every attempt I’ve made to do this has failed. I’ve based my attempts on instructions for a Raspberry Pi, here:
(Although please note, I am NOT trying to create a wireless access point on NX module #1’s wlan0 interface! I am just trying to share its wireless internet access, provided by my home router, with the other 3 NX modules ethernetted together inside the box.)
Despite much googling and prowling the NVidia developer forums, I’ve found no examples of a working configuration that bridges eth0 and wlan0 - so I still can’t share internet across my four-Xavier-NX network.
If it helps, on NX module #1, the wlan0 interface (corresponding to my USB3-to-WiFi adapter) gets IP address 192.168.0.4 from my home WiFi router via DHCP. This works consistently. The home router’s network (192.168.0.x) and the internal static IP ethernet network (192.168.4.x) are different, so I do not believe I have any problem with IP address conflicts.
Send in the troops!