IP based database tables