Solar Wind Interaction with Giant Magnetospheres and Earth's Magnetosphere