LINUX.ORG.RU
ФорумAdmin

Мультикаст маршрутизация mrouted


0

0

Всем привет.
Есть такая задача:
Надо маршрутизировать мультикаст трафик, который принимается интерфейсом xxx.xxx.xxx на 192.168.0.1. Поставил себе mrouted

/etc/mrouted.conf
tunnel 192.168.0.1 239.0.0.100

запускаю mrouted -c /etc/mrouted.conf -d

[root@nevsky /]# mrouted -c /etc/mrouted.conf -d
debug level 0x2de (pruning,routing,peers,cache,interface,membership,igmp)
21:52:34.862 mrouted version 3.9-beta3 starting
21:52:34.866 Getting vifs from kernel interfaces
21:52:34.867 installing eth0 (xxx.xxx.xxx.xxx on subnet xxx.xxx.xxx/24) as vif #0 - rate=0
21:52:34.867 installing eth1 (192.168.0.1 on subnet 192.168.0/24) as vif #1 - rate=0
21:52:34.868 Getting vifs from /etc/mrouted.conf
21:52:34.869 installing tunnel from 192.168.0.1 to 239.0.0.100 as vif #2 - rate=0
21:52:34.870 Installing vifs in mrouted...
21:52:34.870 vif #0, phyint xxx.xxx.xxx.xxx
21:52:34.872 assuming querier duties on vif 0
21:52:34.872 sending query on vif 0
21:52:34.873 SENT membership query from xxx.xxx.xxx.xxx to 224.0.0.1
21:52:34.874 SENT neighbor probe from xxx.xxx.xxx.xxx to 224.0.0.4
21:52:34.875 vif #1, phyint 192.168.0.1
21:52:34.876 assuming querier duties on vif 1
21:52:34.877 sending query on vif 1
21:52:34.878 SENT membership query from 192.168.0.1 to 224.0.0.1
21:52:34.879 SENT neighbor probe from 192.168.0.1 to 224.0.0.4
21:52:34.881 vif #2, tunnel 192.168.0.1 -> 239.0.0.100
21:52:34.881 SENT neighbor probe from 192.168.0.1 to 239.0.0.100
vifs_with_neighbors = 0

Virtual Interface Table
Vif Name Local-Address M Thr Rate Flags
0 eth0 xxx.xxx.xxx.xxx subnet: xxx.xxx.xxx/24 1 1 0 querier
IGMP querier: xxx.xxx.xxx.xxx (this system)
Nbr bitmaps: 0x0000000000000000

1 eth1 192.168.0.1 subnet: 192.168.0/24 1 1 0 querier
IGMP querier: 192.168.0.1 (this system)
Nbr bitmaps: 0x0000000000000000

2 eth1 192.168.0.1 tunnel: 239.0.0.100 1 1 0 rexmit_prunes old-tunnel
Nbr bitmaps: 0x0000000000000000


Multicast Routing Table (2 entries)
Origin-Subnet From-Gateway Metric Tmr Fl In-Vif Out-Vifs
192.168.0/24 1 0 C. 1 0*
xxx.xxx.xxx/24 1 0 C. 0 1*

вродьбы все как положено, но потом после кучи запросов от машин с сети xxx.xxx.xxx/24 происходит такое:

21:52:45.417 mrouted version 3.9-beta3
21:52:45.418 Installing vifs in kernel...
21:52:45.418 vif #0, phyint xxx.xxx.xxx.xxx
21:52:45.418 vif #1, phyint 192.168.0.1
21:52:45.418 vif #2, tunnel 192.168.0.1 -> 239.0.0.100
21:52:45.418 setsockopt MRT_ADD_VIF on vif 2: No buffer space available

В чем дело. Я уже лоб поломал.


Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.