Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
How can we get the Ip address of the destination machine in wireless media ,by only sending packet with its mac address and its Ip adress as
0.0.0.0 .condition is host and Access point are not in the same network.
Ex::If we want know the ip address of access point when we only have its mac addess only and .condition is host and Access point are not in the same network.
I had to read your two posts very thoroughly to be able to notice the difference. I think it would have been much clearer if you thanked angrybeaver for his reply and explained why it wasn't exactly what you needed.
Anyway, as far as I know, there is no generic solution to your problem. MAC adresses have a meaning only within their subnet. So if you have a mac address, the only way to get the ip address is by querying a computer that is already on the same network. angrybeavers solution is the best way to go.
But I think I have not clearly mentioned my problem. I have a Host Machine(HM) and AccessPoint (AP) . The HM get associated, authenticated and authorized by the AP. On radio. This we can see by issuing –
This gives us the SSID and MAC address of the AP.
Now I want to know the AP ‘s IP address so that I can set the IP address of the HM.
I'm not sure I fully understand what you are trying to do. I would expect that during association, authentication and authorization, you also are assigned an IP address using DHCP. So I'm not sure why you would want to sent the IP address of the host machine.
On the other hand, since both HM and AP are on the same network angrybeavers suggestion should work. Doesn't it for you?
I can't add much more than what has already been posted, but just because you get an association with a WAP, doesn't necessarily mean that the WAP is going to route layer 3. That depends on the AP's configuration. If you do not know the WAP's layer 3 configuration, then I can only assume you are trying to use a "possibly" unsecured WAP.
FWIW: I have AP's that are configured to hand-out rotating WEP keys, so anyone can get an association. But if the client does not authenticate using a protocol like LEAP etc... (after receiving the WEP key), then all you have is an association, nothing more. I even configured my wireless client with the proper IP address/netmask (I manage the WAP's) and was still not able to get on the network without the additional authentication. Which was my goal in testing the AP's security configuration for wireless VoIP based phones.