Answer:
In Ephesians, God says "Children, obey your parents in the Lord: for this is right. Honour thy father and mother; which is the first commandment with promise; That it may be well with thee, and thou mayest live long on the earth. And, ye fathers, provoke not your children to wrath: but bring them up in the nurture and admonition of the Lord."
When God said this, He meant: "Children, obey you mom and dad because it is the right thing to do. Honor them, this is the first commandment with promise. And, fathers, do not punish them simply because you are angry: instead, raise them the way God wants them to be raised."
The role of children: Obey and honor your parents.
The role of parents: Raise your children the way God wants them raised; punish them, not out of anger, but out of love.