Community discussions

MikroTik App
 
timerider
just joined
Topic Author
Posts: 14
Joined: Fri Oct 14, 2011 1:50 am

igmp-proxy woes

Fri Oct 14, 2011 2:45 am

Hello All.

I just bougth a RB750GL, I the hope that I can change the trash ISP router.

The provider is a triple play conection with a FTTH setup.

The main setup is based in VLAN.

- Internet works fine. Goes thru PPPoE thru VLAN 6.
- IPTV, uses a fixed IP adresses thru 2 VLAN, 2 and 3. The mulicasts emitions comes from VLAN2.

I configured the IGMP-Proxy as

The main issue is that I can "jump start" the Multicast transmision connecting the ISP router, starting VLC, after a few seconds, I turn off the router, switch all the cables and start the mikrotik router, and everthing works!.

If I keep looking at the TV for a time, I don't have any problem.

If I stop the multicast transmission, and restart it, everthing still works...

But.....

If I switch off the router, and start it again, I can not restart the multicast transmission... :(

If I leave the system without use for a long time (not using TV), also I loss the multicast transmision

thanks for all the help!
 
timerider
just joined
Topic Author
Posts: 14
Joined: Fri Oct 14, 2011 1:50 am

Re: igmp-proxy woes

Fri Oct 14, 2011 3:44 am

Responding to myself...

Maybe is a IGMPv3 vs IGMPv2 issues?

I'm almost sure that my ISP uses IGMPv2...

There are any what to force IGMPv2?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: igmp-proxy woes

Fri Oct 14, 2011 3:27 pm

no it is not possible to force IGMP-proxy to use certain version of IGMP versions. It is automatically detected from responses to "multicast broadcasts" that where sent out by the igmp-proxy.

only option to specify IGMP version is to use PIM, and IGMP-proxy will get correct version of IGMP from router running PIM.
 
timerider
just joined
Topic Author
Posts: 14
Joined: Fri Oct 14, 2011 1:50 am

Re: igmp-proxy woes

Fri Oct 14, 2011 4:24 pm

Hello janisk.

Thanks for your prompt reply.

The multicast traffic comes from my ISP (IPTV). And I think that Is not getting back the multicast subscription, I see only IGMPv3 traffic...

I "think" I'm restricted to using IGMP because if I activate PIM, I get a error like "The stream must be directly connected" or something like that.

Also I think that I can not use PIM and IGMP at the same time?

Now I'm trying with a Bridge, it's ugly but works...

Any help will be appreciated....
 
timerider
just joined
Topic Author
Posts: 14
Joined: Fri Oct 14, 2011 1:50 am

Re: igmp-proxy woes

Sun Oct 16, 2011 1:21 pm

Hello.

More information.

I just tested the theory....

I have seen that I can send IGMPv2 broadcasts from my local net, but the IGMP-Proxy sends a V3 broadcast, so there is a "Version Conversion" done by the IGMP Proxy....

I have made a ethernet capthure of both sides of the proxy, one sending IGMPv2 Messages and the other broadcasting V3 messages.

The problem that the other end is totally unaware of IGMPv3.

So if the upstream is not aware of V3 will never be a V2 detection... It's that the correct idea?

Captures attached
You do not have the required permissions to view the files attached to this post.
 
timerider
just joined
Topic Author
Posts: 14
Joined: Fri Oct 14, 2011 1:50 am

Re: igmp-proxy woes

Tue Oct 18, 2011 2:37 pm

I think that I'm alone in this forum :?


So now as I see it my problem can be solved in two ways.

1. If the IGMP-Proxy recives a v2 request, should send a v2 request, no a v3 request.
2. Or to implement in routeros a "Toggle Switch" for using v2 or v3 like some other routers.

It's seem imposible to use Igmp-Proxy in a V2 enviroment.. I'm wrong?

maybe in a older RouterOS version?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: igmp-proxy woes

Tue Oct 18, 2011 4:12 pm

no, you are not alone. :)

now, about all things in order:

* IGMP-proxy and PIM cannot be used together
* IGMP-proxy sends out requests to detect the version of IGMP used in the network, if no responses are received (that should be received) it assumes it is alone, and switches to IGMPv3.
* IMHO your provider uses some witch with IGMP snooping that is not compatible with IGMP and multicast as such, hence result you see.

What PIM configuration did you use? what you did set up and where did you see the response about - has to be directly connected.

If you have to go over several hops, you can create tunnel and then bridge it away and allow multicast traffic in.
 
timerider
just joined
Topic Author
Posts: 14
Joined: Fri Oct 14, 2011 1:50 am

Re: igmp-proxy woes

Tue Oct 18, 2011 4:54 pm

Thanks Janisk....

Let go in order too.. :D Sorry to be a little pain in the ass.. But I think that I have the problem very very focused...
* IGMP-proxy and PIM cannot be used together
Yes, I found it, But I "think" cannot use PIM because because the ISP don't support it...

I'm missing something?,
IGMP-proxy sends out requests to detect the version of IGMP used in the network, if no responses are received (that should be received) it assumes it is alone, and switches to IGMPv3.
This queries were are sent?, in the "Upstream" interface? or in the Local Lan interface?

Because I only see IGMPv3 Queries in the upstream interface. So all the queries comes back empty. (Check the capture).

In the local network, also, there is only IGMPv2 trafic.
IMHO your provider uses some witch with IGMP snooping that is not compatible with IGMP and multicast as such, hence result you see.
Maybe... but

1.But if I "Bridge" the conection (IPTV VLAN to Local Network), everthings works smoothly
2.The ISP router is using IGMP-Proxy, is a comtrend WAP-5813n

http://www.comtrend.com/cee/links/85$product.htm

This is router includes a IGMP Proxy, and it have a small ratio button for IGMP version selection.
What PIM configuration did you use? what you did set up and where did you see the response about - has to be directly connected.
I just made a "Empty" configuration, just put the two interfaces with the IGMPv2 selection.... I'm don't have much knowledge in this part...

The error comes from the error log of the system, it the same error that comes from google at this URL.

http://xorp.sourcearchive.com/lines/1.5 ... ource.html
 case PIM_BOOTSTRAP:
      // Source address must be directly connected
      if (! pim_node().is_directly_connected(*this, src)) {
          XLOG_WARNING("RX %s from %s to %s on vif %s: "
                   "source must be directly connected",
                   PIMTYPE2ASCII(message_type),
                   cstring(src), cstring(dst),
                   name().c_str());
          ret_value = XORP_ERROR;
          goto ret_label;
      }


 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: igmp-proxy woes

Wed Oct 19, 2011 1:19 pm

we.., IGMP-Proxy is IGMP-Proxy and here is RFC http://tools.ietf.org/html/rfc2236 that you have to comply with to call something IGMP-Proxy :) and it should respond to IGMP version equerries.

Now when we have pased this, here goes one idea.

configure '/routing pim' in this way:

under '/routing pim rp' set up RP as if it was somewhere in your ISP network (to make sure, router sends joins in required dirrection (next upstream router/something will be fine)

under '/routing pim interface' add interfaces with IGMPv2 set to enable multicast straffic over the interfaces, Of course, remove IGMP-proxy configuration.

if network configured on "upstream interface" is different from src-address used on multicast packets, then add this network as alternative-subnets attribute value.

This uses more resources than IGMP proxy, but you can control IGMP version and it works similar to IGMP-proxy
 
timerider
just joined
Topic Author
Posts: 14
Joined: Fri Oct 14, 2011 1:50 am

Re: igmp-proxy woes

Wed Oct 19, 2011 9:52 pm

Hello Janisk....

Again thanks all yor your time...

This is now my log.

20:46:42 pim,info PIM interface started: ether2-local-master
20:46:42 pim,info IGMP interface started: ether2-local-master
20:46:43 pim,warning JoinDesired(*,G) = true: upstream neighbor for RP 172.26.208.1 for group 239.255.255.250: not found
20:46:44 pim,warning JoinDesired(*,G) = true: upstream neighbor for RP 172.26.208.1 for group 239.0.0.77: not found
20:46:52 pim,warning JoinDesired(*,G) = true: upstream neighbor for RP 172.26.208.1 for group 239.0.0.71: not found
20:46:55 pim,warning RX IGMP_MEMBERSHIP_QUERY from 172.26.208.26 to 224.0.0.1 on vif IMAGENIOvlan2: source must be directly connected
20:47:00 pim,warning RX IGMP_V2_MEMBERSHIP_REPORT from 172.26.208.26 to 224.0.0.22 on vif IMAGENIOvlan2: source must be directly connected
20:47:02 pim,warning RX IGMP_V2_MEMBERSHIP_REPORT from 172.26.208.26 to 224.0.0.2 on vif IMAGENIOvlan2: source must be directly connected
20:47:02 pim,warning RX IGMP_V2_MEMBERSHIP_REPORT from 172.26.208.26 to 224.0.0.13 on vif IMAGENIOvlan2: source must be directly connected
20:47:43 pim,warning JoinDesired(*,G) = true: upstream neighbor for RP 172.26.208.1 for group 239.255.255.250: not found
20:47:44 pim,warning JoinDesired(*,G) = true: upstream neighbor for RP 172.26.208.1 for group 239.0.0.77: not found
20:47:52 pim,warning JoinDesired(*,G) = true: upstream neighbor for RP 172.26.208.1 for group 239.0.0.71: not found


- The RP is my next hop router 172.26.208.1
- My Local IP is 172.26.208.26
- Interface IMAGENIOvlan2.

This is my config.

routing pim export
# oct/19/2011 20:50:51 by RouterOS 5.7
# software id = 72E0-75B1
#
/routing pim
set switch-to-spt=yes switch-to-spt-bytes=0 switch-to-spt-interval=1m40s
/routing pim interface
add alternative-subnets=0.0.0.0/0 assert-override-interval=3s assert-time=3m disabled=no dr-priority=1 hello-holdtime=1m45s hello-period=30s hello-trigerred-delay=5s igmp-version=IGMPv2 interface=\
IMAGENIOvlan2 join-prune-holdtime=3m30s join-prune-period=1m override-interval=250 preferred-source-address=0.0.0.0 propagation-delay=50 protocols=pim,igmp \
require-hello=yes tracking-support=yes
add assert-override-interval=3s assert-time=3m disabled=no dr-priority=1 hello-holdtime=1m45s hello-period=30s hello-trigerred-delay=5s igmp-version=IGMPv2 interface=\
ether2-local-master join-prune-holdtime=3m30s join-prune-period=1m override-interval=250 preferred-source-address=0.0.0.0 propagation-delay=50 protocols=pim,igmp \
require-hello=yes tracking-support=yes
/routing pim rp
add address=172.26.208.1 disabled=no group=224.0.0.0/4 hash-mask-length=30 priority=192
 
timerider
just joined
Topic Author
Posts: 14
Joined: Fri Oct 14, 2011 1:50 am

Re: igmp-proxy woes

Fri Oct 21, 2011 3:08 pm

Hellooooooo.... :?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: igmp-proxy woes

Fri Nov 04, 2011 9:20 am

try to add address 172.26.208.26 network to alternative subnets
 
timerider
just joined
Topic Author
Posts: 14
Joined: Fri Oct 14, 2011 1:50 am

Re: igmp-proxy woes

Sat Nov 05, 2011 1:51 am

Alternative Subnets are 0.0.0.0.

The line is /routing pim interface
add alternative-subnets=0.0.0.0/0

That should cover "everything"

no?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: igmp-proxy woes

Mon Nov 07, 2011 3:09 pm

better set to something more specific.
 
timerider
just joined
Topic Author
Posts: 14
Joined: Fri Oct 14, 2011 1:50 am

Re: igmp-proxy woes

Tue Nov 08, 2011 8:47 pm

Same results. :( :( :(

20:46:55 pim,warning RX IGMP_MEMBERSHIP_QUERY from 172.26.208.26 to 224.0.0.1 on vif IMAGENIOvlan2: source must be directly connected 
20:47:00 pim,warning RX IGMP_V2_MEMBERSHIP_REPORT from 172.26.208.26 to 224.0.0.22 on vif IMAGENIOvlan2: source must be directly connected 
20:47:02 pim,warning RX IGMP_V2_MEMBERSHIP_REPORT from 172.26.208.26 to 224.0.0.2 on vif IMAGENIOvlan2: source must be directly connected 
20:47:02 pim,warning RX IGMP_V2_MEMBERSHIP_REPORT from 172.26.208.26 to 224.0.0.13 on vif IMAGENIOvlan2: source must be directly connected 
What its the meaning of this?.

I could investigate more if I have some tip or some way to test different combinations..
 
timerider
just joined
Topic Author
Posts: 14
Joined: Fri Oct 14, 2011 1:50 am

Re: igmp-proxy woes

Thu Dec 08, 2011 10:57 pm

somethime...


somethime...


somethime...

Who is online

Users browsing this forum: Amazon [Bot] and 50 guests