What real or fictional countries could have had two main ethnic groups separated by language and contiguous geographic areas, that identified extremely strongly as being the same, like Latin-speakers and Greek-speakers in the Roman Empire, yet still viewed everyone else as essentially "barbarians"?
As bonus challenge it cannot be a settler colony and could be formed after nationalism already exists in the late 18th-19th centuries.