Bow shock and its interaction with interplanetary shocks