In what I've seen in wireless 802.11, mac address = IP address, but of the way the code it works, the arp module must get the mac address from a given ip address (just like in real networks).
I suggest you to check how this is done, in a stable simple 802.11scnenario, and recreate what you learn in zigbee Pedro Estrela On 11/01/2008, juan manuel gomez garcia <[EMAIL PROTECTED]> wrote: > > Hi ns-users: > > During last year I was realizing my master thesis about zigbee routing > protocol. I do my own ns-2 version of zigbee routing protocol. Like any > routing protocol, it use the IP address to identify all nodes. > BUT I use the ns-2 wpan code to realize the MAC and physical level. At the > MAC level, there is a association function that assign a logical address to > all nodes to create a tree. This address is diferent that IP address. > How I can convert the IP address of the nodes to this logical > address? When my node receives a packet, it has a IP address. How I can use > the MAC address? > > Thank you very much. > > > ------------------------------ > Tecnología, moda, motor, viajes,.suscríbete a nuestros boletines para > estar siempre a la última MSN > Newsletters<http://newsletters.msn.com/hm/maintenanceeses.asp?L=ES&C=ES&P=WCMaintenance&Brand=WL&RU=http%3a%2f%2fmail.live.com> > -- ------- Eng. Pedro Vale Estrela, PhD Researcher at INESC-ID, Lisbon PhD Computer Science / IP Mobile Networks at IST/TU Lisbon CV: http://tagus.inesc-id.pt/~pestrela Email: [EMAIL PROTECTED] Mobile: (+351) 91 8134653 Work: (+351) 21 4233285