- Home Page of ProjectGuideline.com ›
- Forums ›
- Get Help to do your B.E., and M.E., M.Tech., & M.S., Project in Ns2 ›
- How to refer to different mac in a multi-interface node
klyau
Participant
Hi All,
I have 2 interfaces within a node. The interfaces have different MAC address. I’m using 802.11.
In 802.11, index_ refers to an interface mac address.
My design requires communication between two interfaces at MAC layer. For instance, within a node, interface 0 can trigger interface 1 to do something.
My question is, how to refer to different interfaces? The index_ is just a MAC address, can’t trigger the interfaces to do something.
Thank you for your answer.
Regards,
KL
devums
Participant
http://personales.unican.es/aguerocr/files/ucMultiIfacesSupport.pdf
Take a look at page number 35. In that the author populate the interface list and use cmn->iFace to get the appropriate interface.