ingds92
Posts: 38
Joined: Mon Mar 04, 2019 7:03 pm

share wifi to eth0 as a simple bridge and not in router mode

Thu Sep 16, 2021 2:42 pm

Hi all, I would like to use raspberry as internet bridge from wifi (input) to ethernet cable (output) as a switch. In particular I want that raspberry not work as a router assigning an ip to devices connected to lan but as a simple bridge and the device take the IP address from the modem. So I would like that works in passive mode. Online I found many tutorials to do this in active mode (raspberry take internet from wifi and give connection to eth0 but assign new ip to devices) and not works as I desire.

Can some help me?

trejan
Posts: 3726
Joined: Tue Jul 02, 2019 2:28 pm

Re: share wifi to eth0 as a simple bridge and not in router mode

Thu Sep 16, 2021 3:19 pm

You can't seamlessly bridge WiFi to Ethernet like that without an extension like WDS. It is a limitation of the WiFi protocol which is why the guides are making a separate subnet and doing NAT. The best you can do is a kludge involving MAC cloning but that only works if there is a single device on Ethernet.

ingds92
Posts: 38
Joined: Mon Mar 04, 2019 7:03 pm

Re: share wifi to eth0 as a simple bridge and not in router mode

Thu Sep 16, 2021 3:37 pm

I confirm there only one device on ethernet. How can I do as you suggested?


Return to “Networking and servers”