1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tracing Bandwidth Use?

Discussion in 'Tomato Firmware' started by Schrodinger, Nov 10, 2008.

  1. Schrodinger

    Schrodinger Guest

    Guys,

    I'm currently using Tomato 1.21 (Victek mod) with QoS but haven't moved over to bandwidth limiting. I'm running a home network with several kids and I want to trace down how much bandwidth each of the kids have used/are drawing (in the real-time view). Is there any way to see how much bandwidth has been used/is in use, per MAC address?

    Cheers

    Schrodinger
     
  2. QSxx

    QSxx LI Guru Member

    Yup, i'm all ears about this one too...

    Anyone?
     
  3. mshobe

    mshobe Addicted to LI Member

    Bump.
     
  4. Victek

    Victek Network Guru Member

  5. QSxx

    QSxx LI Guru Member

    Well how do i use this one?

    Where exactly does it go and how do i fill it up with for example three PCs on home network.

    BTW Victek, i'm currently running your mod of Tomato :)
     
  6. mshobe

    mshobe Addicted to LI Member

    It's sort of an advanced technique using IPTables.
    Setup Static DHCP to those PCs and put the IP Addresses in the script (without the "<>").
    Put the script in the WAN Up section of scripts.

    You would then telnet into your router and type iptables -vL and wait a few minutes.
    You'll get something that looks like this:
    Code:
    [FONT="Lucida Console"]# iptables -vL traffic_in && iptables -vL traffic_out
    Chain traffic_in (1 references)
     pkts bytes target     prot opt in     out     source               destination         
    32411   35M            0    --  any    any     anywhere             MICHAELSLAPTOP.Workgroup 
        0     0            0    --  any    any     anywhere             192.168.2.101       
        0     0            0    --  any    any     anywhere             192.168.2.102       
    53397   33M            0    --  any    any     anywhere             Cunio-PC.Workgroup  
        0     0            0    --  any    any     anywhere             192.168.2.104       
        0     0            0    --  any    any     anywhere             192.168.2.105       
     456K  453M            0    --  any    any     anywhere             Shobes-MacBook.Workgroup 
    89938   92M            0    --  any    any     anywhere             Barely-Listening.Workgroup 
    26652   16M            0    --  any    any     anywhere             your-c5311507f9.Workgroup 
    65434   49M            0    --  any    any     anywhere             192.168.2.109       
    70224   54M            0    --  any    any     anywhere             Artie-PC.Workgroup  
     111K  110M            0    --  any    any     anywhere             192.168.2.111       
     108K   58M            0    --  any    any     anywhere             Jason-Opperman.Workgroup 
    43778   27M            0    --  any    any     anywhere             Alisia.Workgroup    
        0     0            0    --  any    any     anywhere             192.168.2.114       
    21949   11M            0    --  any    any     anywhere             192.168.2.115       
        0     0            0    --  any    any     anywhere             192.168.2.116       
    51072   51M            0    --  any    any     anywhere             kimberlyb.Workgroup 
     758K  881M            0    --  any    any     anywhere             Necronomicon.Workgroup 
    59610   72M            0    --  any    any     anywhere             adwell.Workgroup    
    30699   28M            0    --  any    any     anywhere             DLA502.Workgroup    
     540K  237M            0    --  any    any     anywhere             Kyle-PC.Workgroup   
     273K  345M            0    --  any    any     anywhere             Cutter-PC.Workgroup 
    81454   96M            0    --  any    any     anywhere             192.168.2.123       
        0     0            0    --  any    any     anywhere             192.168.2.124       
    73402   75M            0    --  any    any     anywhere             soper-33c83b3aa.Workgroup 
        0     0            0    --  any    any     anywhere             192.168.2.126       
    15967 4057K            0    --  any    any     anywhere             DonaldPoore-PC.Workgroup 
    1425K  248M            0    --  any    any     anywhere             HKEESE.Workgroup    
     528K  428M            0    --  any    any     anywhere             D1519MG1.Workgroup  
     266K   73M            0    --  any    any     anywhere             192.168.2.130       
    Chain traffic_out (1 references)
     pkts bytes target     prot opt in     out     source               destination         
    19512 1854K            0    --  any    any     MICHAELSLAPTOP.Workgroup  anywhere            
        0     0            0    --  any    any     192.168.2.101        anywhere            
        0     0            0    --  any    any     192.168.2.102        anywhere            
    47202 6756K            0    --  any    any     Cunio-PC.Workgroup   anywhere            
    
        0     0            0    --  any    any     192.168.2.104        anywhere            
        0     0            0    --  any    any     192.168.2.105        anywhere            
     291K   23M            0    --  any    any     Shobes-MacBook.Workgroup  anywhere            
    56917 6639K            0    --  any    any     192.168.2.107        anywhere            
    21863 2242K            0    --  any    any     your-c5311507f9.Workgroup  anywhere            
    43590 5283K            0    --  any    any     192.168.2.109        anywhere            
    49364   18M            0    --  any    any     Artie-PC.Workgroup   anywhere            
    70183   15M            0    --  any    any     192.168.2.111        anywhere            
    99714 6463K            0    --  any    any     Jason-Opperman.Workgroup  anywhere            
    38590 4430K            0    --  any    any     Alisia.Workgroup     anywhere            
        0     0            0    --  any    any     192.168.2.114        anywhere            
    22920 3521K            0    --  any    any     192.168.2.115        anywhere            
        0     0            0    --  any    any     192.168.2.116        anywhere            
    33475 3738K            0    --  any    any     kimberlyb.Workgroup  anywhere            
     446K   33M            0    --  any    any     Necronomicon.Workgroup  anywhere            
    32321 2071K            0    --  any    any     adwell.Workgroup     anywhere            
    27645 7330K            0    --  any    any     DLA502.Workgroup     anywhere            
     585K  142M            0    --  any    any     Kyle-PC.Workgroup    anywhere            
     126K 7630K            0    --  any    any     Cutter-PC.Workgroup  anywhere            
    51213 5868K            0    --  any    any     192.168.2.123        anywhere            
        0     0            0    --  any    any     192.168.2.124        anywhere            
    71963 6911K            0    --  any    any     soper-33c83b3aa.Workgroup  anywhere            
        0     0            0    --  any    any     192.168.2.126        anywhere            
    15051 1642K            0    --  any    any     DonaldPoore-PC.Workgroup  anywhere            
    1194K  170M            0    --  any    any     HKEESE.Workgroup     anywhere            
     362K   21M            0    --  any    any     D1519MG1.Workgroup   anywhere            
    88867 8201K            0    --  any    any     192.168.2.130        anywhere            
    # 
    [/FONT]
     

Share This Page