Peel, wash and cut the carrots into pieces. Peel shallots, halve them according to size. Peel garlic and chop finely. Cut the legs of duck with a sharp knife in the joint. Wash upper and lower legs and pat dry.
Season with salt and pepper.
Preheat oven (electric cooker: 200 °C/circulating air: 175 °C/gas: see manufacturer). Heat oil in a large roasting pan. Brown the legs all around. Fry carrots, shallots and garlic briefly.
Dust flour over vegetables and legs and sauté briefly. Add red wine, stock and bay leaf and bring to the boil. Cover and braise in a hot oven for about 1 1⁄2 hours.
Remove the lid about 30 minutes before the end of the cooking time and braise everything open to the end. Season the sauce with salt and pepper. Serve everything. Baguette tastes good with it.