Jump to content
Калькуляторы

Проблемы с iptv - не работает

Всё работало пока что-то сам не сделал... как говорится хочешь улучшить - сохрани как было :)

 

Есть схема: uplink - cisco7609 - (vlan8) - dlink3627 - (vlan8) - dlink3552 - приставка.

Трогался только 3627.

Кошка к аплинку по mbgp, на ней pim-sparse. 3552 - multicast vlan8.

 

3627 был настроен только с igmp-snooping мультикаст вланом.

 

Решил перевести его на pim (порекомендовал uplink). С тех пор у 3627 есть только:

Command: show igmp_snooping group

Source/Group : NULL / 224.0.1.60

VLAN Name/VID : iptv/8

Port Member : 23

Mode : EXCLUDE

Source/Group : NULL / 224.0.1.127

VLAN Name/VID : iptv/8

Port Member : 23

Mode : EXCLUDE

Source/Group : NULL / 229.111.112.12

VLAN Name/VID : iptv/8

Port Member : 23

Mode : EXCLUDE

Source/Group : NULL / 239.195.32.1

VLAN Name/VID : iptv/8

Port Member : 23

Mode : EXCLUDE

Source/Group : NULL / 239.195.32.3

VLAN Name/VID : iptv/8

Port Member : 25

Mode : EXCLUDE

Source/Group : NULL / 239.195.32.7

VLAN Name/VID : iptv/8

Port Member : 25

Mode : EXCLUDE

Source/Group : NULL / 239.195.32.8

VLAN Name/VID : iptv/8

Port Member : 25

Mode : EXCLUDE

Source/Group : NULL / 239.195.32.74

VLAN Name/VID : iptv/8

Port Member : 25

Mode : EXCLUDE

Source/Group : NULL / 239.195.33.1

VLAN Name/VID : iptv/8

Port Member : 25

Mode : EXCLUDE

Source/Group : NULL / 239.195.33.3

VLAN Name/VID : iptv/8

Port Member : 25

Mode : EXCLUDE

Source/Group : NULL / 239.195.33.31

VLAN Name/VID : iptv/8

Port Member : 23

Mode : EXCLUDE

Source/Group : NULL / 239.255.255.250

VLAN Name/VID : iptv/8

Port Member : 23

Mode : EXCLUDE

Source/Group : NULL / 239.255.255.253

VLAN Name/VID : iptv/8

Port Member : 23

Mode : EXCLUDE

Total Entries : 13

 

Что выглядит правильным за исключением момента что в мемберах только исходящие порты, а src порт 27 отсутствует. Ну и как результат:

Command: show igmp_snooping forwarding

Total Entries : 0

 

При этом:

Command: show igmp group

 

Interface Multicast Group Last Reporter IP Querier IP Expire

------------ --------------- --------------- --------------- ---------

iptv 224.0.1.60 0.0.0.0 172.18.0.1 238

iptv 224.0.1.127 0.0.0.0 172.18.0.1 238

iptv 229.111.112.12 0.0.0.0 172.18.0.1 238

iptv 239.195.32.1 0.0.0.0 172.18.0.1 238

iptv 239.195.33.31 0.0.0.0 172.18.0.1 259

iptv 239.255.255.250 0.0.0.0 172.18.0.1 238

iptv 239.255.255.253 0.0.0.0 172.18.0.1 238

 

Total Entries: 7

 

172.18.0.1 - интерфейс кошки в vlan8

 

Кошка по этому поводу думает:

sh ip mroute

IP Multicast Routing Table

Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,

L - Local, P - Pruned, R - RP-bit set, F - Register flag,

T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,

X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,

U - URD, I - Received Source Specific Host Report,

Z - Multicast Tunnel, z - MDT-data group sender,

Y - Joined MDT-data group, y - Sending to MDT-data group,

V - RD & Vector, v - Vector

Outgoing interface flags: H - Hardware switched, A - Assert winner

Timers: Uptime/Expires

Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 239.255.255.253), 12:36:58/00:02:15, RP 0.0.0.0, flags: SP

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list: Null

(*, 239.255.255.250), 12:36:58/00:02:15, RP 0.0.0.0, flags: SP

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list: Null

(*, 239.195.33.3), 11:03:25/00:02:09, RP 172.23.246.18, flags: SP

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list: Null

(*, 239.195.33.1), 11:03:57/00:02:09, RP 172.23.246.18, flags: SP

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list: Null

(*, 239.195.33.31), 12:36:58/00:02:59, RP 172.23.246.18, flags: SP

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list: Null

(*, 239.195.32.8), 11:21:55/00:02:09, RP 172.23.246.18, flags: SP

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list: Null

(*, 239.195.32.7), 11:02:30/00:02:09, RP 172.23.246.18, flags: SP

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list: Null

(*, 239.195.32.3), 11:04:30/00:02:09, RP 172.23.246.18, flags: SP

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list: Null

(*, 239.195.32.1), 00:16:13/00:02:15, RP 172.23.246.18, flags: SP

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list: Null

(*, 239.195.32.74), 10:32:08/00:02:09, RP 172.23.246.18, flags: SP

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list: Null

(*, 229.111.112.12), 12:36:58/00:02:15, RP 0.0.0.0, flags: SP

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list: Null

(*, 224.0.1.60), 12:36:58/00:02:15, RP 0.0.0.0, flags: SP

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list: Null

(*, 224.0.1.40), 11:00:56/00:02:50, RP 0.0.0.0, flags: DCL

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list:

Vlan8, Forward/Sparse, 09:48:51/00:00:00

Vlan3, Forward/Sparse, 09:48:52/00:00:00

(*, 224.0.1.127), 12:36:58/00:02:15, RP 0.0.0.0, flags: SP

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list: Null

 

Сломал голову - где копать?

Share this post


Link to post
Share on other sites

Конфиг 3627:

# VLAN

 

create vlan iptv tag 8

config vlan iptv add tagged 23,25-27 advertisement disable

 

# LIMITED_MULTICAST_RANGE

 

create multicast_range 1 from 224.0.0.1 to 224.0.0.2

create multicast_range 2 from 239.195.0.0 to 239.195.255.255

 

# IP

 

create ipif iptv 172.18.0.11/16 iptv state enable

config ipif iptv proxy_arp disable local disable

config ipif iptv ip_mtu 1500

config ipif iptv ip_directed_broadcast disable

 

# MCFILTER

 

config multicast filtering_mode iptv forward_all_groups

 

# SNOOP

 

config igmp_snooping vlan iptv report_suppression disable

config igmp_snooping vlan iptv state enable fast_leave disable

config igmp_snooping querier vlan iptv query_interval 125 max_response_time 10 robustness_variable 2 last_member_query_interval 1 state disable version 2

config router_ports iptv add 27

config limited_multicast_addr ports 1-27 state disable

 

# IGMP

 

config igmp ipif iptv version 2 query_interval 125 max_response_time 10 robustness_variable 2 state enable

config igmp ipif iptv last_member_query_interval 1

config igmp check_subscriber_source_network ipif iptv enable

 

# PIMSM

 

enable pim

config pim cbsr hash_masklen 30

config pim cbsr bootstrap_period 60

config pim register_suppression_time 60

config pim register_probe_time 5

config pim last_hop_spt_switchover never

config pim crp holdtime 150 priority 192

config pim crp wildcard_prefix_cnt 0

config pim ipif System state disable hello 30 jp_interval 60 mode dm dr_priority 1 passive disable

config pim cbsr ipif System priority -1

config pim ipif iptv state enable hello 30 jp_interval 60 mode sm dr_priority 1 passive disable

config pim cbsr ipif iptv priority -1

config pim-ssm state disable group_range 232.0.0.0/8

 

На 3552 всё красиво:

show igmp_snooping forwarding

Command: show igmp_snooping forwarding

VLAN Name : iptv

Source IP : *

Multicast Group : 224.0.1.60

Port Member : 5,49

VLAN Name : iptv

Source IP : *

Multicast Group : 224.0.1.127

Port Member : 8,15,49

VLAN Name : iptv

Source IP : *

Multicast Group : 229.111.112.12

Port Member : 45,49

VLAN Name : iptv

Source IP : *

Multicast Group : 239.195.32.2

Port Member : 49,51

VLAN Name : iptv

Source IP : *

Multicast Group : 239.195.33.31

Port Member : 5,49

VLAN Name : iptv

Source IP : *

Multicast Group : 239.255.255.250

Port Member : 1,8,15,49,51

VLAN Name : iptv

Source IP : *

Multicast Group : 239.255.255.253

Port Member : 8,15,45,49

Total Entries : 7

 

49 - uplink к 3627

Share this post


Link to post
Share on other sites

переделал. сделал как по картинкам.

Источник(172.23.246.17) -vlan3- (172.23.246.18) cisco (192.168.18.1) -vlan11- (192.168.18.2,27p) dgs3627 (172.18.0.11,23p) -ism_vlan8- (29p)des3552 - ghbcnfdrf

3552 на нём всё вроде ОК:

Command: show igmp_snooping group

Source/Group : NULL/224.0.1.60

VLAN Name/VID : iptv/8

Member Ports : 5

UP Time : 76291

Expiry Time : 153

Filter Mode : EXCLUDE

Source/Group : NULL/239.195.32.2

VLAN Name/VID : iptv/8

Member Ports : 5

UP Time : 2

Expiry Time : 259

Filter Mode : EXCLUDE

Source/Group : NULL/239.195.32.10

VLAN Name/VID : iptv/8

Member Ports : 51

UP Time : 1515

Expiry Time : 163

Filter Mode : EXCLUDE

Total Entries: 7

 

Command: show igmp_snooping forwarding

VLAN Name : iptv

Source IP : *

Multicast Group : 224.0.1.60

Port Member : 5,49

VLAN Name : iptv

Source IP : *

Multicast Group : 239.195.32.2

Port Member : 5,49

VLAN Name : iptv

Source IP : *

Multicast Group : 239.195.32.10

Port Member : 49,51

Total Entries : 7

 

3627:

Command: show pim neighbor

PIM Neighbor Address Table

Interface Name Neighbor Address Expired Time

--------------- ---------------- ------------

iptv-cisco 192.168.18.1 91

Total Entries: 1

 

Command: show pim static_rp

PIM Static RP Table

Group RP Address

------------------ ------------------

239.195.0.0/16 172.23.246.18

Total Entries: 1

 

Command: show pim rpset

PIM RP-Set Table

Bootstrap Router: 0.0.0.0

Group Address RP Address Holdtime Expired Time Type

------------------ ------------------ --------- ------------ ------

239.195.0.0/16 172.23.246.18 0 0 Static

Total Entries: 1

 

Command: show igmp_snooping group

Source/Group : NULL / 224.0.1.60

VLAN Name/VID : iptv/8

Port Member : 23

Mode : EXCLUDE

Source/Group : NULL / 239.195.32.2

VLAN Name/VID : iptv/8

Port Member : 23,25

Mode : EXCLUDE

Source/Group : NULL / 239.195.32.10

VLAN Name/VID : iptv/8

Port Member : 23

Mode : EXCLUDE

Total Entries : 13

 

Command: show igmp_snooping forwarding

Total Entries : 0

 

Command: show pim ipmroute

PIM IP Multicast Route Table

UA = Upstream AssertTimer

AM = Assert Metric

AMPref = Assert MetricPref

ARB = Assert RPTBit

Group Address Source Address UA AM AMPref ARB Flag Type Mode

------------------ ------------------ ---- ---- ------ ---- ---- ------- ----

239.195.32.2 172.23.246.18/32 0 0 0 0 RPT (*.G) ASM

239.195.32.10 172.23.246.18/32 0 0 0 0 RPT (*.G) ASM

Total Entries: 2

 

cisco:

sh ip mroute

IP Multicast Routing Table

Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,

L - Local, P - Pruned, R - RP-bit set, F - Register flag,

T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,

X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,

U - URD, I - Received Source Specific Host Report,

Z - Multicast Tunnel, z - MDT-data group sender,

Y - Joined MDT-data group, y - Sending to MDT-data group,

V - RD & Vector, v - Vector

Outgoing interface flags: H - Hardware switched, A - Assert winner

Timers: Uptime/Expires

Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 239.195.32.10), 00:41:17/00:03:12, RP 172.23.246.18, flags: S

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list:

Vlan11, Forward/Sparse, 00:41:17/00:03:12

(93.100.195.164, 239.195.32.10), 00:00:35/00:02:24, flags: MT

Incoming interface: Vlan3, RPF nbr 172.23.246.17, Mbgp

Outgoing interface list:

Vlan11, Forward/Sparse, 00:00:35/00:03:12

(*, 239.195.32.2), 04:09:32/00:02:58, RP 172.23.246.18, flags: S

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list:

Vlan11, Forward/Sparse, 04:09:32/00:02:58

(93.100.195.164, 239.195.32.2), 00:02:24/00:00:35, flags: MT

Incoming interface: Vlan3, RPF nbr 172.23.246.17, Mbgp

Outgoing interface list:

Vlan11, Forward/Sparse, 00:02:24/00:02:58

(*, 224.0.1.40), 04:48:06/00:02:51, RP 0.0.0.0, flags: DCL

Incoming interface: Null, RPF nbr 0.0.0.0

Outgoing interface list:

Vlan11, Forward/Sparse, 04:48:06/00:00:00

Vlan3, Forward/Sparse, 04:48:06/00:00:00

 

sh ip pim nei

PIM Neighbor Table

Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,

P - Proxy Capable, S - State Refresh Capable, G - GenID Capable

Neighbor Interface Uptime/Expires Ver DR

Address Prio/Mode

172.23.246.17 Vlan3 16:45:23/00:01:31 v2 10000/ DR S P G

192.168.18.2 Vlan11 05:14:08/00:01:42 v2 1 / DR G

 

sh ip pim rp

Group: 239.195.32.10, RP: 172.23.246.18, next RP-reachable in 00:00:54

Group: 239.195.32.2, RP: 172.23.246.18, next RP-reachable in 00:01:08

 

sh ip mroute sum

IP Multicast Routing Table

Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,

L - Local, P - Pruned, R - RP-bit set, F - Register flag,

T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,

X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,

U - URD, I - Received Source Specific Host Report,

Z - Multicast Tunnel, z - MDT-data group sender,

Y - Joined MDT-data group, y - Sending to MDT-data group,

V - RD & Vector, v - Vector

Outgoing interface flags: H - Hardware switched, A - Assert winner

Timers: Uptime/Expires

Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 239.195.32.10), 00:43:39/00:02:50, RP 172.23.246.18, OIF count: 1, flags: S

(93.100.195.164, 239.195.32.10), 00:02:57/00:00:02, OIF count: 1, flags: MT

(*, 239.195.32.2), 04:11:54/00:02:36, RP 172.23.246.18, OIF count: 1, flags: S

(93.100.195.164, 239.195.32.2), 00:01:02/00:01:57, OIF count: 1, flags: MT

(*, 224.0.1.40), 04:50:28/00:02:21, RP 0.0.0.0, OIF count: 2, flags: DCL

 

sh ip mroute cou

IP Multicast Statistics

4 routes using 2390 bytes of memory

3 groups, 0.33 average sources per group

Forwarding Counts: Pkt Count/Pkts per second/Avg Pkt Size/Kilobits per second

Other counts: Total/RPF failed/Other drops(OIF-null, rate-limit etc)

Group: 239.195.32.10, Source count: 0, Packets forwarded: 0, Packets received: 0

Group: 239.195.32.2, Source count: 1, Packets forwarded: 0, Packets received: 0

RP-tree: Forwarding: 0/0/0/0, Other: 0/0/0

Source: 93.100.195.164/32, Forwarding: 0/0/0/0, Other: 0/0/0

Group: 224.0.1.40, Source count: 0, Packets forwarded: 0, Packets received: 0

 

 

вот вроде всё есть - но нифига нет...

Share this post


Link to post
Share on other sites

Если у вас DGS не маршрутизирует - PIM вам не нужен.

Либо скидывайте на него абонентские шлюзы (это правда не очень хорошая идея, ибо L3 на нем баговый)

Либо верните в зад igmp_snooping

Share this post


Link to post
Share on other sites

Таки разобрались (ещё на прошлой неделе). Было: при поднятии mbgp сессии почему-то не ходил мультикаст... решилось принудительным сбросом сессии с ОБЕИХ сторон. С одной не помогало.

Посе прибил PIM и сделал как было.

Всем спасибо за участие.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.