Building a Router Server?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ratdude747
    Black Sheep
    • Nov 2008
    • 17136
    • USA

    #1

    Building a Router Server?

    3 years ago I was gifted an old Dell R200 1U blade server. I used it as an apartment file server for 2 years, but it's since been, ahem, replaced.

    I'm thinking of making it into a dedicated router for my network, which would be future proofing for an eventual connection >300mb (which is as much as my Netgear R7000 is good for on DD-WRT). Also, this would free up the eth1 connection on the R7000, which would allow me to team up with eth0 and double the AP's bandwidth to the main gigabit switch. I didn't think I had any HDDs for it (what was in it was moved to the new server as OS and Backup drives), but as it turns out, I found 3 160GB 7200RPM drives in a box in my garage.

    What I do know if I go forward with this:
    • OS: Debian. Whatever the latest stable version is (or I'll stick with Jessie, which is what the other server runs).
    • The two HDDs will be a SW raid 1. Debian supposedly supports booting from a setup with all partions SW RAID'd (and with LVM too). No need for a HW controller since it's mostly going to be running from memory anyway.
    • CPU and RAM: IIt has a single Xeon 3085 (dual core 3GHz, 1333Mhz FSB); it has 2GB DDR2 on a single module installed. It was originally a Ubuntu based Firewall (I won't say from where, it's classified), so if it was good enough for that, it should be enough to run as a home router, right? Edit- I'm an idiot... I have 8GB of ECC registered DDR2 floating around... I can probably use that in this.



    Questions I have about this:

    1. If I do this, my separate main and firewalled guest wifi networks would still be managed (and separated from each other) through the AP (the Netgear R7000), right? All the server would be offloading is DHCP, WINS, and all internet traffic, right? Or would I need to setup the firewall between wifi networks on the router and VLAN it through to the AP?

    2. Just using the two onboard GLAN ports should be sufficient? Or will I want to put a LAN card in it and team two ports back to the switch?


    For now I'm just going to get debian running on it... but if you're familar with this, some answers would be nice here.
    Last edited by ratdude747; 08-04-2018, 07:38 PM.
    sigpic

    (Insert witty quote here)
  • Topcat
    The Boss Stooge
    • Oct 2003
    • 16956
    • United States

    #2
    Re: Building a Router Server?

    I like the replacement NAS....
    <--- Badcaps.net Founder

    Badcaps.net Services:

    Motherboard Repair Services

    ----------------------------------------------
    Badcaps.net Forum Members Folding Team
    http://folding.stanford.edu/
    Team : 49813
    Join in!!
    Team Stats

    Comment

    • ratdude747
      Black Sheep
      • Nov 2008
      • 17136
      • USA

      #3
      Re: Building a Router Server?

      Originally posted by Topcat
      I like the replacement NAS....
      I do too...this wouldn't replace it.
      sigpic

      (Insert witty quote here)

      Comment

      • diif
        Badcaps Legend
        • Feb 2014
        • 6978
        • England

        #4
        Re: Building a Router Server?

        Have you upgraded your switch to a managed one ?

        Comment

        • ratdude747
          Black Sheep
          • Nov 2008
          • 17136
          • USA

          #5
          Re: Building a Router Server?

          Originally posted by diif
          Have you upgraded your switch to a managed one ?
          Nope. Just a regular old 24 port 3com unit. My main server has 3 teamed gigabit connections and my main workstation has two teamed.
          Last edited by ratdude747; 08-05-2018, 07:46 AM.
          sigpic

          (Insert witty quote here)

          Comment

          • diif
            Badcaps Legend
            • Feb 2014
            • 6978
            • England

            #6
            Re: Building a Router Server?

            It seems you're setting up Debian like some sort of pfsense/monwall/opensense/smoothwall box ? Each VLAN needs a port on the router, 1 in and 1 for each VLAN. If you're switch was managed your AP would plug into that but it will need to plug into another port on the router.
            You switch between calling it a router and server, it's a little confusing.
            I don't think the R7000 supports teaming/link aggregation.

            Comment

            • ratdude747
              Black Sheep
              • Nov 2008
              • 17136
              • USA

              #7
              Re: Building a Router Server?

              Originally posted by diif
              It seems you're setting up Debian like some sort of pfsense/monwall/opensense/smoothwall box ?
              I was thinking more along the lines of DNSmasq actually.


              Originally posted by diif
              Each VLAN needs a port on the router, 1 in and 1 for each VLAN. If you're switch was managed your AP would plug into that but it will need to plug into another port on the router.
              So, no the AP cannot take care of managing the two "isolated" wifi networks without being the router as well? I'm asking here. I know of one setup where a WRT1900 with DD-WRT is being used for 7 separate networks and has a single LAN connection... but that setup had the AP going directly to a professional (rackmounted) Cisco router, which was probably setting the VLAN's on the trunk line.


              Originally posted by diif
              You switch between calling it a router and server, it's a little confusing.
              It's a blade server being used as a router...

              Originally posted by diif
              I don't think the R7000 supports teaming/link aggregation.
              From what I can tell from playing with it, the WAN port is a separate gigabit connection... and DD-WRT supports bonding. Why wouldn't it work?
              sigpic

              (Insert witty quote here)

              Comment

              • diif
                Badcaps Legend
                • Feb 2014
                • 6978
                • England

                #8
                Re: Building a Router Server?

                Originally posted by ratdude747
                Why wouldn't it work?
                Your switch isn't managed. It's the same reason you can't plug in the AP as you'd like.

                Comment

                • ratdude747
                  Black Sheep
                  • Nov 2008
                  • 17136
                  • USA

                  #9
                  Re: Building a Router Server?

                  Originally posted by diif
                  Your switch isn't managed. It's the same reason you can't plug in the AP as you'd like.
                  Then why can I plug in my server and workstation and run round-robin bonded connections? The former also runs linux (like the AP), so shouldn't I be able to do such? It's not like I'm connecting two switches here.
                  sigpic

                  (Insert witty quote here)

                  Comment

                  • diif
                    Badcaps Legend
                    • Feb 2014
                    • 6978
                    • England

                    #10
                    Re: Building a Router Server?

                    I'm sure I've previously explained this.
                    Have you got some benchmarks comparing a single GbE vs your dual GbE round robin setup ?

                    Comment

                    • ratdude747
                      Black Sheep
                      • Nov 2008
                      • 17136
                      • USA

                      #11
                      Re: Building a Router Server?

                      ^Not really. The reported speed is 3Gbs though (2gbs for the server). I'll do some ping tests tonight.
                      sigpic

                      (Insert witty quote here)

                      Comment

                      • diif
                        Badcaps Legend
                        • Feb 2014
                        • 6978
                        • England

                        #12
                        Re: Building a Router Server?

                        Theoretically there should be an increase if there is data going from one machine to two different machines but between just two I wouldn't expect to see any. As I understand round robin, once a transfer is initiated it's identified by MAC address and uses the same physical nic.

                        Comment

                        • Mad_Professor
                          A Mech Warrior
                          • Feb 2011
                          • 1587

                          #13
                          Re: Building a Router Server?

                          Link aggregation is not really all that great. Good for failover and load balancing but for bundled speed, it sucks, since you can't split packet streams because of how protocols are written, so you're limited to bandwitdh of the nic.

                          I attempted to do this with one machine and one server and a managed switch and dual nics with lacp setup, but I didn't see any gains since one link would be saturated and would not utlize next link unless a new stream was started. As in two machines pulling data from the server at the same time, or one writing and one reading. On the other hand I could start two diffferent data transfers over lacp links, problem was, it was tricky to get it to use both lacp links since it would try to place the new tcp/udp stream on the same nic that already had utlization, some tuning in linux, got it some what relieable but in the end, it was too much work for little gain, and I kept asking myself when am I ever going to need several transfers done at once.

                          Frankly you're better of going fibre channel or 10Gbase-t for real speed improvement.

                          Comment

                          • ratdude747
                            Black Sheep
                            • Nov 2008
                            • 17136
                            • USA

                            #14
                            Re: Building a Router Server?

                            ^I don't really "need" a speed upgrade... it was more along the lines of "I have this hardware sitting, can I do better with it?" idea than a "I need more speed, what do I need to get there" idea.

                            Not sure what to do with this other server then... hmm...
                            sigpic

                            (Insert witty quote here)

                            Comment

                            • Curious.George
                              Badcaps Legend
                              • Nov 2011
                              • 2305
                              • Unknown

                              #15
                              Re: Building a Router Server?

                              Originally posted by ratdude747
                              ^I don't really "need" a speed upgrade... it was more along the lines of "I have this hardware sitting, can I do better with it?" idea than a "I need more speed, what do I need to get there" idea.

                              Not sure what to do with this other server then... hmm...
                              1U boxes tend to suffer from "NFS" (Noisey/Nasty Fan Syndrome).

                              It, no doubt, has very few drive bays. You could use it as a "NAS appliance" and swap the drives out to bring other drives on-line in their place.

                              If you want to hookup a second "server", consider something 24/7/365 that provides "core services" to your network: DNS, TFTP, NTP, LPD, syslogd, etc.. And, as most of these are low bandwidth services, you can opt for a smaller/quieter/cooler box to provide them.

                              I use a thin client with a 640GB disk -- contradiction in terms? -- so I have a little playpen that I can work in, push stuff at (backups), etc. It's not very performant (an old Atom) but it uses very little power and I can count on it being available ALWAYS!

                              Because of this, my UPSs can periodically transfer their log files to an account established for them on that box -- regardless of whether or not any of my other machines are powered up. Likewise, any boot errors get logged there so I don't have to wander around looking for diagnostic information. I've also set it up with various X clients so it can breathe life into my X terminals without having to bring any other box online. I can spool a LONG job to a printer and then shut off the originating client -- knowing that server will handle the printing on its behalf.

                              Etc.

                              Comment

                              • ratdude747
                                Black Sheep
                                • Nov 2008
                                • 17136
                                • USA

                                #16
                                Re: Building a Router Server?

                                ^Noise wise, it's not great, but it's not much worse than the 3U main server I am using. It has 2 non-hot-swap 3.5" drives. By no means a replacement (the 3U, despite being older, easily replaced the 1U).
                                sigpic

                                (Insert witty quote here)

                                Comment

                                • Curious.George
                                  Badcaps Legend
                                  • Nov 2011
                                  • 2305
                                  • Unknown

                                  #17
                                  Re: Building a Router Server?

                                  Originally posted by ratdude747
                                  ^Noise wise, it's not great, but it's not much worse than the 3U main server I am using. It has 2 non-hot-swap 3.5" drives. By no means a replacement (the 3U, despite being older, easily replaced the 1U).
                                  I use a little PE840 as a "4 slot drive host". It's got a disk cage that will handle 4 SATA drives (I never hot-swap -- color me paranoid!). I have a replacement cage that handles SCA drives so it only takes me a few minutes to reconfigure it for that medium.

                                  I removed one of the optical drives and installed a front-load SATA drive dock wired as the boot disk. So, I can change the machine's personality by popping out the (bare) drive and installing a different one (e.g., different OS).

                                  As it's a tower case, it can afford decent fans which helps cut down on the noise (it's in my bedroom and I often sleep with it running). But, I only use it when I am moving files onto or off-of "bare" archive disks and want a fair bit of bandwidth (I can push 100MB/s+ to all four drives concurrently).

                                  I've binned all of my other servers as I got tired of listening to fans... (the workstations have large, oversized fans that run at lower RPMs)

                                  Comment

                                  • Logistics
                                    Badcaps Veteran
                                    • Apr 2007
                                    • 721
                                    • USA

                                    #18
                                    Can we touch on this subject again? I was considering implementing Link Aggregation into my setup. I was on a 75Mb Comcast connection, which was fine. But was upgraded for free over time to around a 250Mb connection. Then one day they changed something in their architecture and my R7000 kept locking up due to flooding of its ports. I thought I was being targeted and attacked, but it turned out they just changed something. So I threw DD-WRT onto the R7000 and I was back in business. Despite being stable, it wasn't performing the way it used to. So... I turned an old, i7-4770-powered Dell I had around into a pfSense server, and WOW did it perform great! I relieved the R7000 of it's routing duties and made it an AP only. Then one day I got a call from Comcast trying to con me into upgrading to an 800Mb connection, and if I committed to two years it would stay at about the same cost for the first year. I bite. Naturally, a month later I find out that Fiber is finally available in my area at 1Gb/1Gb for less than I was paying. !@#$ Anyway, I cap out typically between 400-500Mb with the pfSense server running to a 1Gb dumb switch, run to my PC. I do have a CM1200, I do have a 24-port managed switch that can support link aggregation lying around, I do have additional Intel dual 1Gb PCIe cards to throw into the pfSense server and my PC. Is it worth the effort? I've been told Comcast doesn't allow Link Aggregation somehow.

                                    Cheers!
                                    Presonus Audiobox USB, Schiit Magni 3, Sony MDR-V700

                                    Comment

                                    Related Topics

                                    Collapse

                                    • omega
                                      Troubleshooting of redundant F750E-S0 Dell PowerEdge Server
                                      by omega
                                      Hello all,
                                      as a beginner electronics hobbyist, after a few years I would like to place another post on this Forum section, given that I did not succeed in finding any useful advice among the other posts.

                                      Over the last years, I have been using a PowerEdge Dell Server with two redundant PSUs, namely the 750W F750E-S0 ones (aka 06W2PW). Unfortunately, last summer one of them failed (perhaps owing to an overheating), and the server had for working to take into account the other one only. Of course I opened and tried to troubleshoot the failed PSU, but each cap I tested seemed to...
                                      02-09-2024, 03:34 PM
                                    • Document Archive
                                      HP ZBook 15v G5 Mobile server 15v Specification for Upgrade or Repair
                                      by Document Archive
                                      This specification for the HP ZBook 15v G5 Mobile server can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the 15v G5 boardview and 15v G5 schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that we offer no warranties that any specification, datasheet, or download for HP ZBook 15v...
                                      09-06-2024, 11:39 AM
                                    • harp
                                      Comparing FreeNAS, FTP server, SMB server, multimedia server...
                                      by harp
                                      I thinking about some central LAN file server, on where I can put some files from other devices, or access to them, and maybe play some movie without download...

                                      I never study this, but when I see that freenas need few gigabyte of ram to recommended working, some wiered partition, I wonder if I miss somewhat in the midletime...
                                      Also exist "turnkey file server", and other turnkey products that I can not distinguished what is major difference and how it perform - no experiance at all.

                                      What is general difference between this products, and what be most useful...
                                      01-04-2024, 02:44 PM
                                    • shadow666
                                      Router Xiaomi M4A Gigabit
                                      by shadow666
                                      hello
                                      i need dump backup for wifi router Xiaomi M4A Gigabit M43 R0101
                                      Mi Router 4A Gigabit Edition
                                      ROM CHIP is 16 MB
                                      i attached picture of motherboard​...
                                      11-30-2024, 03:49 PM
                                    • EasyGoing1
                                      UPNP, "Standards" and hardware that implements it
                                      by EasyGoing1
                                      I've been writing a program in Java that is really just a robust front end for the use of GitHiub Gists, providing a nice interface for developers to organize, maintain and access code snippets that we tend to need from time to time in our different projects.

                                      One of the features of the program is the ability for people to share their Gists with others who use the program over a LAN or over the Internet. The program just basically serializes a Java class and encrypts it then wraps it into a UDP datastream and sends it over to another user.

                                      So I decided to implement UPNP...
                                      07-16-2022, 07:12 PM
                                    • Loading...
                                    • No more items.
                                    Working...