¹ÌÅ©·Îƽ RB2011¿¡¼­ KT VOD, tvheadend(IGMP) µÑ ´Ù »ç¿ëÇϱâ

   Á¶È¸ 8198   Ãßõ 0    

안녕하세요.

일전에 이 곳에 미크로틱 RB2011 질문 올리고 구매하여 세팅중입니다.

인터넷 포트 변경(eth1 -> eth6), 내부 고정ip 설정, 포트포워딩, guest wifi (가정집에 웬ㅋㅋㅋ) 까지 차근차근 해보았습니다.

헤어핀 NAT 문제도 처음 알게 되었네요. (미크로틱 문서는 공인IP가 static인 경우라 저는 이 링크 보고 해결했습니다)


본론입니다. 미크로틱 RB2011에서 KT VOD와 IGMP 둘 다 사용하도록 설정해서 현재 둘 다 잘 나옵니다만.

IPTV 스트림이 LAN에 broadcast 되는걸 막고 싶고, LAN은 하드웨어 스위칭이 되길 원합니다.

현재 세팅에서는 ether2에 있는 tvheadend가 녹화를 하면 아래처럼 LAN에 broadcast 됩니다. 6.41부터 제공하는 IGMP Snooping을 켜면 broadcast 문제가 없어집니다만, LAN 전체가 소프트웨어 스위칭으로 바뀌어 파일 전송만 해도 CPU 로드가 팍팍 오릅니다.


어떤 방법이 있을까요?

a. LAN bridge가 아닌 ether2에만 쏘면 좋겠는데요. 브리지 대신 ether2를 등록하면 igmp-proxy가 Inactive되네요.

b. LAN으로 broadcast 되는 패킷을 필터링해서 ether2를 제외하고 drop시킬까 했는데, 어떻게 설정해도 안 되네요.

c. 기타 아이디어...


현재 설정은 이렇습니다. Router OS는 6.42.6 이고 multicast package 설치했습니다.

/routing igmp-proxy interface

add alternative-subnets=0.0.0.0/0 interface=br-wan-stb upstream=yes

add interface=br-lan

/interface bridge

add name=br-lan admin-mac=**:**:**:**:**:** auto-mac=no

add name=br-wan-stb

/interface bridge port

add bridge=br-lan interface=ether1-ap  --- 미크로틱 cAP ac2

add bridge=br-lan interface=ether2      --- tvheadend 돌리는 피씨

add bridge=br-lan interface=ether3     --- 기타 유선 기기들...

add bridge=br-wan-stb interface=ether6-wan  --- KT인터넷 100M

add bridge=br-wan-stb interface=ether7-stb  --- 셋탑박스 == iptime의 KT iptv전용 포트


* br-wan-stb는 WAN과 셋탑박스 연결 브리지인데, hw-offload 표시됩니다. Router OS 6.41 부터는 master/slave 설정이 없어졌네요. [문서]

Note: Since RouterOS v6.41 the master-port configuration is removed and replaced with a more simplified bridge configuration. The same functionality can be achieved by adding ports to a bridge with hardware offloading enabled and ensuring that protocol-mode is set to RSTP.

ºü½Ã¿Â 2018-08
¹ÌÅ©·ÎƽÀº ´Ù ÁÁÀºµ¥ IPTV¶û ³Ê¹« ¸ÂÃ߱Ⱑ Èûµé¾î¿ä..

¹¹ IGMP±îÁö ¾÷µ¥ÀÌÆ®Çؼ­ Á¦°øÇØÁÖ´Ï ³Ê¹« ºÒ¸¸ °¡Áú°Ç ¾Æ´Ï±ä ÇÏÁö¸¸¿ä ¤¾¤¾
ÇÑ °¡Áö ¹æ¹ý ã¾Ò½À´Ï´Ù. b¿¡ ÇØ´çÇÏ´Â ¹æ¹ýÀ¸·Î º¸¸é µÇ°Ú³×¿ä.
ºê¸®Áö¿¡ Æ÷Æ® Ãß°¡ÇÒ ¶§, unknown-multicast-flood ¿É¼ÇÀ» ²¨¹ö¸®´Â ¹æ¹ýÀÌ Àֳ׿ä.
ÇÁ·ÎÅäÄÝ ¿¹Á¦ Áß mDNS Á¤µµ°¡ ¸¾¿¡ °É¸®³×¿ä. ¾Æ¸¶ ¾È ¾²´Â °Í °°Áö¸¸¿ä.

https://wiki.mikrotik.com/wiki/Manual:Interface/Bridge
# unknown-multicast-flood (yes | no; Default: yes)
When enabled, bridge floods unknown multicast traffic to all bridge egress ports. When disabled, drops unknown multicast traffic on egress ports. Requires igmp-snooping=yes to be set to work properly. Multicast addresses that are in /interface bridge mdb are considered as learned multicasts and therefore will not be flooded to all ports. Without IGMP Snooping all multicast traffic will be dropped on egress ports. Has effect only on an egress port. This option does not limit traffic flood to the CPU. Note that local multicast addresses (224.0.0.0/24) are not flooded when unknown-multicast-flood is disabled, as a result some protocols that rely on local multicast addresses might not work properly, such protocols are RIPv2m OSPF, mDNS, VRRP and others. Some protocols do send a IGMP join request and therefore are compatible with IGMP Snooping, some OSPF implementations are compatible with RFC1584, RouterOS OSPF implementation is not compatible with IGMP Snooping.


Á¦¸ñPage 10/102
2023-02   11541   ¶óÀÌÅ©À¯
2023-02   6129   ´ÙÀÌ´ÙÀÌ
2023-02   6387   Elusive4245
2023-02   6199   ȸ¿ø
2023-02   9196   misaka
2023-02   7310   ²ÜÈ£¶±
2023-02   8270   misaka
2023-02   10029   ±èÈ¿¼ö
2023-02   10164   mydiarybiz
2023-02   9217   Uinx
2023-02   6947   ¸Óµé°³¿©¸®
2023-02   9061   È­Á¤Å¥»ï
2023-02   8650   Greeneyes
2023-02   11089   oing1215
2023-02   8655   Á¦·ÎÆé
2023-02   6839   ĵÀ§µå
2023-02   5871   µö¸¶Àεå
2023-02   6432   ¾Æ¸§ÀÌ
2023-02   6353   ¾ð´ö
2023-02   8757   ¸ÅÈ­12