there are two types of speciation: allopatric and sympatric. For allopatric speciation there must be a geographical separation between two populations (a mountain for example). For sympatric speciation there are a LOT of possible barriers. Hope this helps!