Як контролювати мережевий трафік

Навіщо контролювати вашу мережу?

Це може здатися надто технологічним або надмірним, шпигувати за всім трафіком, що проходить через вашу домашню мережу, але це може допомогти надати цінну інформацію про продуктивність вашої мережі.


Ви дізнаєтеся, які саме пристрої або навіть конкретні програми використовують пропускну здатність. За допомогою моніторингу мережі ви можете дізнатися, де ваші комп'ютери підключаються і скільки даних вони відправляють або отримують. Тоді ви зможете виправити будь-які проблеми і краще використовувати свою мережу.

Існує багато способів моніторингу вашої мережі. Три детально тут, ймовірно, є найбільш поширеними і зручними.

За допомогою вашого роутера

У кожного є маршрутизатор, і ви можете отримати до нього доступ практично з будь-якого пристрою у вашій мережі. Весь ваш трафік вже проходить через маршрутизатор, тому він є самим прямим джерелом інформації про те, що відбувається в мережі.

  1. Вам потрібно буде дізнатися IP-адресу вашого маршрутизатора. Для більшості маршрутизаторів це168.1.1, якщо хтось не змінив його. Якщо ви не впевнені, відкрийте командний рядок і запустіть ipconfig. На Mac і Linux запустіть ip r. У Windows IP-адреса вашого маршрутизатора вказана як шлюза. У Linux це буде типово через.
  2. Відкрийте веб-браузер і введіть IP-адресу маршрутизатора в адресний рядок. Це схоже на перегляд веб-сайту, тому натисніть Enter після введення IP-адреси.
  3. Ймовірно, вам буде запропоновано ввести ім'я користувача і пароль адміністратора вашого маршрутизатора, перш ніж ви зможете продовжити. Якщо ви не встановили їх самостійно, ймовірно, це зробив ваш провайдер. Шукайте будь-яку документацію, яку вони, можливо, надали для входу.
  4. Кожен маршрутизатор індивідуальний, як і їхні інтерфейси. При першому вході до більшості ви потрапите на сторінку основного стану. Він покаже вам інформацію про вашого маршрутизатора і вашу мережу, яка може бути корисною, але не надто поглибленою. Спробуйте знайти посилання на Список пристроїв, щоб дізнатися, які пристрої з'єднані до мережі.
  5. Your router’s device list will show you the IP addresses of the devices connected to the network. It may even provide a bit of information about what they are. You will usually see a computer’s name next to the IP, if one was set. Here, you’ll also be able to see connection information for Wi-Fi devices, including their signal quality and the available bandwidth.
  6. Have a look around for a Status section on your router. You might be lucky enough to even have a specific Bandwidth or Network Monitoring It’s under a section like this that you’ll be able to find more data about bandwidth usage of specific devices by IP address.
  7. When you locate your router’s traffic or bandwidth monitoring sections, you’ll be able to see which devices are using the most bandwidth. You’ll see transmission rates and other useful stats. In some cases, you may find graphs and even real-time monitoring that provide visualization of what’s happening on your network.
  8. With this information, you’ll be able to find out what your networks biggest hogs are and what devices might be struggling to get a decent signal. You’ll also be able to see if anyone’s weaseled their way onto your network when they shouldn’t be there.

Wireshark

Wireshark is an open-source tool for packet filtering. If you don’t know what packet filtering is, it’s a much lower level network management task, so Wireshark can be considered overkill for simply viewing traffic on your network. That said, it can absolutely get the job done. Plus, it’s free and available for Windows, Mac, and Linux.

  1. Open your browser and head to the Wireshark download page, and grab the latest installer for your operating system.

If you’re on Linux, Wireshark is probably in your distribution’s repositories. Ubuntu and Debian users should install Wireshark with:

$ sudo apt install wireshark


  1. Run the Wireshark installer. Everything should be straightforward, and the default options will work in almost every case.
  2. Open up Wireshark
  3. If Wireshark looks confusing at first, don’t worry. You don’t need to know much about it for the basics. Select Edit and Preferences in the top menu to set one option that you’ll need.
  4. A new window will open up. Locate Capture in the left side list and select it.
  5. The body of the window will shift to display the capture options. Make sure that Capture packets in promiscuous mode is checked. Press Ok when it is.

Using Wireshark in promiscuous mode on a network that you don’t own is not legal. Be sure to only do this on your own network.

  1. Back on the main Wireshark window, there are two icons that you’ll need in the main menu. The blue Shark Fin icon starts the Wireshark capture process that records network activity. The red Square stops the capture. You’ll be able to review and even save the data after the capture. Press the Fin to start.
  2. Let the capture run for a bit. If there’s something that you’ve been having a problem with on your network, try to recreate those circumstances. With any luck, Wireshark will capture the moment the problem occurs, and you’ll be able to take a look at what happened.
  3. After you’re satisfied with the amount of info you collected, press the red Square to stop the capture.
  4. Take a look at the results. In the top section of the window, you’ll see the different packets collected by Wireshark. Each one will have an IP address that sent the packet and one that received it. You’ll also see the network protocol of each. When you select one, you’ll be able to sift through the packet data in the box below. The lowest option on the list generally contains the most “human readable” portion of information. If the packet was encrypted, though, you won’t see much.
  5. Keep looking through. Try to use the timestamps to locate the exact moment that your problem occurred. Hopefully, there will be relevant information available. If you want to know more about Wireshark, check out the complete Wireshark tutorial.

COM_SPPAGEBUILDER_NO_ITEMS_FOUND