Mix flour and salt, and form a well in the center. Crack eggs into the center of the well, and scramble with a fork.
Gradually mix the flour into the eggs until the dough begins to take shape. You can do this with your hand, or a fork. If adding herbs, add them at this point.
Knead the dough for approximately 5 minutes, until the dough is smooth in texture.
Wrap the dough in plastic, and allow to rest for at least 30 minutes. This resting period helps the dough to become more pliable, and easier to work with.
Cut the dough into fourths, using a pastry scraper, or knife. Leave one piece out to work with, rewrapping the rest, to keep them from drying out.
Set your pasta machine to the largest/widest setting. Flatten the dough with your hands, and feed through the machine. If the dough is too sticky, dust with flour.
Fold the dough into thirds, and run through the machine a few more times at the largest setting.
Lower the setting, and feed the dough through the machine.
If making spaghetti or fettuccine noodles, dust pasta strips with more flour, and run through the appropriate section of the machine.
To cook, simply add pasta to salted boiling water and cook for approximately two minutes, stirring a few times. Drain the noodles, and use in your favorite recipe.