Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2019 00:20:57 +0300
From:      Victor Gamov <vit@otcnet.ru>
To:        freebsd-net@freebsd.org
Subject:   Re: FreeBSD as multicast router
Message-ID:  <56999aa0-3d92-0076-9671-c5eed66d50ba@otcnet.ru>
In-Reply-To: <10688d9e-80af-3f03-425e-1b74d69c05f0@otcnet.ru>
References:  <10688d9e-80af-3f03-425e-1b74d69c05f0@otcnet.ru>

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

Still trying to run FreeBSD-box as multicast router :-)

FreeBSD upgraded to 11.3-STABLE #1 r354778. netstat pacth by Mike Karels 
manually applied and netstat -gs looks OK now.

Latest pimd version 3.0beta1 downloaded from git and configured. While 
configure it report following:

=====
------------------ Summary ------------------
  pimd version 3.0-beta1
   Prefix................: /usr/local
   Sysconfdir............: /usr/local/etc
   Localstatedir.........: /usr/local/var
   C Compiler............: cc -g -O2

Optional features:
   Kernel register encap.: no
   Kernel (*,G) support..: no
   Kernel MAX VIFs.......: 32
   Memory save...........: no
   RSRR (experimental)...: no
   Exit on error.........: yes
=====

What does "Kernel (*,G) support..: no" means?


Then my test multicast network configured (again)
           --------------------          ----------
-vlan298-| FreeBSD PIM router |-vlan299-| client |
          |208.34/29   205.2/29|         |205.5/29|
           --------------------          ----------


Two multicast generated by FreeBSD-router: one (232.232.9.43) sended 
from vlan299 and another (232.232.88.173) from vlan298 both with TTL=20

Pimd started with following config:
=====
phyint vlan299 enable ttl-threshold 20
phyint vlan298 enable ttl-threshold 20
rp-address 10.200.205.2 232.232.0.0/16
=====


Now client is requesting multicast which router is sending from vlan299 
and client successfully receiving it.  But when client is requests 
multicast sending (by router) from vlan298 it doesn't receive it.


My first question: (in theory) is router must send multicast to client 
in this situation?


And the second: why :Ttls is 1 at `netstat -f inet -g` output:
=====

IPv4 Virtual Interface Table
  Vif   Thresh   Local-Address   Remote-Address    Pkts-In   Pkts-Out
   0        20   10.200.205.2                            0      19247
   1        20   10.200.208.34                           0      22249
   2         1   10.200.205.2                            0      41496

IPv4 Multicast Forwarding Table
  Origin          Group             Packets In-Vif  Out-Vifs:Ttls
  10.200.208.34   232.232.88.173      22249    1    2:1
  10.200.205.2    232.232.9.43        19247    0    2:1
=====


Any suggestion?

-- 
CU,
Victor Gamov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56999aa0-3d92-0076-9671-c5eed66d50ba>