marar
marar

Reputation: 55

Send message using MAC address on PC without IP in LAN

Need to send messages on PC without configured IP using MAC address in C language as a reply on PC's broadcast message. I suppose I should work with ethernet-header and use some (linux) kernel's structures and subroutines, however I couldn't find good links and samples about my question.

Upvotes: 4

Views: 1614

Answers (1)

Ale
Ale

Reputation: 166

Example of sending a raw Ethernet frame in Linux:

https://gist.github.com/austinmarton/1922600

Upvotes: 2

Related Questions