Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4975

Networking and servers • NMCLI to Bridge Shared Connection?

$
0
0
New to more advanced networking, and struggling with trying to find a way to bridge the connection between my shared connection and my wifi/eth0 connection on my Raspberry Pi 5. I have the standard wifi0 and eth0 that are onboard, but also added a usb2eth nic (eth1). I have successfully shared my wifi0 and eth0 connections so if either of them have internet, than any device on eth1 can connect to the internet as well. The device connected on eth1 is receiving a 10.x.x.x address with a 10.x.x.1 gateway, while the wifi0 and eth0 are on my home network 192.x.x.x network. I was hoping that there was a way to bridge these so that the devices on my home network can see the device on eth1 with the 10.x.x.x address. Is this possible? Or do I need to do some port forwarding? Any help would be appreciated as I created the bridge, but obviously it did not work as I wanted or wouldn't be here asking questions. :D

I removed the bridge since it didn't work, and here is where I am at:
$ nmcli con show
NAME UUID TYPE DEVICE
Wired connection 1 0638fbff-42ed-3ea3-99b3-b615462c692c ethernet eth0
lo 0f1dafb0-e1a6-42c5-88d8-ce7d2e77ce9a loopback lo
shr0 3f977505-1eb7-4150-a5bd-1087fc8d9b9b ethernet --
Wifi connection 1 af93fafe-3bb2-47eb-ac03-bb38b121ffa6 wifi --
Wired connection 2 9f8bbeeb-dd76-3796-bdad-dea4d6a26431 ethernet --

I have tried searching, but just not quite finding what I am trying to do. Thank you for any assistance.

Statistics: Posted by MichRX7 — Tue Jun 18, 2024 11:01 am



Viewing all articles
Browse latest Browse all 4975

Trending Articles