Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIM6d-Down interface selected as mroute IIF #13036

Closed
vijaykug opened this issue Mar 18, 2023 · 2 comments
Closed

PIM6d-Down interface selected as mroute IIF #13036

vijaykug opened this issue Mar 18, 2023 · 2 comments
Assignees
Labels
pimv6 triage Needs further investigation

Comments

@vijaykug
Copy link
Contributor

vijaykug commented Mar 18, 2023

Issue - while writing topotest , i have observed that (*,G) mroute IIF is selected down interfaces , because of that join is not reaching to RP

Setup

+-------------------------------+  
 |.                                                     |
R1(LHR)-----R2(RP)------R4(FHR)
 |                                                      |
 +-------------R3---------------+

Step to repro :-

  1. Above topology initially R1 to R2 links are down
  2. ens161.4005 selected mroute IIF
  3. Had shut parent interface ( i.6. ens161 ) from R1
  4. No shut R1 to R4 path first and than R1 to R2
  5. Observed that Morute IIF still pointing to down link

Note - I tried same steps 2 times , but unable to reproduce the issue

R11(config)# do show ipv6 mroute 
IP Multicast Routing Table
Flags: S - Sparse, C - Connected, P - Pruned
       R - SGRpt Pruned, F - Register flag, T - SPT-bit set
 Source  Group    Flags  Proto  Input        Output  TTL  Uptime    
 *       ff05::2  SC     MLD    ens161.4005  ens225  1    00:22:28  
 *       ffaa::1  SC     MLD    ens161.4005  ens225  1    00:22:28  
 *       ffaa::2  SC     MLD    ens161.4005  ens225  1    00:22:28  
 *       ffaa::3  SC     MLD    ens161.4005  ens225  1    00:22:28  
 *       ffaa::4  SC     MLD    ens161.4005  ens225  1    00:22:28  
 *       ffaa::5  SC     MLD    ens161.4005  ens225  1    00:22:28  

R11(config)# do show interface ens161.4005
Interface ens161.4005 is down
  Link ups:       2    last: 2023/03/18 05:01:23.60
  Link downs:     1    last: 2023/03/18 05:02:32.58
  vrf: default
  index 21 metric 0 mtu 1500 speed 10000 
  flags: <BROADCAST,MULTICAST>
  Type: Ethernet
  HWaddr: 00:50:56:b7:df:1b
  inet 21.1.1.1/24
  Interface Type Vlan
  Interface Slave Type None
  VLAN Id 4005
  protodown: off 
  Parent interface: ens161
R11(config)# do show ip pim interface 
 Interface    State  Address          PIM Nbrs  PIM DR      FHR  IfChannels  
 ens161.4005  down   0.0.0.0          0         21.1.1.2    0    0           
 ens161.4006  down   0.0.0.0          0         21.2.1.2    0    0           
 ens161.4007  down   0.0.0.0          0         21.3.1.2    0    0           
 ens161.4008  down   0.0.0.0          0         21.4.1.2    0    0           
 ens192.4001  up     11.1.1.1         1         11.1.1.2    0    0           
 ens192.4002  up     11.2.1.1         1         11.2.1.2    0    0           
 ens192.4003  up     11.3.1.1         1         11.3.1.2    0    0           
 ens192.4004  up     11.4.1.1         1         11.4.1.2    0    0           
 ens193       down   0.0.0.0          0         69.0.0.10   0    0           
 ens225       up     175.1.1.1        0         local       0    5           
 ens256       up     25.25.25.1       0         local       0    0           
 ens257       up     29.29.29.1       1         29.29.29.2  0    0           
 lo           up     101.101.101.101  0         local       0    0           
 pimreg       up     0.0.0.0          0         local       0    0           

R11(config)# do show ipv6 pim interface 
 Interface    State  Address                   PIM Nbrs  PIM DR                    FHR  IfChannels  
 ens161.4005  down   ::                        0         fe80::250:56ff:feb7:540f  0    0           
 ens161.4006  down   ::                        0         fe80::250:56ff:feb7:540f  0    0           
 ens161.4007  down   ::                        0         fe80::250:56ff:feb7:540f  0    0           
 ens161.4008  down   ::                        0         fe80::250:56ff:feb7:540f  0    0           
 ens192.4001  up     fe80::250:56ff:feb7:867f  1         local                     0    0           
 ens192.4002  up     fe80::250:56ff:feb7:867f  1         local                     0    0           
 ens192.4003  up     fe80::250:56ff:feb7:867f  1         local                     0    0           
 ens192.4004  up     fe80::250:56ff:feb7:867f  1         local                     0    0           
 ens193       down   ::                        0         local                     0    0           
 ens225       up     fe80::250:56ff:feb7:19a6  0         local                     0    6           
 ens256       up     fe80::250:56ff:feb7:cbbc  0         local                     0    0           
 ens257       up     fe80::250:56ff:feb7:ebe2  1         local                     0    0           
 lo           up     ::                        0         local                     0    0           
 pim6reg      up     ::                        0         local                     0    0   

R11(config)# do show ipv6 pim rp-info 
 RP address  group/prefix-list  OIF          I am RP  Source  Group-Type  
 1222::1     ff00::/8           ens192.4001  no       Static  ASM         

R11(config)# do show ipv6 route 1222::1
Routing entry for 1222::1/128
  Known via "bgp", distance 20, metric 0, best
  Last update 00:27:26 ago
  * fe80::250:56ff:feb7:54ad, via ens192.4001, weight 1
  *
R11(config)# do show ipv6 pim nexthop
Number of registered addresses: 1
 Address  Interface    Nexthop                   
 1222::1  ens192.4001  fe80::250:56ff:feb7:54ad  

R11(config)# do show ipv6 pim neighbor 
 Interface    Neighbor                  Uptime    Holdtime  DR Pri  
 ens192.4001  fe80::250:56ff:feb7:54ad  00:28:29  00:01:16  1       
 ens192.4002  fe80::250:56ff:feb7:54ad  00:28:28  00:01:16  1       
 ens192.4003  fe80::250:56ff:feb7:54ad  00:28:28  00:01:16  1       
 ens192.4004  fe80::250:56ff:feb7:54ad  00:28:29  00:01:15  1       
 ens257       fe80::250:56ff:feb7:53    00:25:00  00:01:44  1       

R11(config)# do show ipv6 pim state 
Codes: J -> Pim Join, I -> MLD Report, S -> Source, * -> Inherited from (*,G), V -> VxLAN, M -> Muted
 Active  Source  Group    RPT  IIF          OIL                 
 1       *       ff05::2  y    ens161.4005  ens161.4005(I    )  
                                            ens225(I    )       
 1       *       ffaa::1  y    ens161.4005  ens161.4005(I    )  
                                            ens225(I    )       
 1       *       ffaa::2  y    ens161.4005  ens161.4005(I    )  
                                            ens225(I    )       
 1       *       ffaa::3  y    ens161.4005  ens161.4005(I    )  
                                            ens225(I    )       
 1       *       ffaa::4  y    ens161.4005  ens161.4005(I    )  
                                            ens225(I    )       
 1       *       ffaa::5  y    ens161.4005  ens161.4005(I    )  
                                            ens225(I    )   

Build used - Latest FRR9.0 (frr_9.0-dev-master-g6c634d2-20230317.100428-1~ubuntu18.04.1_amd64.deb)
Ubuntu 18.04

R1_18feb.logs.zip

@vijaykug vijaykug added the triage Needs further investigation label Mar 18, 2023
@mobash-rasool
Copy link
Contributor

Vijay tried to reproduce this issue but there is another zebra/kernel issue 13817 due to which he was unable to reproduce this issue. Hence we are not able to check further.

@SaiGomathiN
Copy link
Contributor

Closing this issue as it is not reproducible because of #13817 issue.

@SaiGomathiN SaiGomathiN reopened this Aug 7, 2023
@SaiGomathiN SaiGomathiN closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pimv6 triage Needs further investigation
Projects
None yet
Development

No branches or pull requests

3 participants