Don't. It'll work fine for one or two users but the ethernet interface of the Pi is rather slow. Also note that there's only one ethernet so you'll have to add additional ones with USB. USB is also quite slow. In short, it's the wrong hardware for the job.Can I use Raspberry as Router ?
I see the specification of Miktortik Hex S, hardware specification is lower than Pi. but performance is better. I think it depends on OS.Do you need it to do anything special?
If it's just a router I personally would vote for using something off the shelf rather than building one. Hell if it's just providing a router to the Internet (<= 1Gbps) and not doing lots of inter-vlan routing you could probably get away with something like a Mikrotik Hex S for ~$69.
You're only looking at the CPU and memory specs, which aren't the bottleneck. The hardware is built entirely different. For one the Mikrotik has specialized hardware for switching and routing. The Raspberry Pi doesn't have that kind of networking hardware onboard. The Pi is a hobby project, not a hardcore networking component.I see specification of Miktortik Hex S , hardware specification is lower than Pi. but performance is better. I think it depend on OS.
Thanks ,
but compatibility by FreeBSD is more important for me. I want do this project by pure FreeBSD.
Why? Please explain. If a better solution could be found using a different OS, why would it have to be FreeBSD?but compatibility by FreeBSD is more important for me. I want do this project by pure FreeBSD.
but compatibility by FreeBSD is more important for me. I want do this project by pure FreeBSD.
Why? Please explain. If a better solution could be found using a different OS, why would it have to be FreeBSD?
I need this device for Internet sharing and captive portal and and control bandwidth and want set time and date limit. and set user in five level of using internet.You have told us "100 users". But you haven't told us anything else about the requirements. What is the bandwidth you need to serve? How much extra latency can you introduce? What is the workload? Occasional web browsing, a little bit of e-mail, or intense traffic, perhaps using cloud computing off-site? Do you need to pass any interesting protocols (NFS, FTP, ...)? Does it have to have VPN capability? Or perhaps NAT? What are the security needs? How many internal networks do you need to route for (many sites have multiple networks)? Does it need to serve wireless also (also function as an AP)? Is user authentication required? How about availability and reliability requirements? Do you need guaranteed 5 (or 3 or 7) nines of uptime? What is the financial penalty of an outage? What other services do you want to serve? You might want to use the same hardware also as a DNS, DHCP, NFS, Squid cache, E-mail, NFS, ... server.
Why? Please explain. If a better solution could be found using a different OS, why would it have to be FreeBSD?
+1 on that.My suggestion: , the best solution will be to buy a pre-cooked solution.
But I want to do everything by FreeBSD as Juniper. I want to understand which config can work better on Juniper and can not work on FreeBSD.+1 on that.
I'm personally a big fan of Juniper (no I don't work for them, or live near them) routers and firewalls. They have a wide range of devices from small to medium to large and everything in between. So I'm sure you can find something that will fit the budget and cover most of your requirements. Interesting detail, JunOS is based on FreeBSD
I would suggest buying a separate wireless AP. Preferably a SOHO or small enterprise model. The reason is that they usually come with management software that will allow you to easily add more APs if you need more coverage while allowing users to roam freely between APs without getting them disconnected.