if you only create two vlan's, then you've got two separate networks, that don't communicate with each other at all.
all traffic including broadcast stay within a vlan and won't be forwarded to the other vlan.
you don't want the same broadcast address?
then use different subnets, each has it own broadcast address
like 192.168.1.0/24 -> range 192.168.1.1 to 192.168.1.254; broadcast 192.168.1.255
and 192.168.2.0/24 -> range 192.168.2.1 to 192.168.2.254; broadcast 192.168.2.255
or 192.168.1.0/25 -> range 192.168.1.1 to 192.168.1.126; broadcast 192.168.1.127
and 192.168.1.128/25 -> range 192.168.1.129 to 192.168.1.254; broadcast 192.168.1.255
if you want the networks to communicate with eachother you need to configure one of the switches as a router (or a dedicated router).
routers don't forward broadcasts, so the broadcasts stay isolated in their own vlan.
on a switch
- for each vlan configure an vlan interface and assign it a ip-address
- enable ip routing
in each vlan configure the clients to use the switch as the default-gateway.