When connecting two devices with Wifi in ad-hoc mode is there a standard way of assigning IP addresses? E.g. is DHCP used, static addresses, or link local addresses? How would one device know the IP of the other?
closed as not a real question by Nifle, Aaron Miller, Breakthrough, Canadian Luke, techie007 May 18 '13 at 0:36
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
You can do it however you want. If you want to make one node a DHCP server, you can do that. If you want to assign each node an IP address manually, you can do that.
As for how one device would know the IP address of the other, it depends on why that node would need to know. How do you know someone's phone number? Well, if they're someone you know personally, you ask them. If they're a business, you look it up by their business name. And so on. Similarly, for every reason you might want to know an IP address, there should be a corresponding way you find it out.