Score:0

Gateway between Ethernet and WiFi adapters

cn flag

I'm trying to connect between 3 Ubuntu 18.04 devices (1 Laptop + 2 NVIDIA Jetson Nano) where the 1st Nano acting as the gateway between the 2nd Nano and Laptop.

Currently the 1st Nano have wlan0 10.42.0.1 acting as a WiFi Hotspot (for the Laptop) and eth0 10.42.1.1 Ethernet (for the 2nd Nano) and I can connect between:

[x] 1st Nano <-> Laptop 10.42.0.100

[x] 1st Nano <-> 2nd Nano 10.42.1.100

Also I can ping:

[x] Laptop to Ethernet default gateway 10.42.1.1

[x] 2nd Nano to WiFi default gateway 10.42.0.1

[ ] but not Laptop (WiFi network) <-> 2nd Nano (Ethernet network)

How can I achieve this using NetworkManager or nmtui or any command?

Edit:

After enable IPv4_forward for both WiFi & Ethernet interfaces in NetworkManager, I can now ping from 2nd Nano to the Laptop directly. Although, it's still unidirectional and I cannot ping from Laptop to 2nd Nano.

Nmath avatar
ng flag
What does this have to do with Ubuntu? This sounds like a networking question. Edit your question and tell us about the problem you are experiencing with Ubuntu. Otherwise, this question seems to be off-topic.
ru flag
this has everything to do with the rules and NAT on your first device permitting cross-network talking. But, what does this have to do with Ubuntu? This sounds like a pure networking/firewall question not an Ubuntu one
TN71 avatar
cn flag
I agree the question can be phrased better to find solution using Ubuntu Network Manager. Edited.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.