Compare cert salaries and plan your next career move
ISP<---------->[modem]---------[3660]---------[3560]---------pc1 ]---------pc2
Forsaken_GA wrote: » I personally took a different tack - I don't care how much traffic each individual host gets, but whatever computer I'm on, I need to be able to browse the web and ssh without file transfers having an adverse effect on that, so I match and mark my protocols and queue based on that instead of individual host
acidsatyr wrote: Hi, thx for reply. The thing is, i don't want to restrict each computer to only 1Mbs statically. I could apply a policer on inbound connection and drop exceeding traffic. But how would i go about letting a host get whole 2Mbps if other is idle?
! ip access-l ext PC1 permit ip any host 192.168.100.5 ip access-l ext PC2 permit ip any host 192.168.100.6 ! class-map PC1 match access name PC1 class-map PC2 match access name PC2 ! policy-map TRAFFIC class PC1 bandwidth 1024 class PC2 bandwidth 1024 ! int fa0/0 desc OUTSIDE service-policy output TRAFFIC !
acidsatyr wrote: » That makes sense, actually. Why is it not a good practice? Just one question; that queuing would work if that interface was limited to 2 Mbps, like if serial interface was clocked at 2Mbps; but how will it work on fa interface with 100Mbps? How can i force limit to 2 Mbps so that queuing triggers in the first place? Thanks you have been very helpful.
ColbyNA wrote: » What networker said will bring the congestion onto your device as opposed to the modem. Your idea isn't great practice because you appear to be using all of your bandwidth on only two IPs, you're not leaving anything for your class-default. You're applying any of this based on traffic type, which is normally how you would do this. Typically you classify traffic and serve it in tiers, so your voice/video/interactive traffic is given the highest priority with LLQ, then you use CBWFQ to guarantee your important, but less sensitive traffic. Last you would police your useless traffic like torrents, or music streaming, etc. This is obviously a very simplistic explanation, but hopefully you get the idea.
acidsatyr wrote: » I understand that; no objections; i just introduced this scenario so i could see if i'm on the right track. Since there is really only two computers in the network as of now, I wanted to split bandwidth between two hosts. Now to continue on this, would it be able to split traffic the way you mentioned for each of the hosts? Can i serve another policy that will, inside each of those 1024Kbps, divide bandwidth with LLQ, etc? Also you mentioned class-default; If the traffic must match one of two destination addresses; then what will go inside class-default? I would understand if i divided bandwidth based on traffic...right?
Forsaken_GA wrote: » Just match the bit torrent traffic, put it in it's own queue, and set a bandwidth limit on it. He'll have full access to the link when it's not busy, and when it is, the bittorrent traffic will only get the amount of traffic it's been designated. If you want to call that one meg, then that's fine. That will, of course effect you as well if you do any torrenting. Doing policing and shaping isn't really necessary for what you're trying to accomplish (and I don't recommend doing shaping if you deal with any interactive apps, ie, if you play WoW and have to use Ventrilo/TeamSpeak!). What you are trying to accomplish though, is bad design, so I understand your situation is simplistic, but try not to develop bad habits. Develop your home QoS policy like you if it was a job. Decide what traffic is most important, queue appropriately, and set your policies. The biggest problem with your design is that you're discriminating based on host, when you should be discriminating based on traffic type
acidsatyr wrote: » Hey Forsaken, Let's say i discriminate traffic based on importance - i still have to include shaping (ie. serve CBWFQ/LLQ to shaper policy-map) since that's the only way I can trigger queuing - correct? Since the link bandwidth in reality is 100mbps, there can never be congestion, does this make sense?
Compare salaries for top cybersecurity certifications. Free download for TechExams community.