Mobile ad hoc networking allows nodes to form temporary networks and communicate beyond transmitter range by supporting multihop communication through IP routing. Routing in such networks is often reactive, i.e., performed on-demand, as opposed to Internet routing that is proactive. As ad hoc networks are formed on a temporary basis, any IP address should be allowed to appear in an ad hoc network. MlPMANET, a solution for connecting an ad hoc network, in which on-demand routing is used, to the Internet. MIPMANET, provides Internet access by using Mobile IP with foreign agent care-of addresses and reverse tunneling.