You need to create the exact VLAN numbers and Names on the LInksys as the UC500. Then make sure the VLAN's are applied to each ethernet port you want to communicate..
Remember the two ports between the devices have to be a trunk that can pass all the VLAN information,