05.01.2013 Views

Ad Hoc Networks : Technologies and Protocols - University of ...

Ad Hoc Networks : Technologies and Protocols - University of ...

Ad Hoc Networks : Technologies and Protocols - University of ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

102 Multicasting in <strong>Ad</strong> <strong>Hoc</strong> <strong>Networks</strong><br />

4<br />

5<br />

6<br />

Increase the Hop Count field by 1 <strong>and</strong> decrease the TTL field by 1.<br />

If the TTL field value is less than or equal to 0, then discard the packet.<br />

DONE.<br />

If the TTL field value is greater than 0, then set the node’s IP <strong>Ad</strong>dress<br />

into Last Hop IP <strong>Ad</strong>dress field <strong>and</strong> broadcast. DONE.<br />

Figure 4.6. Format <strong>of</strong> JOIN Reply packet.<br />

A multicast receiver transmits a “Join Reply” packet after selecting the multicast<br />

route. Each sender IP address <strong>and</strong> next hop IP address <strong>of</strong> a multicast<br />

group are contained in the Join Reply packet. Figure 4.6 shows the format <strong>of</strong> a<br />

JOIN Reply packet.<br />

When a Join Reply is received:<br />

1<br />

2<br />

3<br />

The node looks up the Next Hop IP <strong>Ad</strong>dress field <strong>of</strong> the received Join<br />

Reply entries. If no entries match the node’s IP <strong>Ad</strong>dress, do nothing.<br />

DONE.<br />

If one or more entries coincide with the node’s IP <strong>Ad</strong>dress, set the<br />

FG_FLAG <strong>and</strong> build its own Join Reply. The next hop IP address can be<br />

obtained from the routing table.<br />

Broadcast the Join Reply packet to the neighbor nodes. DONE.<br />

One salient feature <strong>of</strong> ODMRP is the s<strong>of</strong>t state approach in maintaining multicast<br />

group members. For each member, the group membership is periodically<br />

renewed by the rounds <strong>of</strong> request/reply procedure. Once a member wants to<br />

leave a group, no additional signaling is needed. It simply just stops responding<br />

to the Join Query packets. This feature is very suitable for the mobile ad

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!