VMWare setup help with bonding and vlans

Hi Guys,

This is my following setup:

Each Vmware server has two network adapters teamed going to the Juniper switch.

There are two ports on the Juniper switch going to the CCR on ether11 and ether12. These interfaces are bonded using 802.3ad. I have a bridge with all vlans attached to it, which is attached to the bonded interface.

It’s not working.

What am I doing wrong here?

What I am trying to do is pass all vlans to my vmware servers. They are set at the moment to listen for any vlan. Should I be doing this differently?

bridge

add l2mtu=1590 name=bri-trunk

bridge ports

add bridge=bri-trunk interface=bonding1

vlan

add interface=bri-trunk l2mtu=1586 name=test vlan-id=1020

bonding

add mii-interval=1s mode=802.3ad name=bonding1 slaves=ether11,ether12 \
    transmit-hash-policy=layer-2-and-3

address

add address=10.200.20.1/24 interface=bonding1 network=10.200.20.0

Here is the Juniper Config for the trunk from the router to switch

    ge-0/0/46 {
        description CORE_RTR_PORT_1_AE1;
        ether-options {
            802.3ad ae1;
        }
    }
    ge-0/0/47 {
        description CORE_RTR_PORT_2_AE1;
        ether-options {
            802.3ad ae1;
        }
    }

...

    ae1 {
        description CORE_RTR_AE1;
        aggregated-ether-options {
            no-flow-control;
            minimum-links 1;
            lacp {
                active;
                periodic fast;
            }
        }
        unit 0 {
            family ethernet-switching {
                port-mode trunk;
                vlan {
                    members all;
                }
            }
        }
    }

And finally vlans defined on the switch

vlans {
    vlan100 {
        description Internal;
        vlan-id 100;
    }
    vlan1002 {
        description 1002;
        vlan-id 1002;
    }
    vlan1003 {
        description 1003;
        vlan-id 1003;
    }
    vlan1020 {
        description TEST_1020;
        vlan-id 1020;
    }
    vlan5 {
        description Management;
        vlan-id 5;
    }
    vlan9 {
        description Temp_MGMT;
        vlan-id 9;
        l3-interface vlan.9;
    }
}

Is the bonded connection working but VLANs not?

Presumably you are bridging something else to the bonded interface?

I found out that the bounded interface was buggy. A reboot of the router seemed to fix it and changing LCAP on the Juniper to passive instead of active.