12-10-2023 12:25 AM
Hello everyone,
I have a question regarding the automatically created tunnels for encapsulating and decapsulating PIM registers. Tunnel 0 is automatically established between the First Hop Router (FHR) and the Rendezvous Point (RP), particularly when I configure the RP statically.
However, when I statically configure the RP on the RP router, both tunnel 0 and tunnel 1 are created. Up to this point, there is nothing unusual, but when I check the configuration of tunnel 0, both the source and destination IPs are that of the RP.
RTR-lab#show derived-config int tu 0
Building configuration...
Derived configuration : 189 bytes
!
interface Tunnel0
description Pim Register Tunnel (Encap) for RP 10.0.X.Y
ip unnumbered Loopback1 --> 10.0.X.Y
tunnel source Loopback1 --> 10.0.X.Y
tunnel destination 10.0.X.Y
My questions are: Is this tunnel automatically created by the OS code as it does not differentiate between an RP router and an FHR? Will this tunnel never be used since this router is the RP itself?
Tunnel 1 on the other hand is a Lo0 interface that does not have PIM enabled. Why is this?
RTR-lab#show derived-config int tu 1
Building configuration...
Derived configuration : 189 bytes
!
interface Tunnel1
description Pim Register Tunnel (Decap) for RP 10.0.X.Y
ip unnumbered Loopback0
tunnel source Loopback0
tunnel destination 10.0.X.Y
Thanks,
12-10-2023 01:54 AM - edited 12-10-2023 02:36 AM
Yes this tunnel is automatic add when config RP of SM PIM
***Use command in below guide to check tunnel.
MHM
12-10-2023 02:42 AM
Hello,
Thanks for your answer.
Yes, but what intrigues me is that the encapsulation tunnel is also created on the router that assumes the role of RP, with both the source and destination interfaces having the same IP. I would like to understand why a tunnel is created towards itself.
Thanks,
12-10-2023 04:09 AM
Hello
Even though the logical tunnel comes up it wont be used for any encapsulation or routing of traffic, because the source/destination addressing are the same, in fact it should come up even without any ip address defined on the tunnel
12-10-2023 04:27 AM
Are you suggesting that the RP (Rendezvous Point) creates this tunnel simply because it is required to do so, and not necessarily because it serves a practical purpose? My understanding is that it is created as part of the IOS code, but I couldn't find any specific mention of this in the documentation. Thanks
12-11-2023 01:48 PM
Hello
@TelesEC wrote:
the RP router has its loopback interface, which is also the RP's IP, as both source and destination in Tunnel0. It seems odd to see it as both source and destination. Why is it created if it has no utility? Because it is part of the IOS code? Besides Tunnel0, the RP also has Tunnel1 for decapsulation.
TBH I am not sure what your asking, you show a tunnel with the same SIP/DIP and mention MC RP, even though the tunnel has no pim applied to it.
As to why the rtr you mention has a tunnel interface with the same SIP/DIP, I cannot answer, My understanding is no MC configuration I am aware of automatically creates logical tunnel interfaces in this manner, As for pim-sm RP'S these are either specified either statically or automatically (BSRs for example)
12-10-2023 04:13 AM
this in router you config RP in it?
check other router in multicast domain and it need to point to your RP Lo as destination
MHM
12-10-2023 04:23 AM
All routers that are part of the multicast network have Tunnel0 (Encapsulation) with the RP's IP as the destination and the nearest physical interface with active PIM to the RP as the source. However, the RP router has its loopback interface, which is also the RP's IP, as both source and destination in Tunnel0. It seems odd to see it as both source and destination. Why is it created if it has no utility? Because it is part of the IOS code? Besides Tunnel0, the RP also has Tunnel1 for decapsulation.
Thanks
12-10-2023 04:38 AM
It normal I think
All other routers have tunnels back to RP' and router that have RP have tunnel if it have any interface with ip igmp enable (i.e. it also have some multicast reciever).
MHM
12-11-2023 09:44 AM
The tunnel is established between the FHR and the RP, so it wouldn't make much sense for this tunnel to also be created on the RP towards itself. Does it create it automatically even though it is never used, just because it's in the code?
12-10-2023 02:28 AM
Hello
Not sure what you are asking here, your OP shows Only a creation of a GRE tunnel it does not show any PIM configuration just an interface description it?
12-10-2023 02:44 AM
Hello,
The PIM configuration works fine; what intrigues me is that on the RP, the encapsulation tunnel is created with the same source and destination IP. The encapsulation and decapsulation tunnels are automatically created when I configure the RP address.
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide