VXLAN and Juniper – the quick and dirty way

So,here I was having problems getting multicast working correctly and it was really driving me bonkers. Within the same host all was good (duh, VMware does local networking local of course), but between hosts was failing. The other host wasn’t seeing any traffic at all.

No good triggers to kick the mind into gear; google searches coming up with empty items or other blog posts about how VXLAN works with VMware and Juniper together.

Not an example in sight! The innerwebs failed me.

Then something clicked. I need igmp-snooping and while all VLANs were configured for such it just was not working as I needed it to. Something was wrong and I didn’t know what, so I experimented and now you can read the results.

So, did this:

show protocols igmp-snooping

and verified that the configuration was set to ‘vlan all’.

Typed the following:

set protocols igmp-snooping vlan vlan301 interface ae5.0 multicast-router-interface
set protocols igmp-snooping vlan vlan301 interface ae6.0 multicast-router-interface

Which then sets the following:

[email protected]# show protocols igmp-snooping 
vlan all;
vlan vlan301 {
    interface ae5.0 {
        multicast-router-interface;
    }
    interface ae6.0 {
        multicast-router-interface;
    }
}

Then typed…

[email protected]# commit

Walla! I have working multicast and VXLAN started to allow between host traffic!

To verify, I ran one of those ‘show’ commands that make me all warm and fuzzy on the inside when things are working:

[email protected]> show igmp-snooping membership detail

VLAN: default Tag: 0 (Index: 2)
VLAN: vlan300 Tag: 300 (Index: 3)
VLAN: vlan100 Tag: 100 (Index: 4)
VLAN: vlan600 Tag: 600 (Index: 6)
VLAN: vlan610 Tag: 610 (Index: 7)
VLAN: vlan301 Tag: 301 (Index: 8)
    Router interfaces:
        ae5.0 static Uptime: 01:44:11
        ae6.0 static Uptime: 01:44:11

{master:0}