Designing the Internetworking of Terrestrial and Satellite IP-based Networks