Multicast Routing

Multicasting

1092889-20171013225458387-644906775.png

  • Source S sends packets to multicast group G1 (and minimize the number of copies)

Reverse-Path Broadcasting (RPB)

  • Reverse-Path Broadcasting(反向路径广播)
  • Fact: Set of shortest paths to the source node S forms a shortest path tree that spans the network
    • Approach: Follow paths in reverse direction
  • Assume each router knows current shortest path to S
    • Upon receipt of a multicast packet, router records the packet’s source address and the port it arrives on
    • If shortest path to source is through same port (“parent port”), router forwards the packet to all other ports
    • Else, router drops the packet
  • Loops are suppressed; each packet forwarded a router exactly once
  • Implicitly assume shortest path to source S is same as shortest path from source

Example: Shortest Paths from S

1092889-20171013225723668-1750536000.png

  • Spanning tree of shortest paths to node S and parent ports are shown in read

Example: S sends a packet

1092889-20171013225901902-379538027.png

  • Node 1 forwards it to all other ports (links shown in blue)

Example: Hop 1 nodes broadcast

1092889-20171013230016949-698989786.png

  • Nodes 2, 3, 4, and 5 broadcast, except on parent ports

Example: Broadcast continues

1092889-20171013230200730-1973208980.png

  • All nodes, not only G1, receive packets

Truncated RPB (TRPB)

  • Truncated RPB (TRPB): Leaf routers do not broadcast if none of its attached hosts belong to packet’s multicast group

Internet Group Management Protocol

  • Internet Group Management Protocol (IGMP): allows a host to signal its multicast group membership to its attached router
  • Each multicast router periodically sends an IGMP query message to check whether there are hosts belonging to multicast groups
  • Routers determine which multicast groups are associated with a certain port
  • Routers only forward packets on ports that have hosts belonging to the multicast group

Reverse-Path Multicasting

  • Reverse Path Multicasting (RPM) relies on IGMP to identify multicast group membership
  • RPM is an enhancement of TRPB, but unlike TRPB, RMP forwards a multicast packet only to a router that will lead to a leaf router with group members.

转载于:https://www.cnblogs.com/vancasola/p/7745469.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值