Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #177298

Re: Advice / recommendations on Inexpensive Managed Ethernet Switches

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: Advice / recommendations on Inexpensive Managed Ethernet Switches
Date 2017-02-02 18:00 +0100
Message-ID <t6sTL-6vB-3@gated-at.bofh.it> (permalink)
References <t6sqK-6kI-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Feb 02, 2017 at 11:19:59AM -0500, rhkramer@gmail.com wrote:
> Aside: I am actually gobsmacked (I don't think I've ever been gobsmacked 
> before ;-)--in a week of monitoring, we (my son and I, but with my son gone 8 
> to 12 hours a day) are downloading 1.5 to 4 GB *per day* (and uploading 100 to 
> 300 MB *per day*).
> 
> Anyway, I want to try to figure out where all this data is going to and coming 
> from, at least in terms of the devices we have on our LAN (I'll discuss those 
> below), so I'm thinking that a(n inexpensive) managed (Ethernet) switch or two 
> (discussed below) might help me do that.

I think you actually want a smart router. A Debian box with two
or more network interfaces can be such a thing.

> One thing I want to do is implement QOS--we have two ObiHai VOIP devices 
> (which we use pretty rarely, but still want to keep--they might be used for 4 
> calls / 10 to 30 minutes a week).  Sometimes the conversation gets pretty 
> choppy, probably depending on what my son is doing at the time (I mean, like 
> watching a video or something), so I'm hoping that QOS would improve that 
> (assuming the packets from the ObiHai device can be recognized--I would think 
> they can based on their (private / on the LAN) IP addresses.

A router can do that better than a switch can.

> Like I mentioned above, the other thing I want to do is start monitoring (at 
> least on an occasional / diagnostic basis) the bandwidth used by each device.  

Depending on exactly what you want, either a switch or a router
can help here.

> Layout of the network (for background):
> 
> The Earthlink DSL modem (Westell) is followed by an Ethernet (unmanaged} 
> switch.  

You would want to put your router in between these. If you can
arrange a third network interface on the router, you could
connect the WiFi hotspot to the router, as well.

> I see managed 5-port gigabit switches on eBay starting at a little under $30, 
> and I'd like to stay close to that as a budget (i.e., ~$60 for 2).  Of course, 
> if a more featureful switch can monitor the data flows to each device from that 
> (central) location, I could spend that ~$60 for the more featureful switch).  
> (But there is some value to me to have two managed switches such that one 
> would serve as a spare for the central one even if being used at other 
> locations for monitoring.)
> 
> Advice / comments / recommendations?

That seems an unlikely price point, even for used equipment on
ebay. And managed switches usually have a minimum of 12 ports,
not 5. (12, 16, 24, 32 and 48 are all common)

I would recommend putting in a Debian box between the DSL modem
and the ethernet switch. You will need to learn a little about
routing and IP masquerading / NAT, and you will want to set up
firewalling with iptables.

You can look at traffic in realtime with iftop, which will show
you graphs of the top users by IP address or domain name and
where they are connecting.

You can set individual traffic counters per IP address or per 
service or both with iptables.

What you won't get is flow information between local devices, 
but as I understand it you are more concerned about traffic
in/out to the Internet at large.

If you set fq_codel as the queue discipline on the interfaces
to the router, you will probably solve most of your traffic
interference problems without mucking with QoS.

-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Advice / recommendations on Inexpensive Managed Ethernet Switches rhkramer@gmail.com - 2017-02-02 17:30 +0100
  Re: Advice / recommendations on Inexpensive Managed Ethernet Switches Dan Ritter <dsr@randomstring.org> - 2017-02-02 18:00 +0100
  Re: Advice / recommendations on Inexpensive Managed Ethernet Switches Eike Lantzsch <zp6cge@gmx.net> - 2017-02-03 21:30 +0100
    Re: Advice / recommendations on Inexpensive Managed Ethernet Switches <tomas@tuxteam.de> - 2017-02-04 11:00 +0100
      Re: Advice / recommendations on Inexpensive Managed Ethernet Switches Mark Fletcher <mark27q1@gmail.com> - 2017-02-04 11:50 +0100
        Re: Advice / recommendations on Inexpensive Managed Ethernet Switches <tomas@tuxteam.de> - 2017-02-05 11:10 +0100
          Update: My current intentRe: Advice / recommendations on Inexpensive Managed Ethernet Switches rhkramer@gmail.com - 2017-02-05 18:00 +0100
            Re: Update: My current intentRe: Advice / recommendations on  Inexpensive Managed Ethernet Switches <tomas@tuxteam.de> - 2017-02-05 19:10 +0100
              Re: Update: My current intentRe: Advice / recommendations on Inexpensive Managed Ethernet Switches deloptes <deloptes@gmail.com> - 2017-02-06 21:00 +0100
            Re: Update: My current intentRe: Advice / recommendations on Inexpensive Managed Ethernet Switches rhkramer@gmail.com - 2017-02-06 16:00 +0100
            Re: Update: My current intentRe: Advice / recommendations on  Inexpensive Managed Ethernet Switches Dan Ritter <dsr@randomstring.org> - 2017-02-06 17:00 +0100
              Re: Update: My current intentRe: Advice / recommendations on Inexpensive Managed Ethernet Switches rhkramer@gmail.com - 2017-02-06 20:20 +0100
    Re: Advice / recommendations on Inexpensive Managed Ethernet Switches deloptes <deloptes@gmail.com> - 2017-02-05 19:40 +0100
  Re: Advice / recommendations on Inexpensive Managed Ethernet Switches solitone <solitone@mail.com> - 2017-02-04 15:50 +0100
    Re: Advice / recommendations on Inexpensive Managed Ethernet Switches rhkramer@gmail.com - 2017-02-04 17:40 +0100
  Re: Advice / recommendations on Inexpensive Managed Ethernet Switches solitone <solitone@mail.com> - 2017-02-04 16:40 +0100
    Re: Advice / recommendations on Inexpensive Managed Ethernet Switches Dan Ritter <dsr@randomstring.org> - 2017-02-04 17:10 +0100
      Re: Advice / recommendations on Inexpensive Managed Ethernet Switches solitone <solitone@mail.com> - 2017-02-04 17:50 +0100

csiph-web