Find the neighbor IP address from their MAC address

59 views
Skip to first unread message

Ammar Alhosainy

unread,
Mar 5, 2017, 8:56:04 PM3/5/17
to ns-3-users
How can I find the neighbor IP address from their MAC address at the network layer ?

Thanks

Tommaso Pecorella

unread,
Mar 6, 2017, 8:49:06 AM3/6/17
to ns-3-users
You can't without a "God mode" trick.

T

Ammar Alhosainy

unread,
Mar 6, 2017, 9:35:35 AM3/6/17
to ns-3-users
But why I can't find it in the arp protocol ?

Tommaso Pecorella

unread,
Mar 6, 2017, 8:03:23 PM3/6/17
to ns-3-users
You'll find in the ARP table once the two nodes will establish a communication, not before. Also, mind that the ARP cache is periodically purged...

T.
Reply all
Reply to author
Forward
0 new messages