Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Nov 2019 00:22:01 -0500
From:      Mike Karels <mike@karels.net>
To:        "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
Cc:        freebsd-net@freebsd.org, Victor Gamov <vit@otcnet.ru>
Subject:   Re: FreeBSD as multicast router
Message-ID:  <201911030522.xA35M1fW052952@mail.karels.net>
In-Reply-To: Your message of Sat, 02 Nov 2019 19:09:10 -0700. <201911030209.xA329AwE094172@gndrsh.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > > Hi All
> > > > =

> > > > I have (noob) questions about multicast routing under FreeBSD.
> > > > =

> > > > I have FreeBSD box with two (or more) multicast enabled interfaces=
 (e.x. =

> > > > vlan750 and vlan299).  vlan750 connected to multicast source.
> > > > =

> > > > Then pimd installed and only this two interfaces enabled in pimd c=
onfig. =

> > > > Multicast routes successfully installed by pimd and listed by `net=
stat =

> > > > -g -f inet`
> > > > =

> > > > Then client on vlan299 send IGMP-Join (this Join received by FreeB=
SD on =

> > > > vlan299)
> > > > =

> > > > The question is:  who will forward muilticast from one interface =

> > > > (vlan750) to another (vlan299)?  Is it kernel specific job or I ne=
ed =

> > > > additional software?
> > =

> > > Please read the manpage multicast(4) "man 4 multicast",
> > > you should need to build a custom kernel with the "options MROUTING"
> > > to enable the multicast forwarding in the kernel.
> > =

> > If "netstat -g" shows routes, the kernel must have been built with "op=
tions
> > MROUTING".

> Indeed.

> > =

> > The kernel does the forwarding, according to those routing tables inst=
alled
> > by pimd or another multicast routing program.  Is it not working?  It =
sounds
> > like you are very close.

> Could it be sysctl net.inet.ip.forwarding?  Does that still apply to mro=
utes?

No, they are separate.  The test is just whether MROUTING is enabled, and
whether a multicast router like pimd is active.

One other thing to check would be "netstat -gs" (multicast stats).

> > =

> > > > Victor Gamov
> > =

> > > -- =

> > > Rod Grimes                                                 rgrimes@f=
reebsd.org
> > =

> > Mike
> -- =

> Rod Grimes                                                 rgrimes@freeb=
sd.org

Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911030522.xA35M1fW052952>