Please note that 2904F series switches do not have layer 3 ports to perform routing to the upstream device.
Instead the uplink connection is a trunk link, and all vlans must be tagged on the uplink interface of the 2903F.
For example
If you are connected to mikrotik router board, configure vlans and their corresponding ip addresses, and map all those vlans to the ethernet port or interface connecting to 2903F.
With this all vlans will reach the internet.
------------------------------
Prosper Mbabazi
------------------------------