* Re: [Sysadmins] router -> linux server @ 2013-01-23 9:26 ` Boris Savelev 2013-01-23 18:46 ` Viacheslav Dubrovskyi 0 siblings, 1 reply; 8+ messages in thread From: Boris Savelev @ 2013-01-23 9:26 UTC (permalink / raw) To: ALT Linux sysadmins' discussion 22 января 2013 г., 20:22 пользователь Aleksey Birukov <aebirukov@gmail.com> написал: > Есть инструкция по настройке сети router-а для iptv. Как бы эти настройки > преобразовать в настройки сети для linux сервера? > Чтобы обойтись без роутера. > > Вроде бы всё сделал по аналогии, но на телевизоре есть возможность выбора > каналов, выводится текстовая информация о программе передач, прогнозе погоды > и т.д, а сами каналы не транслируется. > > В чём может быть дело? > > Прикладываю вывод ifconfig > > eth0 Link encap:Ethernet HWaddr 00:0D:87:D9:61:20 > inet addr:1.1.1.1 Bcast:1.1.1.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:1402737 errors:0 dropped:0 overruns:0 frame:0 > TX packets:1150324 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:234102545 (223.2 MiB) TX bytes:200623643 (191.3 MiB) > Interrupt:23 Base address:0xe400 > > eth1 Link encap:Ethernet HWaddr 00:80:48:25:26:55 > inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:26889 errors:0 dropped:0 overruns:0 frame:0 > TX packets:33407 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:11495667 (10.9 MiB) TX bytes:37091355 (35.3 MiB) > Interrupt:18 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:3500 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3500 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:409287 (399.6 KiB) TX bytes:409287 (399.6 KiB) > > ppp0 Link encap:Point-to-Point Protocol > inet addr: <ip address> P-t-P:<ip address> Mask:255.255.255.255 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1476 Metric:1 > RX packets:39117 errors:0 dropped:0 overruns:0 frame:0 > TX packets:33123 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:3 > RX bytes:9737282 (9.2 MiB) TX bytes:5778201 (5.5 MiB) > > ppp1 Link encap:Point-to-Point Protocol > inet addr:192.168.2.1 P-t-P:192.168.2.236 Mask:255.255.255.255 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 > RX packets:7 errors:0 dropped:0 overruns:0 frame:0 > TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:3 > RX bytes:69 (69.0 b) TX bytes:63 (63.0 b) > На днях себе настраивал Нужен igmpproxy [1] и немного времени У меня конфиг выглядит так: quickleave phyint internet upstream ratelimit 0 threshold 1 altnet 192.168.0.0/24 altnet 10.147.91.0/24 altnet 89.223.36.0/26 altnet 172.31.242.0/24 phyint lan downstream ratelimit 0 threshold 1 phyint tap0 disabled phyint lo disabled 192.168.0.0/24 -- моя локальная сеть Остальное сети провайдера. Выясняются опытным путем: Начинаешь смотреть iptv за роутером и igmpproxy в логе показывает откуда что приходит. Также можно наблюдать на появлением неразрешенных маршрутов с помощью команды 'ip mr' У меня работающий вариант выглядит как-то так (192.168.0.70, 239.255.255.250) Iif: internet Oifs: lan [1] http://sourceforge.net/projects/igmpproxy/ -- Boris ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] router -> linux server 2013-01-23 9:26 ` [Sysadmins] router -> linux server Boris Savelev @ 2013-01-23 18:46 ` Viacheslav Dubrovskyi 2013-01-23 19:00 ` Boris Savelev 0 siblings, 1 reply; 8+ messages in thread From: Viacheslav Dubrovskyi @ 2013-01-23 18:46 UTC (permalink / raw) To: sysadmins [-- Attachment #1: Type: text/plain, Size: 1104 bytes --] 23.01.2013 11:26, Boris Savelev пишет: > 22 января 2013 г., 20:22 пользователь Aleksey Birukov > <aebirukov@gmail.com> написал: >> Есть инструкция по настройке сети router-а для iptv. Как бы эти настройки >> преобразовать в настройки сети для linux сервера? >> Чтобы обойтись без роутера. >> >> Вроде бы всё сделал по аналогии, но на телевизоре есть возможность выбора >> каналов, выводится текстовая информация о программе передач, прогнозе погоды >> и т.д, а сами каналы не транслируется. >> >> В чём может быть дело? >> > На днях себе настраивал > Нужен igmpproxy [1] и немного времени igmpproxy нужен для преобразования мультикаста в юникаст. Его конечно можно использовать, чтобы не гонять по локалке мультикаст. В вашем случае, скорее всего не правильно настроен фаервол. Покажите настройки iptables. Ну и вот примерно что нужно открыть iptables -A INPUT -d 224.0.0.0/240.0.0.0 -i eth0 -j ACCEPT iptables -A INPUT -s 224.0.0.0/240.0.0.0 -i eth0 -j ACCEPT iptables -A FORWARD -d 224.0.0.0/240.0.0.0 -j ACCEPT iptables -A FORWARD -s 224.0.0.0/240.0.0.0 -j ACCEPT -- WBR, Viacheslav Dubrovskyi [-- Attachment #2: ÐÑипÑогÑаÑиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ S/MIME --] [-- Type: application/pkcs7-signature, Size: 3746 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] router -> linux server 2013-01-23 18:46 ` Viacheslav Dubrovskyi @ 2013-01-23 19:00 ` Boris Savelev 2013-01-23 19:16 ` Viacheslav Dubrovskyi 0 siblings, 1 reply; 8+ messages in thread From: Boris Savelev @ 2013-01-23 19:00 UTC (permalink / raw) To: ALT Linux sysadmins' discussion 23 января 2013 г., 22:46 пользователь Viacheslav Dubrovskyi <slava@tangramltd.com> написал: > 23.01.2013 11:26, Boris Savelev пишет: >> 22 января 2013 г., 20:22 пользователь Aleksey Birukov >> <aebirukov@gmail.com> написал: >>> Есть инструкция по настройке сети router-а для iptv. Как бы эти настройки >>> преобразовать в настройки сети для linux сервера? >>> Чтобы обойтись без роутера. >>> >>> Вроде бы всё сделал по аналогии, но на телевизоре есть возможность выбора >>> каналов, выводится текстовая информация о программе передач, прогнозе погоды >>> и т.д, а сами каналы не транслируется. >>> >>> В чём может быть дело? >>> >> На днях себе настраивал >> Нужен igmpproxy [1] и немного времени > igmpproxy нужен для преобразования мультикаста в юникаст. > Его конечно можно использовать, чтобы не гонять по локалке мультикаст. > > В вашем случае, скорее всего не правильно настроен фаервол. Покажите > настройки iptables. Ну и вот примерно что нужно открыть > > iptables -A INPUT -d 224.0.0.0/240.0.0.0 -i eth0 -j ACCEPT > iptables -A INPUT -s 224.0.0.0/240.0.0.0 -i eth0 -j ACCEPT > iptables -A FORWARD -d 224.0.0.0/240.0.0.0 -j ACCEPT > iptables -A FORWARD -s 224.0.0.0/240.0.0.0 -j ACCEPT > Вероятно, Вы прав, но у меня не работает без igmpproxy( -- Boris ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] router -> linux server 2013-01-23 19:00 ` Boris Savelev @ 2013-01-23 19:16 ` Viacheslav Dubrovskyi 2013-01-23 19:21 ` Boris Savelev 0 siblings, 1 reply; 8+ messages in thread From: Viacheslav Dubrovskyi @ 2013-01-23 19:16 UTC (permalink / raw) To: ALT Linux sysadmins' discussion [-- Attachment #1: Type: text/plain, Size: 663 bytes --] 23.01.2013 21:00, Boris Savelev пишет: > >> igmpproxy нужен для преобразования мультикаста в юникаст. >> Его конечно можно использовать, чтобы не гонять по локалке мультикаст. >> >> В вашем случае, скорее всего не правильно настроен фаервол. Покажите >> настройки iptables. Ну и вот примерно что нужно открыть >> >> iptables -A INPUT -d 224.0.0.0/240.0.0.0 -i eth0 -j ACCEPT >> iptables -A INPUT -s 224.0.0.0/240.0.0.0 -i eth0 -j ACCEPT >> iptables -A FORWARD -d 224.0.0.0/240.0.0.0 -j ACCEPT >> iptables -A FORWARD -s 224.0.0.0/240.0.0.0 -j ACCEPT >> > Вероятно, Вы прав, но у меня не работает без igmpproxy( Не по wifi случаем? -- WBR, Viacheslav Dubrovskyi [-- Attachment #2: ÐÑипÑогÑаÑиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ S/MIME --] [-- Type: application/pkcs7-signature, Size: 3746 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] router -> linux server 2013-01-23 19:16 ` Viacheslav Dubrovskyi @ 2013-01-23 19:21 ` Boris Savelev 2013-01-23 22:24 ` Dubrovskiy Viacheslav 0 siblings, 1 reply; 8+ messages in thread From: Boris Savelev @ 2013-01-23 19:21 UTC (permalink / raw) To: ALT Linux sysadmins' discussion 23 января 2013 г., 23:16 пользователь Viacheslav Dubrovskyi <slava@tangramltd.com> написал: > 23.01.2013 21:00, Boris Savelev пишет: >> >>> igmpproxy нужен для преобразования мультикаста в юникаст. >>> Его конечно можно использовать, чтобы не гонять по локалке мультикаст. >>> >>> В вашем случае, скорее всего не правильно настроен фаервол. Покажите >>> настройки iptables. Ну и вот примерно что нужно открыть >>> >>> iptables -A INPUT -d 224.0.0.0/240.0.0.0 -i eth0 -j ACCEPT >>> iptables -A INPUT -s 224.0.0.0/240.0.0.0 -i eth0 -j ACCEPT >>> iptables -A FORWARD -d 224.0.0.0/240.0.0.0 -j ACCEPT >>> iptables -A FORWARD -s 224.0.0.0/240.0.0.0 -j ACCEPT >>> >> Вероятно, Вы прав, но у меня не работает без igmpproxy( > Не по wifi случаем? Да! Тут нужны особые мантры? -- Boris ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] router -> linux server 2013-01-23 19:21 ` Boris Savelev @ 2013-01-23 22:24 ` Dubrovskiy Viacheslav 2013-01-23 22:45 ` Alexey Shabalin 0 siblings, 1 reply; 8+ messages in thread From: Dubrovskiy Viacheslav @ 2013-01-23 22:24 UTC (permalink / raw) To: ALT Linux sysadmins' discussion [-- Attachment #1: Type: text/plain, Size: 590 bytes --] 23.01.2013 21:21, Boris Savelev пишет: >>>> igmpproxy нужен для преобразования мультикаста в юникаст. >>>> Его конечно можно использовать, чтобы не гонять по локалке мультикаст. >>>> >>> Вероятно, Вы прав, но у меня не работает без igmpproxy( >> Не по wifi случаем? > Да! Тут нужны особые мантры? Ну как вы себе представляете мультикаст по wifi? :) -- WBR, Dubrovskiy Viacheslav [-- Attachment #2: ÐÑипÑогÑаÑиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ S/MIME --] [-- Type: application/pkcs7-signature, Size: 3746 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] router -> linux server 2013-01-23 22:24 ` Dubrovskiy Viacheslav @ 2013-01-23 22:45 ` Alexey Shabalin 2013-01-23 22:56 ` Dubrovskiy Viacheslav 0 siblings, 1 reply; 8+ messages in thread From: Alexey Shabalin @ 2013-01-23 22:45 UTC (permalink / raw) To: ALT Linux sysadmins' discussion 24 января 2013 г., 2:24 пользователь Dubrovskiy Viacheslav написал: > 23.01.2013 21:21, Boris Savelev пишет: >>>>> igmpproxy нужен для преобразования мультикаста в юникаст. >>>>> Его конечно можно использовать, чтобы не гонять по локалке мультикаст. >>>>> >>>> Вероятно, Вы прав, но у меня не работает без igmpproxy( >>> Не по wifi случаем? >> Да! Тут нужны особые мантры? > Ну как вы себе представляете мультикаст по wifi? :) не поверишь, но мультикаст по wifi существует. У меня на wifi-роутере отдельная галка для его включения есть, после неё работает iptv(vlc). -- Alexey Shabalin ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] router -> linux server 2013-01-23 22:45 ` Alexey Shabalin @ 2013-01-23 22:56 ` Dubrovskiy Viacheslav 0 siblings, 0 replies; 8+ messages in thread From: Dubrovskiy Viacheslav @ 2013-01-23 22:56 UTC (permalink / raw) To: ALT Linux sysadmins' discussion [-- Attachment #1: Type: text/plain, Size: 1083 bytes --] 24.01.2013 00:45, Alexey Shabalin пишет: >>>>>> igmpproxy нужен для преобразования мультикаста в юникаст. >>>>>> Его конечно можно использовать, чтобы не гонять по локалке мультикаст. >>>>>> >>>>> Вероятно, Вы прав, но у меня не работает без igmpproxy( >>>> Не по wifi случаем? >>> Да! Тут нужны особые мантры? >> Ну как вы себе представляете мультикаст по wifi? :) > не поверишь, но мультикаст по wifi существует. Верю. Но это не есть хорошо, т.к. минус мультикаста по wifi - это то, что поток передается сразу всем клиентам, и, таким образом, забивает весь канал. Качество связи и скорость падают. Поэтому для wifi лучше поставить igmpproxy . -- WBR, Dubrovskiy Viacheslav [-- Attachment #2: ÐÑипÑогÑаÑиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ S/MIME --] [-- Type: application/pkcs7-signature, Size: 3746 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-01-23 22:56 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-01-23 9:26 ` [Sysadmins] router -> linux server Boris Savelev 2013-01-23 18:46 ` Viacheslav Dubrovskyi 2013-01-23 19:00 ` Boris Savelev 2013-01-23 19:16 ` Viacheslav Dubrovskyi 2013-01-23 19:21 ` Boris Savelev 2013-01-23 22:24 ` Dubrovskiy Viacheslav 2013-01-23 22:45 ` Alexey Shabalin 2013-01-23 22:56 ` Dubrovskiy Viacheslav
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git