Almost minimal setup where multicast routing is necessary:
multicast sender (server);
multicast receiver (client);
two routers running PIM between them.
Multicast traffic in this example will be destined to address 224.0.1.20
Traffic flow:
Sender -- (subnet I) --> Router A -- (subnet II) --> Router B -- (subnet III) --> Receiver
Router A will be configured as Rendezvous Point.
Enable PIM and IGMP router A:
[admin@A] > routing pim interface add
[admin@A] > routing pim interface print
Flags: X - disabled, I - inactive, D - dynamic, R - designated-router,
v1 - IGMPv1, v2 - IGMPv2, v3 - IGMPv3
# INTERFACE PROTOCOLS
0 v2 all pim
igmp
1 DRv2 ether3 pim
igmp
2 DR register pim
Configure static Rendezvous Point:
[admin@A] > routing pim rp add address=<IP of router A>То что нужно у нас настрайвать я настроил как ниже показано кроме последней строки, там так и ничего не получилось придумать...
Enable PIM and IGMP router B:
[admin@B] > routing pim interface add interface=ether1
[admin@B] > routing pim interface p
Flags: X - disabled, I - inactive, D - dynamic, R - designated-router,
v1 - IGMPv1, v2 - IGMPv2, v3 - IGMPv3
# INTERFACE PROTOCOLS
0 Rv2 ether1 pim
igmp
1 DR register pim
Configure static Rendezvous Point:
[admin@B] > routing pim rp add address=<IP of router A>
Add route on multicast sender:
# ip route add 224.0.1.20/32 via <IP of router A>
Dorels писал(а):ну а все-таки - кто-то запустил IPTV от STARNETa через MT ?
все приводят один и тот-же пример из интернета - пробовал - не работает, aitec написал - "запустите IGMP-proxy" - тот-же результат.
routing igmp-proxy interface add interface=WAN upstream=yes routing igmp-proxy interface add interface=all routing igmp-proxy interface print Flags: X - disabled, I - inactive, D - dynamic, U - upstream # INTERFACE THRESHOLD 0 U WAN 1 1 all 1 2 D ether2 1
ip firewall filter add chain=input protocol=2 action=accept
ip firewall filter print Flags: X - disabled, I - invalid, D - dynamic 0 ;;; default configuration chain=input action=accept protocol=icmp 1 ;;; default configuration chain=input action=accept connection-state=established in-interface=WAN 2 ;;; default configuration chain=input action=accept connection-state=related in-interface=WAN 3 chain=input action=accept protocol=igmp // вот это правило 4 ;;; default configuration chain=input action=drop in-interface=WAN
Bojik писал(а):Вот только одна незадача.... как только запускаю - интернета у остальных нету, да и у меня картинка тормозит жутко и звука нету... Как думаете, в чём может быть проблемма?
... 19:49:23 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:49:39 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:49:39 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:49:49 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:49:50 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:49:50 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:49:50 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:49:54 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:49:57 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface ...
19:53:10 system,info log rule added by admin 19:53:10 system,info warning: log rule added by admin 19:53:17 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:53:17 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:53:21 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:53:24 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:53:24 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:53:40 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:53:40 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:53:50 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:53:51 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:53:51 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface 19:53:51 igmp-proxy,warning ignoring IGMP message: received on the upstream inte rface
Вернуться в Сетевое программное обеспечение
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 2