OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • International Forums »
  • German - Deutsch (Moderator: JeGr) »
  • Multicast IPTV will nicht über VLAN-Switch
« previous next »
  • Print
Pages: [1]

Author Topic: Multicast IPTV will nicht über VLAN-Switch  (Read 3425 times)

Reiter der OPNsense

  • Full Member
  • ***
  • Posts: 111
  • Karma: 11
    • View Profile
Multicast IPTV will nicht über VLAN-Switch
« on: August 30, 2018, 06:50:26 pm »
Hallo Leute,
ich versuche vergeblich Multicast IPTV über einen Smart-managed-Switch via VLAN-Trunk zu transportieren. Folgende Konstellationen habe ich getestet:
OPNsense --> Notebook: funktioniert
OPNsense --> "dummer" Switch --> Notebook: funktioniert
OPNsense --> Fritzbox (im IP-Client-Modus) --> Notebook: funktioniert
OPNsense <-- VLAN-Trunk --> ZyXEL-Switch (mit oder ohne IGMP-Snooping) --> Notebook: funktioniert nicht
OPNsense <-- VLAN-Trunk --> MikroTik-Switch (mit oder ohne IGMP-Snooping) --> Notebook: funktioniert nicht

Die VLAN-Konfiguration auf den Smart-managed-Switches funktioniert normal, nur Multicast scheint irgendwo auf der Strecke liegen zu bleiben.
Muss man bei einem VLAN-Setting bezüglich Multicast noch irgendwas Zusätzliches beachten?

Damit hier hat das nichts zu tun, oder? https://github.com/opnsense/plugins/issues/590

Danke für jegliche Inputs.

Gruss, Stefan
Logged

Reiter der OPNsense

  • Full Member
  • ***
  • Posts: 111
  • Karma: 11
    • View Profile
Re: Multicast IPTV will nicht über VLAN-Switch
« Reply #1 on: September 04, 2018, 11:34:48 am »
Inzwischen habe ich einen Blick unter die Motorhaube gewagt. Für mich sieht es so aus, als ob VLAN-Interfaces vom IGMP-Proxy nicht geladen werden. Ich konnte das mit diversen Interfaces nachvollziehen.

Folgende Konfiguration mit einem Nicht-VLAN-Interface (igb2) scheint zu funktionieren:
Code: [Select]
root@OPNsense:~ # cat /usr/local/etc/igmpproxy.conf

##------------------------------------------------------
## Enable Quickleave mode (Sends Leave instantly)
##------------------------------------------------------
quickleave
phyint igb0 upstream ratelimit 0 threshold 1
altnet 77.109.129.0/19

phyint igb2 downstream ratelimit 0 threshold 1
altnet 192.168.102.0/24

phyint igb1_vlan99 disabled
phyint igb1_vlan103 disabled
phyint igb1_vlan10 disabled
phyint igb1 disabled
phyint igb1_vlan101 disabled

Code: [Select]
root@OPNsense:~ # /usr/local/sbin/igmpproxy -d -v /usr/local/etc/igmpproxy.conf
adding VIF, Ix 0 Fl 0x0 IP 0xeaffc355 igb0, Threshold: 1, Ratelimit: 0
adding VIF, Ix 1 Fl 0x0 IP 0x0166a8c0 igb2, Threshold: 1, Ratelimit: 0
joinMcGroup: 224.0.0.2 on igb2
joinMcGroup: 224.0.0.22 on igb2
[...]

Hingegen mit folgender Konfiguration mit einem VLAN-Interface (igb1_vlan101) kommt der IGMP-Proxy nicht in die Gänge:
Code: [Select]
root@OPNsense:~ # cat /usr/local/etc/igmpproxy.conf

##------------------------------------------------------
## Enable Quickleave mode (Sends Leave instantly)
##------------------------------------------------------
quickleave
phyint igb0 upstream ratelimit 0 threshold 1
altnet 77.109.129.0/19

phyint igb1_vlan101 downstream ratelimit 0 threshold 1
altnet 192.168.101.0/24

phyint igb1_vlan99 disabled
phyint igb1_vlan103 disabled
phyint igb1_vlan10 disabled
phyint igb2 disabled
phyint igb1 disabled

Code: [Select]
root@OPNsense:~ # /usr/local/sbin/igmpproxy -d -v /usr/local/etc/igmpproxy.conf
adding VIF, Ix 0 Fl 0x0 IP 0xeaffc355 igb0, Threshold: 1, Ratelimit: 0
[Bleibt hier stehen.]

Funktioniert bei euch der IGMP-Proxy mit VLAN-Interfaces? Übersehe ich etwas? Oder ist das ein Bug?
Logged

Reiter der OPNsense

  • Full Member
  • ***
  • Posts: 111
  • Karma: 11
    • View Profile
Re: Multicast IPTV will nicht über VLAN-Switch
« Reply #2 on: September 14, 2018, 04:46:35 pm »
Bin ich der einzige der den IGMP-Proxy mit einem VLAN-Interface verwenden will?  :)

Wie auch immer, inzwischen habe ich noch den "Superverboseschalter" entdeckt: -vvvv

Hier die interessanten Teile der Ausgabe:
Code: [Select]
root@OPNsense:~ # /usr/local/sbin/igmpproxy -d -vvvv /usr/local/etc/igmpproxy.conf

Config: Got a phyint token.
Config: IF: Config for interface igb0.
Config: IF: Got upstream token.
Config: IF: Got ratelimit token '0'.
Config: IF: Got threshold token '1'.
Config: IF: Got altnet token 77.109.129.0/19.
Config: IF: Altnet: Parsed altnet to 77.109.129/19.
IF name : igb0
Next ptr : 0
Ratelimit : 0
Threshold : 1
State : 1
Allowednet ptr : 5722b000
Config: Got a phyint token.
Config: IF: Config for interface igb2.
Config: IF: Got downstream token.
Config: IF: Got ratelimit token '0'.
Config: IF: Got threshold token '1'.
Config: IF: Got altnet token 192.168.102.0/24.
Config: IF: Altnet: Parsed altnet to 192.168.102/24.
IF name : igb2
Next ptr : 0
Ratelimit : 0
Threshold : 1
State : 2
Allowednet ptr : 5722b010
Config: Got a phyint token.
Config: IF: Config for interface igb1_vlan101.
Config: IF: Got downstream token.
Config: IF: Got ratelimit token '0'.
Config: IF: Got threshold token '1'.
Config: IF: Got altnet token 192.168.101.0/24.
Config: IF: Altnet: Parsed altnet to 192.168.101/24.
IF name : igb1_vlan101
Next ptr : 0
Ratelimit : 0
Threshold : 1
State : 2

buildIfVc: Interface igb0 Addr: 85.195.255.234, Flags: 0xffff8843, Network: 85.195.255/24
buildIfVc: Interface igb1 Addr: 192.168.111.1, Flags: 0xffff8843, Network: 192.168.111/24
buildIfVc: Interface igb2 Addr: 192.168.102.1, Flags: 0xffff8843, Network: 192.168.102/24
buildIfVc: Interface lo0 Addr: 127.0.0.1, Flags: 0xffff8049, Network: 127/8
buildIfVc: Interface ovpns1 Addr: 10.0.8.1, Flags: 0xffff8051, Network: 10.0.8.1/32
buildIfVc: Interface ovpns2 Addr: 10.0.9.1, Flags: 0xffff8051, Network: 10.0.9.1/32
Found config for igb0
Found config for igb1
Found config for igb2

adding VIF, Ix 0 Fl 0x0 IP 0xeaffc355 igb0, Threshold: 1, Ratelimit: 0
        Network for [igb0] : 85.195.255/24
        Network for [igb0] : 77.109.129/19
adding VIF, Ix 1 Fl 0x0 IP 0x0166a8c0 igb2, Threshold: 1, Ratelimit: 0
        Network for [igb2] : 192.168.102/24
        Network for [igb2] : 192.168.102/24

Man sieht das VLAN-Interface "Got a phyint token" aber es wird nicht "builded" und auch nicht "added". Stattdessen: "buildIfVc: Interface igb1 Addr: 192.168.111.1"?

Für mich sieht das immer mehr nach einem Bug aus. Wo muss ich den melden?
1. Hier im Forum (Augenzwinker an Franco ;-)
2. https://github.com/opnsense/plugins
3. https://github.com/pali/igmpproxy
Logged

Reiter der OPNsense

  • Full Member
  • ***
  • Posts: 111
  • Karma: 11
    • View Profile
Re: Multicast IPTV will nicht über VLAN-Switch
« Reply #3 on: September 18, 2018, 12:39:53 pm »
Update: Im folgenden Thread verweist Franco auf eine neue IGMP-Proxy-Version:
https://forum.opnsense.org/index.php?topic=7581.msg44231#msg44231

Diese scheint das Problem mit den VLAN-Interfaces zu lösen. Allerdings funktioniert IPTV immer noch nicht hinter meinem VLAN-Switch. Kann sein, dass es an meinem komplexen Switch liegt, der mich überfordert. Ich werde es gelegentlich noch mit einem einfacheren Modell testen.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • International Forums »
  • German - Deutsch (Moderator: JeGr) »
  • Multicast IPTV will nicht über VLAN-Switch
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2