<p>Ad hoc networking describes a mode of connecting electronic devices to one another without the use of a central device like a router that conducts the flow of communications. Devices connected to an ad-hoc network, called nodes, each forward data to other nodes.</p><p>An ad-hoc network is a local area network (LAN) that requires minimal configuration and can be deployed quickly, usually for specific or temporary needs. Ad-hoc networking takes its name from the Latin <em>ad hoc, </em>meaning &#34;for this.&#34;</p><p>An ad-hoc network tends to feature a small group of devices all in very close proximity to each other. Performance suffers as the number of devices grows, and a large ad-hoc network quickly becomes difficult to manage.</p><h3>Creating Ad-hoc Wireless Networks</h3><p>To set up an ad-hoc wireless network, each wireless adapter must be configured for ad-hoc mode instead of infrastructure mode, which is the mode used in networks where there is a central device like a router or server that manages network traffic. In addition, <a href="https://www.lifewire.com/wireless-product-equipment-818274" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">all wireless adapters</a> on the ad-hoc network must use the same Service Set Identifier, or <a href="https://www.lifewire.com/definition-of-service-set-identifier-816547" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="2">SSID</a>, and the same wireless channel number.</p><p>Wireless ad-hoc networks cannot bridge to wired <a href="https://www.lifewire.com/local-area-network-816382" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="3">LANs</a> or to the internet without installing a special-purpose network <a href="https://www.lifewire.com/definition-of-gateway-817891" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="4">gateway</a>.</p><p>Ad hoc networks make sense when needing to build a small, all-wireless LAN quickly for a minimum amount of money spent on equipment. Ad-hoc networks also work well as a temporary fallback mechanism if equipment for an infrastructure mode network, such as a router or access point, fails.</p><h3>Ad-hoc Network Security</h3><p>Ad-hoc networks are often secured given their usually temporary or impromptu nature. Without network access control, for example, ad-hoc networks can be open to attacks.</p><p>Devices in an ad-hoc network cannot disable SSID broadcasting in the way that devices in infrastructure mode can. Attackers generally will have little difficulty finding and connecting to an ad-hoc device if they get within signal range.</p><p>Authentication can help with this, but ad-hoc networks are inherently more vulnerable to security threats.</p><p>Learn more about the <a href="https://www.lifewire.com/home-network-diagrams-4064053" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="5">layout of ad-hoc networks</a> and <a href="https://www.lifewire.com/home-network-diagrams-4064053" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="6">infrastructure networks</a>.</p>