Thanks for your repsonse. I guess my requirement would be to be able to ping the switch from my router and then trunk all vlans. I've made the two changes that you had pointed out to me and I'm still unable to ping the switch from the route or vice-versa. My irb interface now looks like this:
irb { unit 0 { family inet { dhcp { vendor-id Juniper-ex4300-24t; } } } unit 2 { family inet { address 10.10.0.2/22; } } }
Vlan 2 interface looks like this:
vlan2 { vlan-id 2; l3-interface irb.2; }
I've changed the vme interface to use the address 10.10.0.3 like so:
vme { unit 0 { family inet { address 10.10.0.3/22; } } }