Prerequisites
Enable IP routing globally.
Enable IP routing and configure an IP address on the target VLAN interface.