troglobit / pimd

PIM-SM/SSM multicast routing for UNIX and Linux
http://troglobit.com/projects/pimd/
BSD 3-Clause "New" or "Revised" License
198 stars 90 forks source link

Question:the same ip of the router && Drop package at the beginning #208

Closed zcauto closed 2 years ago

zcauto commented 2 years ago

Hello,

In a certain scenario, I encountered a problem! The topology is as follows:

pc1(192.168.1.1) router1(192.168.1.234)- router2(192.168.253.1) - router3(192.168.253.2) - router4(192.168.1.234) -- pc2(192.168.1.2)

-------------------------------------------------------router5(192.168.253.3 rp) - router6(192.168.1.234)---pc3 192.168.1.3. the router5 is rp. There are routes between pc1, pc2, pc3, router2, router3, router5。but the router1、router4、router6 have the same ip。 When pc3 joins the multicast 225.3.2.1, when pc1 starts to send packets, it will drop about 100 packets ,and later packets will be received。 The RPT tree can be built, but the SPT tree cannot be built at first. I don't know what the problem is?

ruckc commented 2 years ago

If you have duplicate IP addresses in the network, its very unlikely your going to get PIM routing to work, especially if your running network address translation.

zcauto commented 2 years ago

In fact, if I change the ip to a different one, there may be serious packet drops. Is pimd not suitable for wireless routing scenarios? In addition, when the PC has multiple network cards, it may not receive data packets.

troglobit commented 2 years ago

The above image is garbled and very hard to make out what your problem is, have you tried applying some Markdown markup to put your ASCII art in verbatim mode?