• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

IPtv multicast

Scheduled Pinned Locked Moved Russian
270 Posts 50 Posters 361.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    filosoff96
    last edited by Aug 22, 2009, 7:06 PM

    Это внутри

    18:56:04.464254 IP 192.168.0.97 > 224.0.0.252: igmp v2 report 224.0.0.252
    18:56:04.464674 IP 192.168.0.97 > 239.255.0.147: igmp v2 report 239.255.0.147
    18:58:07.967229 IP 192.168.0.1 > 224.0.0.1: igmp query v2

    Это снаружи

    19:02:56.110616 IP 10.255.189.193 > 224.0.0.1: igmp query v2
    19:03:56.363288 IP 10.255.189.193 > 224.0.0.1: igmp query v2
    19:04:57.298533 IP 10.255.189.193 > 224.0.0.1: igmp query v2

    1 Reply Last reply Reply Quote 0
    • E
      Eugene
      last edited by Aug 22, 2009, 7:15 PM

      Не уверен, что это корректно, на сколько я помню моя тестовая программулина (какой-то плэйер) слал membership report на 224.0.0.2, а внутри уже был адрес типа 239.255.0.147. Я гляну в RFC, как должно быть.
      @filosoff96:

      18:56:04.464674 IP 192.168.0.97 > 239.255.0.147: igmp v2 report 239.255.0.147

      Что у тебя с маршрутизацией покажи пожалуйста
      netstat -rn

      http://ru.doc.pfsense.org

      1 Reply Last reply Reply Quote 0
      • F
        filosoff96
        last edited by Aug 22, 2009, 7:19 PM

        Internet:
        Destination        Gateway            Flags    Refs      Use  Netif Expire
        default            10.255.189.193    UGS        0  202232    rl1
        10.255.189.192/27  link#2            UC          0        0    rl1
        10.255.189.193    00:0c:31:65:7d:00  UHLW        2      105    rl1  1074
        10.255.189.195    127.0.0.1          UGHS        0        0    lo0
        127.0.0.1          127.0.0.1          UH          1        0    lo0
        192.168.0.0/24    link#1            UC          0        0    rl0
        192.168.0.97      00:11:d8:d7:72:18  UHLW        1    49921    rl0  1007

        1 Reply Last reply Reply Quote 0
        • E
          Eugene
          last edited by Aug 22, 2009, 7:21 PM

          Попробуй добавить следующее
          route add host 239.255.0.147 10.255.189.193

          http://ru.doc.pfsense.org

          1 Reply Last reply Reply Quote 0
          • F
            filosoff96
            last edited by Aug 22, 2009, 7:22 PM

            ##–----------------------------------------------------

            Enable Quickleave mode (Sends Leave instantly)

            ##------------------------------------------------------
            quickleave
            phyint rl1 upstream ratelimit 0 threshold 1
            altnet 212.49.127.0/24

            phyint rl0 downstream ratelimit 0 threshold 1
            altnet 192.168.0.0/24

            Это конфиг

            1 Reply Last reply Reply Quote 0
            • F
              filosoff96
              last edited by Aug 22, 2009, 7:26 PM

              @Eugene:

              Попробуй добавить следующее
              route add host 239.255.0.147 10.255.189.193

              route: bad address: host

              1 Reply Last reply Reply Quote 0
              • E
                Eugene
                last edited by Aug 22, 2009, 7:27 PM

                Пардон
                route add -host 239.255.0.147 10.255.189.193

                http://ru.doc.pfsense.org

                1 Reply Last reply Reply Quote 0
                • F
                  filosoff96
                  last edited by Aug 22, 2009, 7:31 PM

                  нет тишина на внешнем …

                  1 Reply Last reply Reply Quote 0
                  • E
                    Eugene
                    last edited by Aug 22, 2009, 7:32 PM

                    так не бывает -)
                    netstat -rn опять пожалуйста и что говорит igmpproxy если запустить с debug?

                    http://ru.doc.pfsense.org

                    1 Reply Last reply Reply Quote 0
                    • F
                      filosoff96
                      last edited by Aug 22, 2009, 7:36 PM

                      Internet:
                      Destination        Gateway            Flags    Refs      Use  Netif Expire
                      default            10.255.189.193    UGS        0  242955    rl1
                      10.255.189.192/27  link#2            UC          0        0    rl1
                      10.255.189.193    00:0c:31:65:7d:00  UHLW        3      190    rl1    39
                      10.255.189.195    127.0.0.1          UGHS        0        0    lo0
                      127.0.0.1          127.0.0.1          UH          1        0    lo0
                      192.168.0.0/24    link#1            UC          0        0    rl0
                      192.168.0.97      00:11:d8:d7:72:18  UHLW        1  122870    rl0  1198
                      239.255.0.147      10.255.189.193    UGHS        0        0    rl1

                      1 Reply Last reply Reply Quote 0
                      • F
                        filosoff96
                        last edited by Aug 22, 2009, 7:37 PM

                        Debu: SENT Membership query  from 10.255.189.195  to 224.0.0.1
                        Debu: Sent membership query from 10.255.189.195 to 224.0.0.1. Delay: 10
                        Debu: Created timeout 3 (#0) - delay 10 secs
                        Debu: (Id:3, Time:10)
                        Debu: Created timeout 4 (#1) - delay 21 secs
                        Debu: (Id:3, Time:10)
                        Debu: (Id:4, Time:21)
                        Debu: Packet from 10.255.189.195: proto: 2 hdrlen: 20 iplen: 8 or 2048
                        Note: RECV Membership query  from 10.255.189.195  to 224.0.0.1 (ip_hl 20, data 8)
                        Debu: About to call timeout 3 (#0)
                        Debu: Aging routes in table.
                        Debu:
                        Current routing table (Age active routes);
                        –---------------------------------------------------

                        Debu: No routes in table...
                        Debu:

                        1 Reply Last reply Reply Quote 0
                        • E
                          Eugene
                          last edited by Aug 22, 2009, 7:40 PM

                          Фикня какая-то, а где 239.255.0.147 в debug логе?

                          http://ru.doc.pfsense.org

                          1 Reply Last reply Reply Quote 0
                          • F
                            filosoff96
                            last edited by Aug 22, 2009, 7:41 PM

                            А нету …

                            внутри есть

                            19:36:59.593338 IP 192.168.0.97 > 239.255.0.147: igmp v2 report 239.255.0.147
                            19:37:00.046835 IP 192.168.0.97 > 239.255.0.147: igmp v2 report 239.255.0.147

                            1 Reply Last reply Reply Quote 0
                            • F
                              filosoff96
                              last edited by Aug 22, 2009, 7:44 PM

                              Это при запуске

                              igmpproxy -d /tmp/igmpproxy.conf

                              igmpproxy, Version 0.1 beta2, Build 090427
                              Copyright 2005 by Johnny Egeland johnny@rlo.orgDistributed under the GNU GENERAL PUBLIC LICENSE, Version 2 - check GPL.txt

                              Debu: Searching for config file at '/usr/local/etc/igmpproxy.conf'
                              Debu: Config: Quick leave mode enabled.
                              Debu: Config: Got a phyint token.
                              Debu: Config: IF: Config for interface rl0.
                              Debu: Config: IF: Got upstream token.
                              Debu: Config: IF: Got ratelimit token '0'.
                              Debu: Config: IF: Got threshold token '1'.
                              Debu: Config: IF: Got altnet token 239.255.1.0/24.
                              Debu: Config: IF: Altnet: Parsed altnet to 239.255.1/24.
                              Debu: Config: IF: Got altnet token 239.255.0.0/24.
                              Debu: Config: IF: Altnet: Parsed altnet to 239.255.0/24.
                              Debu: Config: IF: Got altnet token 212.48.127.0/24.
                              Debu: Config: IF: Altnet: Parsed altnet to 212.48.127/24.
                              Debu: Config: IF: Got altnet token 212.49.127.0/24.
                              Debu: Config: IF: Altnet: Parsed altnet to 212.49.127/24.
                              Debu: IF name : rl0
                              Debu: Next ptr : 0
                              Debu: Ratelimit : 0
                              Debu: Threshold : 1
                              Debu: State : 1
                              Debu: Allowednet ptr : 2820c040
                              Debu: Config: Got a phyint token.
                              Debu: Config: IF: Config for interface dc0.
                              Debu: Config: IF: Got downstream token.
                              Debu: Config: IF: Got ratelimit token '0'.
                              Debu: Config: IF: Got threshold token '1'.
                              Debu: IF name : dc0
                              Debu: Next ptr : 0
                              Debu: Ratelimit : 0
                              Debu: Threshold : 1
                              Debu: State : 2
                              Debu: Allowednet ptr : 0
                              Debu: Config: Got a phyint token.
                              Debu: Config: IF: Config for interface lo.
                              Debu: Config: IF: Got disabled token.
                              Debu: IF name : lo
                              Debu: Next ptr : 0
                              Debu: Ratelimit : 0
                              Debu: Threshold : 1
                              Debu: State : 0
                              Debu: Allowednet ptr : 0
                              Debu: Adding Physical Index value of IF 'rl0' is 1
                              Debu: buildIfVc: Interface rl0 Addr: 192.168.0.1, Flags: 0xffff8943, Network: 192.168.0/24
                              Debu: Adding Physical Index value of IF 'rl1' is 2
                              Debu: buildIfVc: Interface rl1 Addr: 10.255.189.195, Flags: 0xffff8943, Network: 10.255.189.192/27
                              Debu: Adding Physical Index value of IF 'lo0' is 7
                              Debu: buildIfVc: Interface lo0 Addr: 127.0.0.1, Flags: 0xffff8049, Network: 127/8
                              Debu: Found config for rl0
                              Note: adding VIF, Ix 0 Fl 0x0 IP 0x0100a8c0 rl0, Threshold: 1, Ratelimit: 0
                              Debu:        Network for [rl0] : 192.168.0/24
                              Debu:        Network for [rl0] : 239.255.1/24
                              Debu:        Network for [rl0] : 239.255.0/24
                              Debu:        Network for [rl0] : 212.48.127/24
                              Debu:        Network for [rl0] : 212.49.127/24
                              Note: adding VIF, Ix 1 Fl 0x0 IP 0xc3bdff0a rl1, Threshold: 1, Ratelimit: 0
                              Debu:        Network for [rl1] : 10.255.189.192/27
                              Debu: Got 262144 byte buffer size in 0 iterations
                              Debu: Joining all-routers group 224.0.0.2 on vif 10.255.189.195
                              Note: joinMcGroup: 224.0.0.2 on rl1
                              Debu: SENT Membership query  from 10.255.189.195  to 224.0.0.1
                              Debu: Sent membership query from 10.255.189.195 to 224.0.0.1. Delay: 10
                              Debu: Created timeout 1 (#0) - delay 10 secs
                              Debu: (Id:1, Time:10)
                              Debu: Created timeout 2 (#1) - delay 21 secs
                              Debu: (Id:1, Time:10)
                              Debu: (Id:2, Time:21)
                              Debu: Packet from 10.255.189.195: proto: 2 hdrlen: 20 iplen: 8 or 2048
                              Note: RECV Membership query  from 10.255.189.195  to 224.0.0.1 (ip_hl 20, data 8)
                              Debu: About to call timeout 1 (#0)
                              Debu: Aging routes in table.
                              Debu:
                              Current routing table (Age active routes);
                              –---------------------------------------------------

                              Debu: No routes in table...
                              Debu:
                              -----------------------------------------------------/johnny@rlo.org

                              1 Reply Last reply Reply Quote 0
                              • E
                                Eugene
                                last edited by Aug 22, 2009, 9:54 PM

                                Как я уже постил раньше, должно быть примерно так:
                                должно быть примерно так:
                                Debu: Packet from 192.168.7.185: proto: 2 hdrlen: 20 iplen: 8 or 2048
                                Note: RECV V2 member report   from 192.168.7.185   to 224.0.0.22 (ip_hl 20, data
                                Debu: Should insert group 239.142.1.1 (from: 192.168.7.185) to route table. Vif Ix : 0
                                Debu: No existing route for 239.142.1.1. Create new.
                                Debu: Found existing routes. Find insert location.
                                Debu: Inserting at beginning, before route 224.0.1.60
                                Info: Inserted route table entry for 239.142.1.1 on VIF #0
                                Debu: Joining group 239.142.1.1 upstream on IF address 2.2.2.2
                                Note: joinMcGroup: 239.142.1.1 on le1

                                Не вижу у тебя при старте
                                Debu: Found config for rl1…

                                http://ru.doc.pfsense.org

                                1 Reply Last reply Reply Quote 0
                                • F
                                  filosoff96
                                  last edited by Aug 23, 2009, 5:34 AM

                                  Смущает вот эта строка

                                  Debu: Config: IF: Config for interface dc0.

                                  такого интерфейса нет в системе

                                  есть rl0, rl1, ed0

                                  rl0 > LAN
                                  rl1 > WAN
                                  ed0 > ADSL - не настроен

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    Eugene
                                    last edited by Aug 23, 2009, 1:20 PM

                                    Вот это вот выдаётся, когда разбирается igmpproxy.conf

                                    Debu: Allowednet ptr : 2820c040
                                    Debu: Config: Got a phyint token.
                                    Debu: Config: IF: Config for interface dc0.
                                    Debu: Config: IF: Got downstream token.
                                    Debu: Config: IF: Got ratelimit token '0'.
                                    Debu: Config: IF: Got threshold token '1'.
                                    
                                    

                                    возможно тупой вопрос, но ты уверен, что в /tmp/igmpproxy.conf у тебя нет этого интерфейса?

                                    http://ru.doc.pfsense.org

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      filosoff96
                                      last edited by Aug 23, 2009, 1:23 PM

                                      С первой строчкой разобрался

                                      в остальном все так же непонятно

                                      1 Reply Last reply Reply Quote 0
                                      • E
                                        Eugene
                                        last edited by Aug 23, 2009, 1:25 PM

                                        с первой строчкой?

                                        http://ru.doc.pfsense.org

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          filosoff96
                                          last edited by Aug 23, 2009, 1:48 PM

                                          Копался вот что вышло

                                          Debu: Aging Origin 192.168.0.99 Dst 239.255.255.250 PktCnt 1 -> 1
                                          Debu: Origin 192.168.0.99 Vif bits : 0x00000000
                                          Debu: Identified Input VIF #0 as DOWNSTREAM.
                                          Debu: Setting TTL for UPSTREAM Vif 1 to 1
                                          Note: Removing MFC: 192.168.0.99 -> 239.255.255.250, InpVIf: 0
                                          Debu: Removing group 239.255.255.250. Died of old age.
                                          Debu: Removed route entry for 239.255.255.250 from table.
                                          Note: Route is not active. No kernel updates done.
                                          Debu:
                                          Current routing table (Remove route);

                                          1 Reply Last reply Reply Quote 0
                                          57 out of 270
                                          • First post
                                            57/270
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received