alexs77
Posts: 1
Joined: Thu Jul 18, 2019 8:31 am

Pi 4 router / DHCP server - AmazonBasics Ethernet USB 3.0 good?

Thu Jul 18, 2019 8:38 am

Hello

I'd like to use a Raspberry Pi 4 as a DHCP server and router to the internet. It will be connected to my cable modem with ethernet and to my Unifi APs also with ethernet. So I need to have 2+ ethernet ports.
Network Home (2).png
Home network setup
Network Home (2).png (178.47 KiB) Viewed 5495 times
That's how it kinda should look like.

Now, the Pi 4 has only 1 ethernet port. Would a USB 3.0 ethernet adapter like the https://www.amazon.de/AmazonBasics-Ethe ... B00M77HMU0 (AmazonBasics Ethernet-LAN-Netzwerkadapter, USB 3.0, 10/100/1.000 Mbit/s) work?

Thanks,
Alexander

epoch1970
Posts: 8055
Joined: Thu May 05, 2016 9:33 am
Location: France

Re: Pi 4 router / DHCP server - AmazonBasics Ethernet USB 3.0 good?

Thu Jul 18, 2019 9:07 am

Does your switch support VLANs?
If yes, you don’t need a second adapter. Just create eth0.1234 to handle the WAN in addition to the regular eth0 you can use for LAN.

For physical devices what counts on Linux is the chip they are based on. In the customer testimony section I quickly found a comment by a kind soul who says “AX88179 chipset, ok with linux”.
Which I would confirm, on pi3. You can check the device continues to work fine on Pi4, but in case it does not I suppose the situation would be soon remedied.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

bls
Posts: 2587
Joined: Mon Oct 22, 2018 11:25 pm
Location: Seattle, WA

Re: Pi 4 router / DHCP server - AmazonBasics Ethernet USB 3.0 good?

Thu Jul 18, 2019 2:14 pm

This won't directly answer your question about the AmazonBasics adapter, but see https://www.raspberrypi.org/forums/view ... 6&t=245649 for some testing I did on a Pi4. UDP performance was quite good. Untuned TCP performance was lower than I would have expected, although still faster than my internet connection. I used a Cable Matters USB 3.0 Lan/GB adapter, which tested pretty well. If Amazon's adapter is up to snuff I'd expect that you'll see similar results before you tune (which I haven't started yet :( )
Pi tools:
Quickly and easily build customized exactly as-you-want SSDs/SD Cards: https://github.com/gitbls/sdm
Easily run and manage your network's DHCP/DNS servers on a Pi: https://github.com/gitbls/ndm
Easy and secure IPSEC/IKEV2 VPN installer/manager: https://github.com/gitbls/pistrong
Lightweight Virtual VNC Config: https://github.com/gitbls/RPiVNCHowTo

Return to “Networking and servers”