what does it mean "gateway switch"?
If it means that it is connected to your ISP then there you must consider 2 things.
1. if you use private addresses then it is not possible because this switch doesn´t support NAT function.
2. if you have enough public addresses then you can use it.
a) VLAN configuration:
- create as much VLANS as you want with commands
- create interface for each VLAN with different IP address
interface vlan vlan_id
ip address IP_ADDRESS NETMASK
b) Routed ports
on physical ports you can type command "no switchport" and then you can configure ip address for it. Port behaviour is same as on router.