FreeBSD as multicast router

Victor Gamov vit at otcnet.ru
Fri Nov 8 14:01:31 UTC 2019



On 08/11/2019 16:47, Eugene Grosbein wrote:
> 08.11.2019 19:10, Victor Gamov wrote:
> 
>>> I'm not familiar with multicast routing in FreeBSD.
>>> Multicast routing has its rules in general, though.
>>>
>>> For example, Cisco routers never process incoming multicast UDP flows if unicast route
>>> to source IP address of UDP packets points to interface that differs from real incoming interface.
>>> This is "reverse path filtering" embedded in multicast routing unconditionally.
>>
>> Yes, but FreeBSD can ping source and client in my tests (see my new later at this thread with network scheme)
> 
> It does not matter if source is reachable with unicasts (ping). "Reverse" unicast routes should match incoming interface for multicast UDP.

My network scheme is simplest:
----------          --------------------          -----------
| source |-vlan750-| FreeBSD PIM router |-vlan299-|  client  |
|200.5/29|         |200.6/29  199.102/30|         |199.101/30|
----------          --------------------          -----------

All multicasts comes from 200.5 with 200.5 as source IP.  So I hope RPF 
check passes for FreeBSD.


-- 
CU,
Victor Gamov


More information about the freebsd-net mailing list