The Mobile IPv6 protocol (MIPv6) allows a single Mobile Node (MN) to keep the same IPv6 address independently of its network of attachment. Network Mobility protocol (NEMO) is an extension of MIPv6. NEMO is concerned with managing the mobility of an entire network, so it's used for devices or vehicles which move to another point of attachment to the Internet. Proxy Mobile IPv6 (PMIPv6) has been developed for local mobility management whereas MIPv6 and NEMO address global mobility for both hosts and routers. This paper proposes a distributed mobility solution based on NEMO for heterogeneous mobile IP networks, so called Host-based and Network-based Distributed Mobility Management for NEMO (HND-NEMO), where different types of IP mobility management are operating. Our solution utilizes both network-based and host-based mechanisms. Multiple Home Agents (HAs) are deployed, and the mobility anchors are closer to the edge of the network in order to provide optimal routing and lower delays. We show that our solution provides smooth mobility in global domains, local domains, and no mobility service domains, in terms of handover latency, signaling and packet delivery costs, and end to end delay.