Ethernet Switching
Ethernet Switching

ex3200

[ Edited ]
‎05-10-2009 07:00 PM
Hi...I'm currently working on the multicast feature of EX3200 and I have create a multicast server using a VLC application running, for example, a test movie. I can already access my multicast server from a client using same VLAN segment but if i transferred my client to another port having different VLAN segment, I cannot access my multicast server anymore. Can you please help me? Thanks in advance.
Message Edited by ac on 05-11-2009 11:57 AM
2 REPLIES 2
Ethernet Switching

Re: ex3200

‎05-11-2009 05:46 PM

pnoyxpat,

 

In order to forward IP multicast traffic between VLANs, you will have to enable multicast routing.

 

1) you must add the appropriate VLAN IP interfaces to [ protocols pim ]

2) if you are using PIM sparse mode, you must setup a rendezvous point (you can setup rp local to your loopback address if you don't need to interact with an upstream PIM network).  

 - alternately, if you just want something easy, set the interfaces to mode dense, and you can skip the RP configuration

 

Also, if you are sourcing traffic with VLC, beware that it sends out multicast traffic by default with a TTL of 1.  This means that if you do not increase the TTL to a higher number, a router cannot forward the multicast traffic even if you setup multicast routing correctly

 

When using multicast routing, a router will only forward IP multicast traffic to a VLAN where there is an IGMP registration.  So you will have to make sure your client has joined the group to force an unsolicited IGMP join before traffic will flow. 

 

Dan Backman
JNCIE-ER #6 / JNCIE-M #265 / JNCI
Ethernet Switching

Re: ex3200

‎05-11-2009 06:53 PM

Hi Dan,

 

My setup is only in LAN having 1 laptop as multicast server (VLAN1) and 1 laptop as client (VLAN2) connected to EX3200 since i'm not yet that familiar with the product. While reading your recommendation, I was able to acquire from juniper site a working multicast configuration which i tried but, unfortunately, it didn't work. Im pasting the configuration below hoping that you can help me pinpoint any the configuration mistake i did.

 

system {
    host-name LAB;
    time-zone Africa/Johannesburg;
    root-authentication {
        encrypted-password "$1$Ipq.u6FN$G6LJhsS9lVjWjb1B.5HEM1"; ## SECRET-DATA
    }
    services {
        ssh {
            protocol-version v2;
        }
        netconf {
            ssh;
        }
        web-management {
            http;
        }
    }
    syslog {
        user * {
            any emergency;
        }
        file messages {
            any notice;
            authorization info;
        }
        file interactive-commands {
            interactive-commands any;
        }
    }
}
interfaces {
    ge-0/0/0 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/1 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/2 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/3 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/4 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/5 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/6 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/7 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/8 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/9 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/10 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/11 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/12 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/13 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/14 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/15 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/16 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/17 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/18 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/19 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/20 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/21 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/22 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/23 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/1/0 {
        unit 0 {
            family ethernet-switching;
        }
    }
    xe-0/1/0 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/1/1 {
        unit 0 {
            family ethernet-switching;
        }
    }
    xe-0/1/1 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/1/2 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/1/3 {
        unit 0 {
            family ethernet-switching;
        }
    }
    vlan {
        unit 0 {
            family inet {
                address 192.168.1.1/24;
            }
        }
        unit 1 {
            family inet {
                address 192.168.10.1/24;
            }
        }
        unit 2 {
            family inet {
                address 192.168.20.1/24;
            }
        }
    }
}
routing-options {
    static {
        route 0.0.0.0/0 next-hop 192.168.1.1;
    }
}
protocols {
    igmp {
        interface vlan.2;
        interface vlan.1;
    }
    pim {
        dense-groups {
            224.0.55.55/32;
        }
        rp {
            auto-rp discovery;
        }
        interface vlan.1 {
            mode sparse-dense;
        }
        interface vlan.2 {
            mode sparse-dense;
        }
    }
    igmp-snooping {
        vlan employee-vlan {
            interface all {
                multicast-router-interface;
            }
        }
        vlan workers-vlan {
            interface all {
                multicast-router-interface;
            }
        }
    }
    lldp {
        interface all;
    }
    rstp;
}
vlans {
    default {
        l3-interface vlan.0;
    }
    employee-vlan {
        vlan-id 20;
        interface {
            ge-0/0/1.0;
            ge-0/0/2.0;
            ge-0/0/3.0;
        }
        l3-interface vlan.1;
    }
    workers-vlan {
        vlan-id 30;
        interface {
            ge-0/0/4.0;
            ge-0/0/5.0;
            ge-0/0/6.0;
        }
        l3-interface vlan.2;
    }
}
poe {
    interface all;
}