[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Two questions about wireless broadcasting



Hi everyone,

  I have two questions about wireless model in ns.
  
  1.If I want to send a broadcast packet only to my neighbors at network
    layer, can I set destination ip address = IP_broadcast and ttl=1?
  
  2.The same situation as question 1 but at link layer,
    is it right that only setting MAC address = MAC_broadcast?
    Should I set ip address at link layer?

    Thanks.

zoe