Like the man above said, they are very much the same. What separated the Iberans from other groups was the mountain range dividing Spain and France that I don't feel like looking up the name of...Pyranees or something like this. Just look at the Portuguese and Spanish languages themselves for more proof. Both use a great deal of Arabic loanwords.
Don't be so confused about lines drawn on a map. Spain itself used to be several kingdoms that were then reunited; Quebec is part of, but could easily not be part of, Canada; and so on.