arp

arp protocol, mac and ip

Hello, interested in ARP and wanted to check. ARP protocol is used found MAC and IP addresses, yes? How is it different from this: IPHostEntry iphostentry = Dns.GetHostByName(strHostName); ...

How to get the MAC address prior to connection?

I have a situation where I ping a range of IPs in the network. Then, I try to connect to the successful pings. My aim is to connect to specific equipment that has a specific MAC prefix. For example, when I ping a range of 100 IPs, I might get 20 replies. These replies include computers, printers, and possibly the hardware I am trying to...

how to broadcast ARP packet in C#

Hi, I want to send ARP packet through C#. I dont know how to form ARP packet(format) in C# . Can anybody help on this ? Plus how to send arp packet or broadcast it. Any sample code is highly appreciated. Thanks in Advance. ...

using libnet to send ARP request, but arp cache won't update after getting the ARP reply

Hi, I need to look up MAC address in the local network and I'm using Linux. What I do is send a ARP request with libnet, but after I send 3 requests, the cache still won't update. I use wireshark to catch the packets. From wireshark, I did get 3 ARP replays, after each of my ARP request. Does anyone know how come the ARP cache won't ...

Resolve iPhone/iPod/Mac computers connected to a local LAN

Is it possible to easily resolve all Apple OSX devices connected to a single LAN network (the same switch / hub is enough)? I know OSX provides Bonjour service and you can easily query other Macs connected to the network. But I am not sure whether iPhone / iPods provide similar identification. The identification should be device id - in...

Software to Generate False ARP Requests?

Edit: Answered on serverfault. Thanks! A product I'm testing appears to freak out when it receives an ARP request with a Sender IP Address of 0.0.0.0. This is not an ARP probe, as the request is addressed to my module, and the customer's system sends the request just before it starts using its own valid IP address, which is different...

Detect WOL possibility

I'd like to detect if Wake On Lan is possible. On my router (Tomato firmware) there is a table with info - when displays device "Active (In ARP)" - it's possible to turn this device by WOL (offline linux pc). I wonder if it is achieved by router only function or I can do this in C# or C? Function SendArp can detect MAC adress and do ...

How to create static ARP cache entries programatically in Windows XP

Is there are way to set ARP cache entry in C#? The only way I have found is related to use of arp utility Address Resolution Protocol Static entries added with the arp -s command are not expired from the cache. There are related post about How do I access ARP-protocol information through .NET? ...