0

I want to capture wireless packets with multiple routers using tcpdump. I can capture wireless packets with just one router but I want to capture with multiple routers simultaneously and send it to a computer.

So, to do this I need SSH to every router. and I need a switch to SSH to routers. Here is an example setup: see

I will be able to start capturing packets and change wireless frequencies simultaneously with SSH connection with every router.

But SSH requires an IP address. As far as I know unmanaged switches does not have a DHCP server. So these routers will not be assigned to an IP address.

So the question is: Can I SSH to routers connected with an unmanaged switch from a computer which connected to the same switch, or do I need a managed switch?

2
  • If you don't have a DHCP server you can manually assigned addresses to a router. Most routers by default have their own DHCP service enabled. You would want to disable that if you don't intend to use it.
    – Ramhound
    Commented Nov 9, 2021 at 16:00
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Commented Nov 9, 2021 at 16:01

1 Answer 1

0

Managed vs unmanaged doesn't matter. It is usually not the job of a switch, in general, to serve DHCP. There are some switches which do serve DHCP, but the vast majority of even managed switches do not.

Instead, this is usually the job of either a router or a dedicated server. If the network doesn't have a router which could do it, then a DHCP server could be run on your own PC – several are available for Linux (e.g. dnsmasq, isc-dhcpd, kea), macOS (e.g. bootpd), and even for Windows.

1
  • I think I can do it with isc-dhcp-server. Thanks for your answer!
    – bhdrozgn
    Commented Nov 9, 2021 at 16:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .