Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: (OT) Getting the source hardware address of received UDP packets?

by ikegami (Patriarch)
on Jun 02, 2006 at 17:32 UTC ( [id://553342]=note: print w/replies, xml ) Need Help??


in reply to Re^2: (OT) Getting the source hardware address of received UDP packets?
in thread (OT) Getting the source hardware address of received UDP packets?

It is possible to make DHCP requests to a server outside of one's LAN*, but only because DHCP allows you to specify your MAC address inside of your request. The DHCP request looks a bit like "My MAC address is 00:00:00:00:00:00. Please give me an IP address." In other words, the client must explicitly place the MAC address in the DHCP request. There's no IP or UDP (or even TCP) solution to your problem.

You can do the same as DHCP — have the clients send their MAC address along with their request — with your UDP-based protocol if you're still developing the protocol.

* — That requires the co-operation of the gateway, but only because the machine doesn't have an IP address yet.

  • Comment on Re^3: (OT) Getting the source hardware address of received UDP packets?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://553342]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-24 19:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found