Different speeds depending on destination

I have a corporate hotspot and I want the users to be speed restricted based on destination.

Hotspot network is 10.100.19.x

If the destination is 10.x.x.x I want unlimited bandwidth.
if the destination is anything else I want them limited to 4mbit.

Can I do this with simple queues ?
I assume simple queues are evaluated in order ?

Any help is appreciated.

Thanks in advance.

take a look at queuing and marking packets. It has what you want. you can mark all packets with destination x and destination y than use queuing to limit one and also even set priorities. Dont forget to unmark the packets on output/postrouting depending on how you routed packets.