Same virus, different strain. As said above, type 1 used to be considered "oral" and type 2 "genital." One can get either in either location. This occurs most readily when open sores are shedding virus and you come into contact with these virions, especially on a mucosal surface. As a virus, you never truly get rid of it. The virus gets activated by stress, trauma (ie cut on the mucosa), sun damage, you name it. Once it runs its course, typically up to several weeks, it recesses to the dorsal root ganglia and hides out, waiting to spring forth once more.
If you got it as a child, it's likely that you got it from salivary transfer from your mum or other infected adult. I believe the overall seroprevalence of HSV-1 in Western adults is something like 85-90% by the age of 30 and there is a rise in the seroprevalence of HSV-2 in a similar fashion, something around 30%... can't remember exactly at this moment. Probably increasing because people do shed virus even when asymptomatic.
Bottom line: You can get either strain on or in your mouth/oropharynx/genitals. Just be careful.