[Xorp-users] XORP + VLC problem

Loreno Oliveira lorenooliveira at gmail.com
Wed Jun 7 08:49:37 PDT 2006


First of all, thanks to Mark and Carsten for the fast answers.

Well, I'm afraid I've did a bad evaluation of where is the problem. In a
test I´ve just finished, I monitored both network interfaces using tcpdump.
What is really happening is:

* XORP is started on notebook using config.boot below
* on the desktop, I open VLC and start streaming a video
* on the PDA, I open VLC and configure the multicast address for join
* the video should start being reproduced now, but it doesn´t

Well, taking a look at tcpdump output, what is happening is that the PDA
sends the join message (tos 0xc0, ttl 1, id 0, offset 0, flags [DF], length:
32, optlength: 4 ( RA ) 192.168.10.25 > 224.1.1.224: igmp report 224.1.1.224).
After that, several packages start being received in the wireless interface,
where the PDA is in (tos 0x0, ttl 1, id 56963, offset 0, flags [none],
length: 1356 xxx.xxx.63.228.1681 > 224.1.1.224.1234: UDP, length: 1328).

The problem is that during the package reception, oddly, the PDA sends a
leave message (tos 0xc0, ttl 1, id 0, offset 0, flags [DF], length: 32,
optlength: 4 ( RA ) 192.168.10.25 > ALL-ROUTERS.MCAST.NET: igmp leave
224.1.1.224), therefore stoping the package forwarding.

In such a scenario, it´s obvious that XORP is working properly, and VLC is
somehow leaving the multicast group. Maybe VLC is analyzing the first
packages and may be leaving the multicast group due to not supported codecs
and/or data formats. Anyway, I think this list is not the place where to
talk about VLC issues. At least I hope this thread be useful for people with
similar problems.

One more time, thanks for the answers.

Loreno


========config.boot============

/* $XORP: xorp/rtrmgr/config.boot.sample,v 1.35 2006/03/09 12:18:20 pavlin
Exp $ */


interfaces {
    restore-original-config-on-shutdown: false
    interface eth0 {
    description: "ethernet interface"
    disable: false
    default-system-config
    /*vif eth0 {
        disable: false
        address xxx.xxx.63.231 {
        prefix-length: 24
        broadcast: xxx.xxx.63.255
        disable: false
        }
    }*/
    }

    interface pan0 {
    description: "bluetooth bridge"
    disable: false
    default-system-config
    /*vif pan0 {
        disable: false
        address 192.168.10.1 {
        prefix-length: 24
        destination: 192.168.10.255
        disable: false
        }
    }*/
    }
}

fea {
    unicast-forwarding4 {
    disable: false
    }
}

plumbing {
    mfea4 {
    disable: false
    interface eth0 {
        vif eth0 {
        disable: false
        }
    }

    interface pan0 {
            vif pan0 {
                disable: false
            }
        }

    interface register_vif {
        vif register_vif {
        /* Note: this vif should be always enabled */
        disable: false
        }
    }

    traceoptions {
        flag all {
        disable: false
        }
    }
    }
}

protocols {
    igmp {
    disable: false
    interface eth0 {
        vif eth0 {
        disable: false
        }
    }

    interface pan0 {
        vif pan0 {
        disable: false
        }
    }

    traceoptions {
        flag all {
        disable: false
        }
    }
    }
}

protocols {
    pimsm4 {
    disable: false
    interface eth0 {
        vif eth0 {
        disable: false
        dr-priority: 1
        }
    }

        interface pan0 {
            vif pan0 {
                disable: false
                dr-priority: 1
            }
        }

    interface register_vif {
        vif register_vif {
        /* Note: this vif should be always enabled */
        disable: false
        }
    }

    static-rps {
        rp xxx.xxx.63.231 {
        group-prefix 224.0.0.0/4 {
            /* rp-priority: 192 */
            /* hash-mask-len: 30 */
        }
        }
    }

    /*bootstrap {
        disable: false
        cand-bsr {
        scope-zone 224.0.0.0/4 {
            cand-bsr-by-vif-name: "eth0"
        }
        }

        cand-rp {
        group-prefix 224.0.0.0/4 {
            cand-rp-by-vif-name: "eth0"
        }
        }
    }*/

    switch-to-spt-threshold {
        /* approx. 1K bytes/s (10Kbps) threshold */
        disable: false
        interval-sec: 100
        bytes: 102400
    }

    traceoptions {
        flag all {
        disable: false
        }
    }
    }
}

/*
 * Note: fib2mrib is needed for multicast only if the unicast protocols
 * don't populate the MRIB with multicast-specific routes.
 */
protocols {
    fib2mrib {
    disable: false
    }
}


On 6/7/06, Mark Handley <M.Handley at cs.ucl.ac.uk> wrote:
>
> You'll need to give some more details.
>
> I assume you're configured to run PIM on the XORP notebook?  Also that
> the PDA is successfully sending IGMP join messages that the XORP
> notebook can receive (otherwise it won't know there are any
> listeners).
>
> Can you send your xorp config file?
>
> - Mark
>
> On 6/7/06, Loreno Oliveira <lorenooliveira at gmail.com> wrote:
> > Hi folks!
> >
> > I´m on troubles with XORP + VLC. Me scenario is: I have a desktop in a
> wired
> > network which is streaming video using VLC. A notebook running XORP has
> a
> > wired and a wireless network cards, where the wired one is connected to
> the
> > same network as the desktop and the wireless one is connected to another
> > network.
> >
> > In the wireless side, I have a PDA, also running VLC, which tries to
> consume
> > the multicast data streamed by the desktop. However, XORP is not
> forwarding
> > the multicast traffic to the wireless interface.
> >
> >
> >  Does anybody has some hint about what is going wrong here??
> >
> > Loreno
> >
> > _______________________________________________
> > Xorp-users mailing list
> > Xorp-users at xorp.org
> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20060607/d066b547/attachment-0001.html 


More information about the Xorp-users mailing list