User Tools

Site Tools


docu:tutos:net:rpi_to_router

This is an old revision of the document!


Convert your Raspberry Pi into a Router


Today we are going to convert our raspberry pi into an effective router to create a new local subnet where we can safely host our servers and their services.

The device we are going to use is a Raspberry Pi 3b model, but any device with *nix, an ethernet adapter and 1 free usb slot (either 2.0, 3.0, usb c, micro usb) with usb-to-ethernet support compiled, should work.


THINGS YOU WILL NEED:

a small device (in this case a Pi), a usb-to-ethernet cable (to create a new physical address), a switch (in case you want to extend your connections), ethernet cables (with different sizes, depends on your setup)


Let's start with the Setup!!

  1. Connect the your small device to a working router (any router with internet access would do the work), connect it using the onboard ethernet adapter. In this case the gateway interface will be eth0
  2. Connect your usb-to-ethernet dongle to any free usb slot on your device.
  3. Make sure your system supports usb-to-ethernet. You should see a new interface. Our subnet will be on eth1
docu/tutos/net/rpi_to_router.1581166156.txt.gz · Last modified: 2020/02/08 12:49 by admin