Soak the beans overnight. Next day, eliminate the water, rinsing well.
In a large pot over high heat, bring the water to a boil (estimate the double amount of water for the amount of beans). Add 250 gr of chopped/sliced ham, 1 cup of sliced carrots, 1 cup chopped celery, 2 onions sliced, 3 garlic cloves chopped finely, and a couple of bay leaves in the pot. Stir well, bring to a boil, reduce heat to low, place a lid and simmer for 60 minutes (or until beans are soft).
Season with salt and ground white pepper to taste.