Page 1 of 1

old obsolete advice about turning a PI 3 into a Router?

Posted: Wed Apr 20, 2016 8:52 pm
by mathboy4life
Since the PI 3 has build in WiFi is it capable to turn it into a router with ddwrt or openwrt and be as good as a cheap $30 router?

Re: PI 3 into a Router?

Posted: Thu Apr 21, 2016 12:07 am
by MarkHaysHarris777
mathboy4life wrote:Since the PI 3 has build in WiFi is it capable to turn it into a router with ddwrt or openwrt and be as good as a cheap $30 router?
No. Technically, in order to be a router it would have to have at least two ethernet nics; one to the network, and one to a high speed switch (the points from which the other networks are connected).

nic Network Interface Connector

The RPi 3B can, however, be used as a bridge. A special purpose type of ´router´ that ´bridges´ another network (eth0 nic to high speed switch downstream) and the ´wifi´ network upstream. The difference is (I admit) nuanced but it is important to keep the distinction in mind. A true router needs to have wired security (hard wired ethernet connections); and the router needs to have ´two´ of these eth connections that are unique and distinct in order for the ´routing´ to occur.

Re: PI 3 into a Router?

Posted: Tue Apr 26, 2016 11:30 am
by mikerr
MarkHaysHarris777 wrote:
mathboy4life wrote:Since the PI 3 has build in WiFi is it capable to turn it into a router with ddwrt or openwrt and be as good as a cheap $30 router?
No. Technically, in order to be a router it would have to have at least two ethernet nics; one to the network, and one to a high speed switch (the points from which the other networks are connected).
No. Technically a router is from one network to another - one NIC can be wireless, the other wired.
Pi3 has 2 NICs (also note the pi3 wifi doesn't share bandwidth with usb/ethernet)

If you want two wired NICs, then you can add a USB ethernet adaptor to the pi3...
performance may not be optimal though, as they'll both be sharing USB bandwidth.

Re: PI 3 into a Router?

Posted: Tue Apr 26, 2016 11:44 am
by MarkHaysHarris777
mikerr wrote: No. Technically a router is from one network to another - one NIC can be wireless, the other wired.
Most of us call this special purpose router a bridge, that's why I said 'technically' (as in technicality, not as in technology).

A bridge is a type of router that joins two networks, typically one wired and one not (although, it does not have to be that way). You can make the RPi 3B into a bridge, but you cannot make it into a standard router (at least not with any kind of performance).

Well, when you think of a commercial router (like your home cable modem, for instance) do you expect to see a bank of ethernet ports? It may also have wifi routing capability (probably) but it must have the ability to route between subnets (or networks) in a wired setup--- unless, the entire router is wireless. I don't think the RPi can function as a wireless router.

Re: PI 3 into a Router?

Posted: Tue Apr 26, 2016 3:32 pm
by drgeoff
Unless you need the more esoteric features that only openwrt or DD-WRT can provide, or you only need the router for a short time (and will have other uses for the RPi3 afterwards) I suggest you consider the US$10 to US$15 pocket WiFi routers from ebay suppliers, usually in the Far East.

Re: PI 3 into a Router?

Posted: Sat Apr 21, 2018 7:50 am
by EasyGoing1
Here you go ... http://qcktech.blogspot.com/2012/08/ras ... outer.html

And remember ... Google is your buddy ... not sure why everyone in this group seems to think it can't be done since the Pi is really just a small PC capable of running Linux which makes it a prime candidate for being employed as a router ... found lots of articles on this through Google...

I also posted this for future searchers out there.

Re: PI 3 into a Router?

Posted: Sat Apr 21, 2018 1:57 pm
by KLL
EasyGoing1 wrote:
Sat Apr 21, 2018 7:50 am
Here you go ... http://qcktech.blogspot.com/2012/08/ras ... outer.html

And remember ... Google is your buddy ... not sure why everyone in this group seems to think it can't be done since the Pi is really just a small PC capable of running Linux which makes it a prime candidate for being employed as a router ... found lots of articles on this through Google...

I also posted this for future searchers out there.
you did not say with what hardware and OS you tested this tutorial ( from 2012 ).

Re: PI 3 into a Router?

Posted: Sat Apr 21, 2018 2:27 pm
by fruitoftheloom
EasyGoing1 wrote:
Sat Apr 21, 2018 7:50 am
Here you go ... http://qcktech.blogspot.com/2012/08/ras ... outer.html

And remember ... Google is your buddy ... not sure why everyone in this group seems to think it can't be done since the Pi is really just a small PC capable of running Linux which makes it a prime candidate for being employed as a router ... found lots of articles on this through Google...

I also posted this for future searchers out there.

2012 is very out of date :shock:

Re: PI 3 into a Router?

Posted: Sat Apr 21, 2018 2:31 pm
by drgeoff
KLL wrote:
Sat Apr 21, 2018 1:57 pm
you did not say with what hardware and OS you tested this tutorial ( from 2012 ).
I doubt that he did test it. Using any release of Raspbian from the last year or two and setting static IP parameters in the interfaces file is not a good way to start.

Re: PI 3 into a Router?

Posted: Sat Apr 21, 2018 10:15 pm
by mahjongg
agreed, its not good advice to people who really want to create a router from their PI, therefore locking, changing the subject line, and moving to off topic

anyone serious about turning a PI into a router, start a new thread!