Ad Hoc Network

Ad Hoc Network

What Is an Ad Hoc Network?

Connecting two computers does not always require a centrally managed network. Instead, users can set up an ad hoc network between two computers. The two devices communicate through an ethernet cable or wireless cards. However, this connection is only temporary.

How Does an Ad Hoc Network Work?

Let’s say that Adam needs to transfer a file over to his friend, Eve, but doesn’t have access to a safe Wi-Fi connection. He can create an ad hoc network instead.

An ad hoc network is a temporary type of Local Area Network (LAN). If you set up an ad hoc network permanently, it becomes a LAN.

Multiple devices can use an ad hoc network at the same time, but this might cause a lull in performance. Users can also employ an ad hoc network to access the internet, as long as the hosting device can access the internet. This might be useful if only one small area of a location can access the internet, but multiple people need to get online.

With an ad hoc network, several devices can share the host device’s internet access. Employers typically pay well for jobs that manage this sort of network, especially in fields that demand a lot of travel.

Adam can create an ad hoc network between his and Eve’s laptops wirelessly, as long as it is within 100 meters (about 328 feet). From that point, he can transfer files to Eve’s laptop.

However, since Adam’s computer is the hosting device, the connection between the two devices will end when Adam ends the session, no matter how many devices are connected to the ad hoc network at the time.

Ad Hoc Connection Security

One of the biggest concerns with an ad hoc network is security. If cyber-attackers get within signal range, they will generally be able to connect to a wireless ad hoc network and, therefore, to the device.

Furthermore, users cannot disable their SSID broadcast in ad hoc mode, meaning that the network name cannot be hidden if users are in a public place. For this reason, ad hoc networks are not always appropriate.

However, because ad hoc connections are temporary and only accessible within 100 meters, they can be ideal for some situations. Attackers cannot hack into a device from far away and do not have unlimited time to plan their attack.

Continue Reading BelowYou may also be interested in...

What Is a Wide Area Network?

A wide area network (WAN) is a large network of not tied to a single location. WANs allows devices from around the world to communicate and share information.

What Is Network Address Translation?

Network Address Translation (NAT) allows private connections to employ public IP addresses to navigate the internet, but how does NAT work? What are the types of NAT?

What Is a Passive Optical Network?

Passive optical networks (PONs) bring high broadband speeds and fiber to end users' doorsteps. IT pros should know what a PON is and how it can provide network solutions.

How to Set Up an Ad Hoc Network

Devices will start in infrastructure mode, but all devices that you want connected to the ad hoc network must be in ad hoc mode. To change this, you must either install a wireless network adapter or change a couple settings within your computer.

How you set up your ad hoc network will depend on what operating system you use. Training for and acquiring a computer networking certification will give you the skills to install and manage a variety of networks, but if you’re in a pinch, follow the guides below.

Windows 10 or 8


  1. Go through the Command Prompt and type the following: netsh wlan set hostednetwork mode=allow ssid=[your desired network name] key =[your desired password].
  2. Start the hosted network by inputting the following into Command Prompt: netsh wlan start hostednetwork.
  3. In your Control Panel, open Network and Sharing Center.
  4. Click on Network Connections.
  5. Click on Change Advanced Sharing Center.
  6. Turn on Network Discovery.
  7. Click OK.


Windows 7


  1. Click on the Start menu.
  2. Click Connect To.
  3. Then Set up a connection or network.
  4. Choose Set up a wireless ad-hoc (computer-to-computer) network.
  5. Click Next.
  6. Enter the network details, like the SSID and the password.
  7. Click Next.


Mac OS


  1. Pick Create Network from AirPort
  2. Click on Create a Computer-to-Computer Network.
  3. Follow the on-screen prompts.


Following these steps will create an ad hoc network that other devices can join. From there, you can transfer files between connected devices and other connected users can access the internet through your device.

要查看或添加评论,请登录

Darshika Srivastava的更多文章

  • Insight Generation

    Insight Generation

    What is Insight Generation? Insight generation involves analyzing data to uncover valuable insights that drive…

  • Fraud Detection

    Fraud Detection

    What is Fraud Detection? Fraud detection is the process of identifying suspicious activity that indicates criminal…

  • Unsupervised Learning

    Unsupervised Learning

    What is Unsupervised Learning? As the name suggests, unsupervised learning is a machine learning technique in which…

  • Monetization

    Monetization

    What is Monetization? Monetization is the process of creating revenue from things or actions that don’t currently make…

  • Insight Generation

    Insight Generation

    What is Insight Generation? Insight generation involves analyzing data to uncover valuable insights that drive…

  • Prescriptive Analytics

    Prescriptive Analytics

    What Is Prescriptive Analytics? Prescriptive analytics is the process of using data to determine an optimal course of…

  • Data Replication

    Data Replication

    What is Data Replication? Data replication is the process of creating and maintaining multiple copies of the same data…

  • Gateway

    Gateway

    What Is Gateway? A gateway is a network connectivity device that connects two different configuration networks…

  • CONTENT MANAGEMENT

    CONTENT MANAGEMENT

    WHAT IS CONTENT MANAGEMENT? Content management (CM) is the process for collection, delivery, retrieval, governance and…

  • Courseware

    Courseware

    What is Courseware Benefits? Courseware can be helpful for students! Here are a few benefits: It can make learning and…