CCIE-16-PIM

news2024/12/23 10:54:01

目录

  • 实验条件
    • 网络拓朴
    • 实验环境
    • 实验目的
  • 开始实验
    • 实验1:PIM-DM
      • 配置PIM域中的路由,开启PIM-DM组播路由功能,
      • 验证组播情况
    • 实验2:PIM-SM(静态RP)
      • 配置PIM域中的路由,开启PIM-SM组播路由功能,并指定RP
    • 实验3:PIM-SM(auto-RP)
      • 开启PIM-SM组播路由功能
      • 验证结果
    • 实验4:PIM-SM(auto-RP)
      • 开始配置
      • 验证结果

实验条件

网络拓朴

在这里插入图片描述

实验环境

在这里插入图片描述

实验目的

实验组播功能

开始实验

实验1:PIM-DM

  1. R1/R2/R3/R5在一个PIM域中,这4台路由器需要开启组播路由功能,同时相应接口需要运行PIM-SM,从而为组播流量进行路由;
  2. R7/R8/R9模拟主机,分别模拟加入到不同的组播组当中
  3. R5模拟组播末节路由器,需要与主机R7/R8/R9之间通过IGMP进行通信

查询配置发现R7/R8/R9已经通过igmp-join分别加入了不同或相同的组播组,查看加入的组播情况

R7#show ip igmp groups
IGMP Connected Group Membership
Group Address    Interface                Uptime    Expires   Last Reporter   Group Accounted
239.1.1.1        Ethernet0/0              00:06:23  never     192.168.2.1     
239.1.1.3        Ethernet0/0              00:06:23  never     192.168.2.1     


R8#show ip igmp groups
IGMP Connected Group Membership
Group Address    Interface                Uptime    Expires   Last Reporter   Group Accounted
239.1.1.1        Ethernet0/0              00:07:33  never     192.168.2.1     
239.1.1.3        Ethernet0/0              00:07:33  never     192.168.2.1     
239.1.1.2        Ethernet0/0              00:07:33  never     192.168.2.2 

R9#show ip igmp groups
IGMP Connected Group Membership
Group Address    Interface                Uptime    Expires   Last Reporter   Group Accounted
239.1.1.3        Ethernet0/0              00:07:57  never     192.168.2.1     
239.1.1.2        Ethernet0/0              00:07:57  never     192.168.2.3     

三组组播:
Group1:239.1.1.1 R7、R8
Group1:239.1.1.2 R8、R9
Group1:239.1.1.3 R7、R8、R9

配置PIM域中的路由,开启PIM-DM组播路由功能,

R1:
conf t
ip multicast-routing
interface range e0/0-2
 ip pim dense-mode

R2:
conf t
ip multicast-routing
interface range e0/0-1
 ip pim dense-mode

R3:
conf t
ip multicast-routing
interface range e0/1-2
 ip pim dense-mode


R5:
conf t
ip multicast-routing
interface range e0/0, e0/2
 ip pim dense-mode

验证组播情况

在R6模拟发出组播流量之前,观察各组播路由器的组播路由表情况。

  1. 发起组播流量前:R1/R2/R3/R5组播路由表暂没有形成(S,G)的表项:
    下图是R5上查看的结果,只有组成员发送IGMP report后形成的(*,G)项,无任何(S,G)表项,其他R1/R2/R3也都不会形成
R5#show ip mroute   
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
       L - Local, P - Pruned, R - RP-bit set, F - Register flag,
       T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
       X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
       U - URD, I - Received Source Specific Host Report, 
       Z - Multicast Tunnel, z - MDT-data group sender, 
       Y - Joined MDT-data group, y - Sending to MDT-data group, 
       G - Received BGP C-Mroute, g - Sent BGP C-Mroute, 
       N - Received BGP Shared-Tree Prune, n - BGP C-Mroute suppressed, 
       Q - Received BGP S-A Route, q - Sent BGP S-A Route, 
       V - RD & Vector, v - Vector, p - PIM Joins on route, 
       x - VxLAN group
Outgoing interface flags: H - Hardware switched, A - Assert winner, p - PIM Join
 Timers: Uptime/Expires
 Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 239.1.1.1), 00:43:35/00:02:27, RP 0.0.0.0, flags: DC
  Incoming interface: Null, RPF nbr 0.0.0.0
  Outgoing interface list:
    Ethernet0/2, Forward/Dense, 00:43:35/stopped
    Ethernet0/0, Forward/Dense, 00:43:35/stopped

(*, 239.1.1.3), 00:43:35/00:02:25, RP 0.0.0.0, flags: DC
  Incoming interface: Null, RPF nbr 0.0.0.0
  Outgoing interface list:
    Ethernet0/2, Forward/Dense, 00:43:35/stopped
    Ethernet0/0, Forward/Dense, 00:43:35/stopped

(*, 239.1.1.2), 00:43:35/00:02:25, RP 0.0.0.0, flags: DC
  Incoming interface: Null, RPF nbr 0.0.0.0
  Outgoing interface list:
    Ethernet0/2, Forward/Dense, 00:43:35/stopped
    Ethernet0/0, Forward/Dense, 00:43:35/stopped

(*, 224.0.1.40), 00:43:36/00:02:46, RP 0.0.0.0, flags: DCL
  Incoming interface: Null, RPF nbr 0.0.0.0
  Outgoing interface list:
    Ethernet0/2, Forward/Dense, 00:43:35/stopped
    Ethernet0/0, Forward/Dense, 00:43:36/stopped
  1. R6模拟发出组播流量
R6#ping 239.1.1.1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.1.1.1, timeout is 2 seconds:

Reply to request 0 from 192.168.2.1, 26 ms
Reply to request 0 from 192.168.2.1, 47 ms
Reply to request 0 from 192.168.2.2, 47 ms
Reply to request 0 from 192.168.2.2, 26 ms
R6#ping 239.1.1.1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.1.1.1, timeout is 2 seconds:

Reply to request 0 from 192.168.2.1, 1 ms
Reply to request 0 from 192.168.2.2, 1 ms
R6#

再次观察R1/R2/R3/R5组播路由表,已形成(S,G)表项

R1#show ip mroute
......
(*, 239.1.1.3), 00:01:39/stopped, RP 0.0.0.0, flags: D
  Incoming interface: Null, RPF nbr 0.0.0.0
  Outgoing interface list:
    Ethernet0/2, Forward/Dense, 00:01:39/stopped
    Ethernet0/1, Forward/Dense, 00:01:39/stopped

(192.168.1.1, 239.1.1.3), 00:01:39/00:01:20, flags: T
  Incoming interface: Ethernet0/0, RPF nbr 0.0.0.0
  Outgoing interface list:
    Ethernet0/1, Prune/Dense, 00:01:39/00:01:20
    Ethernet0/2, Forward/Dense, 00:01:39/stopped

R2#show ip mroute
......
(*, 239.1.1.3), 00:02:03/stopped, RP 0.0.0.0, flags: D
  Incoming interface: Null, RPF nbr 0.0.0.0
  Outgoing interface list:
    Ethernet0/1, Forward/Dense, 00:02:03/stopped
    Ethernet0/0, Forward/Dense, 00:02:03/stopped

(192.168.1.1, 239.1.1.3), 00:02:03/00:00:56, flags: PT
  Incoming interface: Ethernet0/1, RPF nbr 12.1.1.1
  Outgoing interface list:
    Ethernet0/0, Prune/Dense, 00:02:03/00:00:58

......

上面模拟向239.1.1.1组中发起1个包的流量,第一次发起时由R7/R8组成员分别回复,但是会发现每个组成员均回复了2次,
原因分析:R2、R3作为运行了PIM-DM的路由器,处在一个MA网络中,当有第一次组播流量触发后,会发assert声明报文进行DR选举,但第一次的流量仍然会下发,所以R7、R8会各自接收到R2和R3共2份包,所以就各回复1份;当DR选举完后(R3成为assert winner),所以后续该组播流量就只有R3进行转发,R2会发prune报文进行修剪!
在这里插入图片描述
实现结果表明:

  1. PIM-DM模式是先进行组播流量的push
  2. 组播流量触发后,各运行PIM-DM的路由器才会形成组播路由表(S,G),形成SPT源树!
  3. 在MA网络中, Assert声明选举DR失败的一方,将发送prune进行修剪(还有其他可能造成prune的情况,本次实验没有涉及)。

实验2:PIM-SM(静态RP)

PIM域为R1/R2/R3/R5,静态指定R3为RP
R1/R2/R3/R5开启组播路由功能,并配置PIM-SM,每台PIM路由器均手工指定R3为RP
(R3上也要指定自己为RP)

重置实验LAB,再来配置实验,以免之前的配置干扰

配置PIM域中的路由,开启PIM-SM组播路由功能,并指定RP

R1:
conf t
ip multicast-routing
interface range e0/0-2
 ip pim sparse-mode
ip pim rp-address 3.3.3.3 override

R2:
conf t
ip multicast-routing
interface range e0/0-1
 ip pim sparse-mode
ip pim rp-address 3.3.3.3 override

R3:
conf t
ip multicast-routing
interface range e0/1-2
 ip pim sparse-mode
ip pim rp-address 3.3.3.3 override


R5:
conf t
ip multicast-routing
interface range e0/0, e0/2
 ip pim sparse-mode
ip pim rp-address 3.3.3.3 override

这里不指定override会让静态指定的RP无效。因为思科路由器会默认开启其它类型的RP协议
这里指定R3为RP(其lo0已经在IGP里通告,可以被其他PIM路由器学习到,该lo0无需接收组播流量,可以不用开启PIM-SM)

  1. R6模拟发出组播流量前:R5会接受R7/R8/R9的IGMP-join的report报文,本身会形成(,G)表项,同时R5会从RPF接口沿着RP方向发送(,G)join报文形成共享树!
    分析:对于本拓扑来说,由于R3被静态指定成RP,所以R5会从RPF接口e0/2发出(*,G)join,被R3-e0/1接收到

R5上观察组播路由表:静态RP为3.3.3.3

R5#show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
       L - Local, P - Pruned, R - RP-bit set, F - Register flag,
       T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
       X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
       U - URD, I - Received Source Specific Host Report, 
       Z - Multicast Tunnel, z - MDT-data group sender, 
       Y - Joined MDT-data group, y - Sending to MDT-data group, 
       G - Received BGP C-Mroute, g - Sent BGP C-Mroute, 
       N - Received BGP Shared-Tree Prune, n - BGP C-Mroute suppressed, 
       Q - Received BGP S-A Route, q - Sent BGP S-A Route, 
       V - RD & Vector, v - Vector, p - PIM Joins on route, 
       x - VxLAN group
Outgoing interface flags: H - Hardware switched, A - Assert winner, p - PIM Join
 Timers: Uptime/Expires
 Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 239.1.1.1), 00:04:14/00:02:45, RP 3.3.3.3, flags: SJC
  Incoming interface: Ethernet0/2, RPF nbr 2.3.5.3
  Outgoing interface list:
    Ethernet0/0, Forward/Sparse, 00:04:13/00:02:45

(*, 239.1.1.3), 00:04:14/00:02:46, RP 3.3.3.3, flags: SJC
  Incoming interface: Ethernet0/2, RPF nbr 2.3.5.3
  Outgoing interface list:
    Ethernet0/0, Forward/Sparse, 00:04:13/00:02:46

(*, 239.1.1.2), 00:04:13/00:02:46, RP 3.3.3.3, flags: SJC
  Incoming interface: Ethernet0/2, RPF nbr 2.3.5.3
  Outgoing interface list:
    Ethernet0/0, Forward/Sparse, 00:04:13/00:02:46

R3上观察组播路由表:R3接收到(*,G)join报文后,会在组播路由表形成(*,G)表项

R3(config)#do show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
       L - Local, P - Pruned, R - RP-bit set, F - Register flag,
       T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
       X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
       U - URD, I - Received Source Specific Host Report, 
       Z - Multicast Tunnel, z - MDT-data group sender, 
       Y - Joined MDT-data group, y - Sending to MDT-data group, 
       G - Received BGP C-Mroute, g - Sent BGP C-Mroute, 
       N - Received BGP Shared-Tree Prune, n - BGP C-Mroute suppressed, 
       Q - Received BGP S-A Route, q - Sent BGP S-A Route, 
       V - RD & Vector, v - Vector, p - PIM Joins on route, 
       x - VxLAN group
Outgoing interface flags: H - Hardware switched, A - Assert winner, p - PIM Join
 Timers: Uptime/Expires
 Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 239.1.1.1), 00:02:47/00:02:37, RP 3.3.3.3, flags: S
  Incoming interface: Null, RPF nbr 0.0.0.0
  Outgoing interface list:
    Ethernet0/1, Forward/Sparse, 00:02:47/00:02:37

(*, 239.1.1.3), 00:02:47/00:02:39, RP 3.3.3.3, flags: S
  Incoming interface: Null, RPF nbr 0.0.0.0
  Outgoing interface list:
    Ethernet0/1, Forward/Sparse, 00:02:47/00:02:39

(*, 239.1.1.2), 00:02:47/00:02:39, RP 3.3.3.3, flags: S
  Incoming interface: Null, RPF nbr 0.0.0.0
  Outgoing interface list:
    Ethernet0/1, Forward/Sparse, 00:02:47/00:02:39

以上从R5的RPF接口开始沿着RP方向到R3之间会形成共享树!

R2上观察组播路由表:由于R2不是RP,同时也不在R5的RPF口沿着RP方向的链路上,所以R2上不会接收到(,G)join报文,不会形成(,G)表项:

R2(config)#do show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
       L - Local, P - Pruned, R - RP-bit set, F - Register flag,
       T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
       X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
       U - URD, I - Received Source Specific Host Report, 
       Z - Multicast Tunnel, z - MDT-data group sender, 
       Y - Joined MDT-data group, y - Sending to MDT-data group, 
       G - Received BGP C-Mroute, g - Sent BGP C-Mroute, 
       N - Received BGP Shared-Tree Prune, n - BGP C-Mroute suppressed, 
       Q - Received BGP S-A Route, q - Sent BGP S-A Route, 
       V - RD & Vector, v - Vector, p - PIM Joins on route, 
       x - VxLAN group
Outgoing interface flags: H - Hardware switched, A - Assert winner, p - PIM Join
 Timers: Uptime/Expires
 Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 224.0.1.40), 00:02:55/00:02:12, RP 3.3.3.3, flags: SJPL
  Incoming interface: Ethernet0/0, RPF nbr 2.3.5.3
  Outgoing interface list: Null

R2(config)#
  1. R6模拟发出组播流量:R1与R3形成GRE-tunnel,然后将组播报文封装成单播发送一个register报文,沿着GRE隧道发送给RP进行注册,RP将报文拆包还原成组播沿着共享树的方向发给R5,同时RP发送register-stop报文给R1,R1-R3之间形成SPT源树!
    以下是R3上的组播路由表:
    在这里插入图片描述
R1(config)#do show ip int br
Interface                  IP-Address      OK? Method Status                
......   
Loopback0                  1.1.1.1         YES TFTP   up                    up      
Tunnel0                    13.1.1.1        YES unset  up                    up      
R1(config)#do show int tunnel0
Tunnel0 is up, line protocol is up 
  Hardware is Tunnel
  Description: Pim Register Tunnel (Encap) for RP 3.3.3.3
  Interface is unnumbered. Using address of Ethernet0/2 (13.1.1.1)
  MTU 17912 bytes, BW 100 Kbit/sec, DLY 50000 usec, 
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation TUNNEL, loopback not set
  Keepalive not set
  Tunnel linestate evaluation up
  Tunnel source 13.1.1.1 (Ethernet0/2), destination 3.3.3.3
   Tunnel Subblocks:
      src-track:
         Tunnel0 source tracking subblock associated with Ethernet0/2
          Set of tunnels with source Ethernet0/2, 1 member (includes iterators), on interface <OK>
  Tunnel protocol/transport PIM/IPv4
  Tunnel TTL 255
  Tunnel transport MTU 1472 bytes
  Tunnel is transmit only
......
R1(config)#

以上实验表明:

  1. PIM-SM是last-hop路由器先沿着RP方向发送join报文形成(*,G)表项,首先构造出一个共享树;
  2. first-hop到RP之间通过通过GRE隧道发送register报文和register-stop,RP通过反向溯源的方式,成功构造出一个源树;
  3. 当R5溯源成功后,从RPF口沿着到source的方向沿途形成(S,G),于是完成SPT切换;
  4. 后续组播流量沿着SPT源树进行下发

实验3:PIM-SM(auto-RP)

将R1作为MA,R2/R3作为C-RP,为保证RP相关报文能顺利从PIM-SM接口泛洪,本实验主要是要让R5也能接收,则R2和R3开启autorp listen功能,使得在还没有选出RP的情况下,有关RP选举报文能泛洪出去被R5接收到!

开启PIM-SM组播路由功能

注:由于R1要配置成MA,并配置其lo0要发送rp-discovery报文而都要配置C-RP,并配置其lo0要能发送rp-announce报文

R1:
conf t
ip multicast-routing
interface range e0/0-2
 ip pim sparse-mode
interface lo 0
 ip pim sparse-mode
ip pim send-rp-discovery loopback 0 scope 255
ip pim autorp listener

R2:
conf t
ip multicast-routing
interface range e0/0-1
 ip pim sparse-mode
interface lo 0
 ip pim sparse-mode
ip pim send-rp-announce loopback 0 scope 255
ip pim autorp listener

R3:
conf t
ip multicast-routing
interface range e0/1-2
 ip pim sparse-mode
interface lo 0
 ip pim sparse-mode
ip pim send-rp-announce loopback 0 scope 255

R5:
conf t
ip multicast-routing
interface range e0/0, e0/2
 ip pim sparse-mode

验证结果

  1. 查看RP选举情况:
    在MA上查看RP选举情况:R3被选举为RP(选举IP地址大的成为RP)
R1#show ip pim rp mapping in-use 
PIM Group-to-RP Mappings
This system is an RP-mapping agent (Loopback0)

Group(s) 224.0.0.0/4
  RP 3.3.3.3 (?), v2v1
    Info source: 3.3.3.3 (?), elected via Auto-RP
         Uptime: 00:00:54, expires: 00:02:01
  RP 2.2.2.2 (?), v2v1
    Info source: 2.2.2.2 (?), via Auto-RP
         Uptime: 00:01:04, expires: 00:02:52

Dynamic (Auto-RP or BSR) RPs in cache that are in use:
R1#

在R5上查看:RP选举结果已经泛洪被R5接收

R5#show ip pim rp mapping in-use 
PIM Group-to-RP Mappings

Group(s) 224.0.0.0/4
  RP 3.3.3.3 (?), v2v1
    Info source: 1.1.1.1 (?), elected via Auto-RP
         Uptime: 00:01:42, expires: 00:02:14

Dynamic (Auto-RP or BSR) RPs in cache that are in use:
Group(s): 224.0.0.0/4, RP: 3.3.3.3, expires: 00:00:57
R5#

现在,整个PIM域中,选举出R3作为RP

实验4:PIM-SM(auto-RP)

将R1设置为C-BSR(最终成为BSR),R2/R3设置为C-RP

开始配置

R1:
conf t
ip multicast-routing
interface range e0/0-2
 ip pim sparse-mode
interface lo 0
 ip pim sparse-mode
ip pim bsr-candidate lo0 0 0

R2:
conf t
ip multicast-routing
interface range e0/0-1
 ip pim sparse-mode
interface lo 0
 ip pim sparse-mode
ip pim rp-candidate lo0 priority 0

R3:
conf t
ip multicast-routing
interface range e0/1-2
 ip pim sparse-mode
interface lo 0
 ip pim sparse-mode
ip pim rp-candidate lo0 priority 0

R5:
conf t
ip multicast-routing
interface range e0/0, e0/2
 ip pim sparse-mode

验证结果

  1. 查看BSR:R1成为BSR
R1#show ip pim bsr-router 
PIMv2 Bootstrap information
This system is the Bootstrap Router (BSR)
  BSR address: 1.1.1.1 (?)
  Uptime:      00:01:05, BSR Priority: 0, Hash mask length: 0
  Next bootstrap message in 00:00:56
R1#
  1. 查看RP:R2成为RP
R2#show ip pim rp mapping in-use 
PIM Group-to-RP Mappings
This system is a candidate RP (v2)

Group(s) 224.0.0.0/4
  RP 2.2.2.2 (?), v2
    Info source: 1.1.1.1 (?), via bootstrap, priority 0, holdtime 150
         Uptime: 00:00:47, expires: 00:01:40
  RP 3.3.3.3 (?), v2
    Info source: 1.1.1.1 (?), via bootstrap, priority 0, holdtime 150
         Uptime: 00:00:48, expires: 00:01:40

Dynamic (Auto-RP or BSR) RPs in cache that are in use:
Group(s): 224.0.0.0/4, RP: 2.2.2.2, expires: 00:00:58
R2#show ip pim rp-hash 239.1.1.1
  RP 2.2.2.2 (?), v2
    Info source: 1.1.1.1 (?), via bootstrap, priority 0, holdtime 150
         Uptime: 00:01:42, expires: 00:01:45
  PIMv2 Hash Value (mask 0.0.0.0)
    RP 2.2.2.2, via bootstrap, priority 0, hash value 1524600152
    RP 3.3.3.3, via bootstrap, priority 0, hash value 450145259
R2#

注:这里通过RP选举规则第三条:较大的HASH值成为RP(前两条规则比不出来)R2运算得到的hash值更大:

    RP 2.2.2.2, via bootstrap, priority 0, hash value 1524600152
    RP 3.3.3.3, via bootstrap, priority 0, hash value 450145259
  1. 查看组播路由表:R5上查看组播路由表,当有组播流量后,完成了SPT切换
R5#show ip mroute 
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
       L - Local, P - Pruned, R - RP-bit set, F - Register flag,
       T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
       X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
       U - URD, I - Received Source Specific Host Report, 
       Z - Multicast Tunnel, z - MDT-data group sender, 
       Y - Joined MDT-data group, y - Sending to MDT-data group, 
       G - Received BGP C-Mroute, g - Sent BGP C-Mroute, 
       N - Received BGP Shared-Tree Prune, n - BGP C-Mroute suppressed, 
       Q - Received BGP S-A Route, q - Sent BGP S-A Route, 
       V - RD & Vector, v - Vector, p - PIM Joins on route, 
       x - VxLAN group
Outgoing interface flags: H - Hardware switched, A - Assert winner, p - PIM Join
 Timers: Uptime/Expires
 Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 239.1.1.1), 00:38:10/00:02:49, RP 2.2.2.2, flags: SJC
  Incoming interface: Ethernet0/2, RPF nbr 2.3.5.2
  Outgoing interface list:
    Ethernet0/0, Forward/Sparse, 00:38:08/00:02:49

(*, 239.1.1.3), 00:38:10/00:02:52, RP 2.2.2.2, flags: SJC
  Incoming interface: Ethernet0/2, RPF nbr 2.3.5.2
  Outgoing interface list:
    Ethernet0/0, Forward/Sparse, 00:38:08/00:02:52

(*, 239.1.1.2), 00:38:10/00:02:51, RP 2.2.2.2, flags: SJC
  Incoming interface: Ethernet0/2, RPF nbr 2.3.5.2
  Outgoing interface list:
    Ethernet0/0, Forward/Sparse, 00:38:08/00:02:51

R6模拟发出组播流量,再查看R5路由表(*, 239.1.1.1),变成了从(192.168.1.1,239.1.1.1)从R3转发,完成了SPT切换。
在这里插入图片描述

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1611616.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

IntelliJ IDEA运行发布传统Java Web Application项目

接 重温8年前项目部署 要求&#xff0c;如何改用IntelliJ IDEA运行发布传统 Java Web Application项目呢&#xff0c;简述步骤如下&#xff1a; 一、下载源码 源码&#xff1a;https://github.com/wysheng/kindergarten 下载后的本地项目路径&#xff1a;/Users/songjianyon…

美容预约小程序:简单三步,开启高效预约模式

在当今的数字化时代&#xff0c;一个小程序可以极大地提高美容院的效率和客户满意度。下面我们将详细说明如何通过以下步骤来搭建一个美容院预约小程序。 首先&#xff0c;你需要注册并登录到乔拓云网&#xff0c;这是 一个在线平台&#xff0c;可以帮助你快速创建并管理你的小…

SpringBoot集成FTP

1.加入核心依赖 <dependency><groupId>commons-net</groupId><artifactId>commons-net</artifactId><version>3.8.0</version></dependency> 完整依赖 <dependencies><dependency><groupId>org.springfra…

(四)SQL面试题(连续登录、近N日留存)学习简要笔记 #CDA学习打卡

目录 一. 连续登录N天的用户数量 1&#xff09;举例题目 2&#xff09;分析思路 3&#xff09;解题步骤 &#xff08;a&#xff09;Step1&#xff1a;选择12月的记录&#xff0c;并根据用户ID和登录日期先去重 &#xff08;b&#xff09;Step2&#xff1a;创建辅助列a_rk…

maven问题汇总

​ 1、报错 failed to transfer from http://0.0.0.0/ during a previous attempt. com.byd.xxx:xxx-parent:pom:1.1.0-SNAPSHOT failed to transfer from http://0.0.0.0/ during a previous attempt. This failure was cached in the local repository and resolution is no…

K8S哲学 - Pod、RC、RS、deployment

pod&#xff08;最小的可部署单元&#xff09; 容器组&#xff08;运行一个或多个容器&#xff09; Pod(容器组&#xff09;是Kubernetes 中最小的可部署单元。 一个Pod(容器组&#xff09;包含了一个应用程序容器&#xff08;某些情况下是多个容器&#xff09;、存储资源、 一…

C++三大特性之一:继承

文章目录 前言一、继承方式二、继承类型继承中构造和析构的顺序继承中的内存分配多继承语法(非重点)继承中同名静态成员的处理继承一般在哪里用到进阶&#xff1a;菱形继承和虚拟继承 总结 前言 C三大特性&#xff1a;继承、多态和封装。继承是面向对象编程的一个核心概念&…

JavaScript【关系与逻辑运算符】

关系运算符 关系运算符用于比较两个值之间的关系&#xff0c;并根据比较结果返回布尔值&#xff08;true或false&#xff09; 源码 relation-operator<script>//关系运算符 > < > < ! !//根据运算符两边值的关系返回true正确或false错误console.log(1&…

SQLite轻量级会话扩展(三十四)

返回&#xff1a;SQLite—系列文章目录 上一篇&#xff1a;SQLite R*Tree 模块&#xff08;三十三&#xff09; 下一篇&#xff1a;SQLite—系列文章目录 1. 引言 会话扩展提供了一种方便记录的机制 对 SQLite 数据库中某些表的部分或全部更改&#xff0c;以及 将这些…

[阅读笔记18][CITING]LARGE LANGUAGE MODELS CREATE CURRICULUM FOR INSTRUCTION TUNING

这篇论文是23年10月提交到arxiv上的&#xff0c;也是用大模型蒸馏小模型的思路。 作者在这篇论文中提出了课程指令微调&#xff0c;大体流程如下图所示&#xff0c;教师模型给出一个问题&#xff0c;让学生模型回答一下&#xff0c;这时候学生回答大概率不够准确&#xff0c;这…

4.2冰达机器人:视觉实例-机器人视觉循线、视觉实例-调整循线颜色

4.2.10a视觉实例-机器人视觉循线 本节内容演示一个机器人视觉的视觉循线实例 准备工作&#xff1a;布置一块区域作为循线场所&#xff0c;如下图所示。用蓝色胶带在地面贴一条路线&#xff08;机器人极限转弯半径0.5m&#xff0c;不要贴得过于曲折&#xff09;&#xff0c;将…

MINIO安装的方法(WindowsLiunx)

2 minio安装教程 注&#xff1a;官方中文文档&#xff1a;MinIO对象存储 Windows — MinIO中文文档 | MinIO Windows中文文档 Liunx 安装方&#xff1a;MinIO对象存储 Linux — MinIO中文文档 | MinIO Linux中文文档 2.1 下载地址 https://dl.min.io/server/minio/…

vlan 和 trunk实验

VLAN&#xff08;Virtual Local Area Network&#xff09;&#xff0c;即虚拟局域网&#xff0c;是一种网络技术&#xff0c;它的主要原理是将物理网络划分为多个逻辑子网&#xff0c;每个子网形成一个独立的广播域。这样&#xff0c;VLAN内的主机间通信就像在同一个局域网内一…

第二届 Oceanbase 开发者大会 实录

第二届 Oceanbase 开发者大会 实录 今天很有幸参加了Oceanbase 开发者大会&#xff0c;我是真的我一开始还不知道什么是Oceanbase &#xff0c;直到我开了会才知道。看来真的需要多参加一些这样活动。 会议议程 我们科普一下什么是Oceanbase OceanBase 是阿里巴巴集团推出…

Junit 高级-ApiHug准备-测试篇-011

&#x1f917; ApiHug {Postman|Swagger|Api...} 快↑ 准√ 省↓ GitHub - apihug/apihug.com: All abou the Apihug apihug.com: 有爱&#xff0c;有温度&#xff0c;有质量&#xff0c;有信任ApiHug - API design Copilot - IntelliJ IDEs Plugin | Marketplace 涉及到 …

MYSQL之增删改查(下)

前言&#xff1a; 以下是MySQL最基本的增删改查语句&#xff0c;很多IT工作者都必须要会的命令&#xff0c;也 是IT行业面试最常考的知识点&#xff0c;由于是入门级基础命令&#xff0c;所有所有操作都建立在单表 上&#xff0c;未涉及多表操作。 4.3 高级查询 4.3.1 聚合函…

【python】使用python和selenium实现某平台自动化上传作品的全步骤

第一&#xff0c;我们需要下载python并安装 下载地址&#xff1a;https://www.python.org/downloads/release/python-3123/ 3.x版本的python自带pip工具&#xff0c;因此不需要额外下载。 ModuleNotFoundError: No module named seleniumpip用于下载python适用的各类模块&…

最小化横穿北达科他州的直排轮滑补水次数

最小化横穿北达科他州的直排轮滑补水次数 问题定义算法设计伪代码C代码示例策略的正确性和运行时间分析结论 问题定义 Gekko教授计划使用直排轮滑从明尼苏达州东部边境的大福克斯市出发&#xff0c;横穿北达科他州&#xff0c;抵达靠近蒙大拿州西部边境的威利斯顿市。他计划携…

24华中杯ABC题更新完成,B题将提供论文参考,AC题将在下午完成论文

以下内容&#xff0c;将在文章最后放置链接 2024华中杯A题12页思路数据可执行代码参考论文https://mbd.pub/o/bread/ZZ6am5dw 2024华中杯B题24页思路数据可执行代码参考论文https://mbd.pub/o/bread/ZZ6am5hp 2024华中杯C题10页思路数据可执行代码参考论文https://mbd.pub/o/br…

Nginx part2.1

目录 搭建目录网页 为网页设置用户登录 做一个文件目录网页&#xff0c;并进行登陆 示范 搭建目录网页 启动nginx&#xff1a; systemctl start nginx 开机自启动nginx&#xff1a; systemctl enable nginx 启动完服务后&#xff0c;查看自己的nginx的状态&#xff1a;sys…