Get mac address of remote pc linux9/15/2023 ![]() Meaning the wire connects two interfaces so the only think I need is to just use that wire and send something to it which will get me the remote interface MAC. Now the question: I want to detect from computer A to which interface on computer B is network interface ethA (on computer A) connected and get its mac address. On computer B i dont configure anything, but i take up every interface On computer A I configure an interface ethA to have an IP and take it up (ifconfig ethA IP up) Those computers are running linux, there is no network manager, network interfaces are managed statically My idea is to just send something on the wire and get the other end to response with mac address. ![]() Now I would like to get the mac address of the other end (network interface on second computer), is there a way to do this? 4 network interfaces 2 of them are connected (one computer to another), now I know that on the first computer I will use eth0 and I assign an IP to it. ![]() What I mean is: I have two computers interconnected, each have e.g. Is there a way to get a remote (next hop) mac address with only knowing local interface name through with I will be sending traffic?
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |