No, a single gateway can connect to over 100 sensors without additional programming.
Gateways connect to all devices in their group and subgroups. If you have multiple groups, make sure you have Gateway in each group or a Gateway at a higher level in the group tree structure.