27effe4e42917247c1aad785c1f5c41b564e4a59
howto/pim-multicast-vs-unicast-issue.md
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | |
| 5 | 5 | With pim6sd you might have stumbled over the following message in your logs: `For src [...], iif is [...], next hop router is [...]: NOT A PIM ROUTER`. And your multicast routing somehow does not work even though according to your pim6stat output it looks like the correct multicast router was detected via PIM. Or it might have worked in the past and suddenly stopped working. |
| 6 | 6 | |
| 7 | -This means that somehow the neighboring router which pim6sd has chosen is another router not capable of multicast routing via PIM. But how can that be, why did pim6sd chose that neighbor in the first place then? |
|
| 7 | +This means that somehow the neighboring router which pim6sd (but might happen to another PIM implementation, too?) has chosen is another router not capable of multicast routing via PIM. But how can that be, why did pim6sd choose that neighbor in the first place then? |
|
| 8 | 8 | |
| 9 | 9 | ## Background |
| 10 | 10 | |
| ... | ... | @@ -18,17 +18,23 @@ PIM stands for **Protocol Independent** Multicast. Which confusingly does not me |
| 18 | 18 | |
| 19 | 19 | ### Example 1 |
| 20 | 20 | |
| 21 | + |
|
| 22 | + |
|
| 21 | 23 | Nodes R1, R2, R3 are all peering via BGP on dedicated interface to each other. And have established unicast routes to each other through BGP. For PIM-SM all three routers are running a PIM daemon, but somehow PIM was not configured properly on the dedicated interfaces between R1 and R3 (acc. interfaces not added to the PIM daemon, incorrect filter rules, missing kernel multicast flag on these interfaces, ...). |
| 22 | 24 | |
| 23 | -PIM-SM between R1 and R3 will be broken, even though in theory between R1 and R3 via R2 could work. |
|
| 25 | +PIM-SM between R1 and R3 will be broken, even though in theory multicast between R1 and R3 via R2 could work. |
|
| 24 | 26 | |
| 25 | 27 | ### Example 2 |
| 26 | 28 | |
| 29 | + |
|
| 30 | + |
|
| 27 | 31 | Same as example 1 but here multicast routing between R1 and R4 will be broken, as the selected unicast route between R1 and R4 is via R5, but R5 is not running any daemon capable of PIM-SM at all. |
| 28 | 32 | |
| 29 | 33 | Here it is apparent that not only misconfiguration can lead to this unicast vs. multicast routes issue. But also potentially any router in the network which is only capable of a unicast routing protocol while not yet being capable of PIM. |
| 30 | 34 | |
| 31 | -## Example 3 |
|
| 35 | +### Example 3 |
|
| 36 | + |
|
| 37 | + |
|
| 32 | 38 | |
| 33 | 39 | In this example R1 and R2 are routers for the same AS. Furthermore they serve several other client devices downstream. Therefore both R1 and R2 announce the same IPv6 /64 subnet for these client devices via BGP. However R1 and R2 have disabled PIM on their downstream interface, they only use MLD downstream while PIM is only used to their upstream routers R3 and R4. |
| 34 | 40 |