How to find subnet information of the src host from packet?

Hi Experts,

I need to find the subnet of the src host from packet. Is there any fields i should be looking at to find that information in a packet.

Thank you
ashwin86Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Luis ChiangConnect With a Mentor Commented:
Actually you can't get that just from the ip packet by itself, the ip packet just contains the source and destination ip . You can have an idea of the subnet but no the exact subnet the host belongs to. If you sniff arp request you may have a better idea the subnet used just keeping a record of the destination asked
0
 
LeoCommented:
0
 
omarfaridConnect With a Mentor Commented:
I think not possible
0
 
omarfaridCommented:
The IP packet will not contain any subnet info.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.