Bungee cords work just as well in my experience but they do make bungee nets. Beware cheap bungee products though. The hooks can be attached poorly (dangerous), and they can lose their elasticity quickly.
On a slightly unrelated note though, if you attach a backpack to your rear rack in the same position every time the rack can rub holes in the bag if they are in contact. I know this from experience.