Open Kzibi opened 8 years ago
Thank you for the report. Maybe @idismmxiv or @markusve can better answer this one?
hmm ... @idismmxiv or @markusve - 1 month no activities ;( I will try run both pim daemons in not default routing table and see what happens
@Kzibi that could actually very well help! I'm unfortunately not up to speed on how Linux's CONFIG_IP_MROUTE_MULTIPLE_TABLES
works, but I can imagine that both instances must run in their own table, and none of them in the default table.
Would be awesome to hear back from you if that works, then I can update the docs and we can clarify this issue for future improvement, i.e. add detection of more pimd
instances and warn the user.
I might be wrong, but this is how I see the case. To be able to run multiple pimd instances, you need to have multiple multicast routing tables. One for each instance. But currently pimd does not support multiple unicast routing tables. I have used multiple pimd instances with multiple multicast routing tables, but newer trying to share single IP (like RP address in this case) in both instances.
I suppose there is a room for improvement in netlink.c to handle unicast route queries based on multiple routing tables. Or to use LInux namespaces, but I haven't tried that.
So ;) .. I try ... no success
but newer trying to share single IP (like RP address in this case) in both instances.
this is the clue I think, that pimd (netlink) should use only if's from conf file and do some test like ex.: ip route li table xx | grep RP OR ip route get RP oif from_config ( it need's output interface name not address in config file).
pimd -v 2.3.1
Same RP for both subnets - 10.200.200.20 First run in default table,second run in it's own table. Debug:
10.201.230.1 - wrong; it's from 1st instance/net should be 10.200.51.25 unicast routing is fine,