Ask Your Question

How to capture packets between 2 IP’s

asked 2021-08-09 02:27:56 +0000

GarryB gravatar image

I am trying to capture date between to devices on the same network. How do I go about

edit retag flag offensive close merge delete


Not much to go on in your question. PLease elaborate more on what you want to achieve and what your network looks like. (What hosts? what sort of network? switches? routers?)

hugo.vanderkooij gravatar imagehugo.vanderkooij ( 2021-08-09 07:19:39 +0000 )edit

Sorry about the detail

I wish to capture the traffic between the PC I am on ( and the Router ( with two Switches in between.

Cheers GarryB

GarryB gravatar imageGarryB ( 2021-08-10 00:40:48 +0000 )edit

3 Answers

Sort by » oldest newest most voted

answered 2021-08-10 06:23:03 +0000

atux_null gravatar image

since it is a switched network you might get into issues. Best solution is to connect directly to the router or mirror on one port of the switch the rest of the ports. Then get to the filters of the wireshark and type

ip.addr == && ip.addr== is the router IP and is the PC IP.

edit flag offensive delete link more

answered 2021-08-09 07:34:10 +0000

grahamb gravatar image

As you're most likely capturing on a switched network capturing on two other devices isn't trivial, see the Wiki page on Ethernet Capture setup, particularly the sections on switched networks.

edit flag offensive delete link more

answered 2021-08-09 06:23:34 +0000

7ACE gravatar image

Try to capture on host A,then apply a capture filter for host B.

host xx.xx.xx.xx

or link :

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2021-08-09 02:27:56 +0000

Seen: 124 times

Last updated: Aug 09