Connecting MANETs to IP Networks

You can configure a network model so that the nodes within the MANET can communicate with IP networks. The MANET is connected to the IP network through a MANET gateway that is running a MANET routing protocol and an IP routing protocol (or static routing) on one of its interfaces. A MANET gateway is any wireless LAN router that has its MANET Gateway attribute enabled. The manet_gtwy_wlan_ethernet_slip4 node is already configured for use as a MANET gateway.

To connect to IP networks, a MANET must meet the following requirements:

  • Use AODV or OLSR as its MANET routing protocol
  • Include a MANET gateway that has:
    • At least one, but not all, wireless LAN interfaces running AODV or OLSR. This interface must be active. These interfaces connect the MANET gateway to the MANET cluster(s) or network(s).
    • (AODV only) An IP dynamic routing protocol, or static route, configured on one or more interfaces. These wired or wireless interfaces connect the MANET gateway to the IP network.
    • (OLSR only) A static route configured on one or more interfaces. These wired or wireless interfaces connect the MANET gateway to the IP network.
  • All of the nodes in the MANET and the MANET interface on the gateway must have the same BSS ID. This ensures that they are in the same IP subnet.
  • (OLSR only) Every OLSR node must have a static route configured using a destination prefix with the gateway as the next-hop address.
  • (SMF only) The gateway’s non-MANET interfaces that are desired to run SMF should have the AD-HOC Routing Parameters > SMF Parameters > Interfaces[n] > Mode attribute set to “Non-MANET”.

You can use any of the following methods to advertise the IP address of the MANET to the Internet:

  • Configure an IP routing protocol on the gateway’s MANET interface
  • Redistribute the directly connected routes on the gateway’s MANET interface to the IP routing protocol
  • Configure one or more static routes to the MANET gateway in the IP network

Note: The manet_gtwy_wlan_ethernet_slip4 node is already configured as a MANET gateway—its wireless interface runs AODV and RIP and the wired interfaces run RIP.