The invention discloses a method for realizing
mobile Ad hoc network communication and INTERNET
interconnection based on a host identifier. The method mainly comprises the following three aspects: firstly, an existing
mobile Ad hoc network routing protocol is simply expanded, mapping between a host identifier and an IP (
Internet Protocol) address is realized while routing is constructed, the protocol adopts the host identifier in upper-layer application communication and adopts the
IP address identifier in a lower-layer
datagram transmission process, and the host identifier and the
IP address identifier are matched with each other; the dual identity of a traditional
IP address is deconstructed, and the method is completely compatible with an existing traditional network mechanism; then, based on an autonomous domain gateway agent in combination with NAT, an external node can directly access an Ad hoc internal
private address network node, the limitation that in a
mobile IP mechanism, a public IP address must be allocated to each node is solved, and the requirement for the public IP address is reduced; and finally, an adaptive threshold mechanism is adopted in the Ad hoc autonomous domain, the transmission range of the gateway announcement message is automatically adjusted, and the
network overhead in the gateway discovery process is reduced.