EdgeRouter - IGMP 프록시와 통계를 설정하기 =============================================== download at 2017-02-07T01:06:10Z `origin `_ Overview -------- -------------- 이 문서는 IGMP 프록시와 통계를 세팅하는 방법에 대하여 서술합니다. 다음의 세팅이 IGMP 프록시를 사용하기위한 최소 설정입니다: .. raw:: html
- 업스트림과 다운스트림 인터페이스를 정의한다. - 인터페이스당 프록시를 하고자 하는 서브넷을 할당하고, alt-net을 수행한다. - 각 인터페이스의 임계치를 설정한다. .. raw:: html
Steps ----- -------------- 다음 예제는 어떻게 IGMP 프록시를 설정하는지 기술합니다. .. raw:: html
- 업스트림과 다운스트림 인터페이스를 정의한다. :: ubnt@rtr1:~$ configure [edit] ubnt@rtr1# edit protocols igmp-proxy [edit protocols igmp-proxy] ubnt@rtr1# set interface eth0 role upstream [edit protocols igmp-proxy] ubnt@rtr1# set interface eth1 role downstream [edit protocols igmp-proxy] - 프록시를 사용할 서브넷을 선택한다. :: ubnt@rtr1# set interface eth0 alt-subnet 172.16.1.0/24 [edit protocols igmp-proxy] ubnt@rtr1# set interface eth1 alt-subnet 172.16.2.0/24 - 각 인터페이스의 임계치를 설정한다. :: ubnt@rtr1# set interface eth0 threshold 1 [edit protocols igmp-proxy] ubnt@rtr1# set interface eth1 threshold 1 [edit protocols igmp-proxy] - 현재 환경 설정 값을 저장하고 확인한다. :: ubnt@rtr1# commit ubnt@rtr1# top [edit] :: ubnt@rtr1# show protocols igmp-proxy interface eth0 { alt-subnet 172.16.1.0/24 role upstream threshold 1 } interface eth1 { alt-subnet 172.16.2.0/24 role downstream threshold 1 } [edit] :: ubnt@rtr1# save Saving configuration to '/config/config.boot'... Done [edit] ubnt@rtr1#exit .. rubric:: Statistics :name: statistics -------------- IGMP 프록시 통계치를 확인하고 싶다면, 다음의 명령어를 수행한다: :: ubnt@rtr1:~$ show ip multicast mfc Group Origin In Out Pkts Bytes Wrong 224.1.1.1 172.16.1.6 eth0 eth1 120875 154.93MB 0 :: ubnt@rtr1:~$ show ip multicast interfaces Intf BytesIn PktsIn BytesOut PktsOut Local eth0 173.47MB 135343 0.00b 0 172.16.1.1 eth1 0.00b 0 173.47MB 135343 172.16.2.1 .. raw:: html