Create a network+dhcp ?

Discussion in 'Mac Basics and Help' started by alirezash, Nov 26, 2010.

  1. alirezash macrumors newbie

    Joined:
    Nov 26, 2010
    #1
    When we share internet connection through ad-hoc wireless network, each individual connecting to our network will be assigned with an unique IP Address and other required fields will be filled with proper data(Gateway and ..).
    I used this feature to access my iPad through wifi, and had no intention of sharing an internet connection.
    Now that I don't have an internet connection to share, my computer doesn't give any IP to my device, therefore my computer is unable to see my iPad on the network.
    I also tried "Create network" feature of mac, but again, since IP addresses have been assigned by self, I'm not able to see my iPad on the network.

    Now here's the funny part, I used WireShark to watch packets on my network, and seems like both my system and iPad are broadcasting their information on network, but none of them see the other one!

    Is there any solution to my problem? I basically want to create an ad-hoc network and access my iPad through it!
     
  2. wpotere Guest

    Joined:
    Oct 7, 2010
    #2
    We need more information....

    What are you using as the router/server on the network? Is there a router that you are using or are you using a mac to do this? Basically you can do what you are asking easily by either setting up each machine with an IP and subnet address manually or setup a server or router with DHCP to issue those addresses.
     
  3. alirezash thread starter macrumors newbie

    Joined:
    Nov 26, 2010
    #3
    If I had a router, everything was automatically solved my friend :eek:
    I set up an ad-hoc network using my Macbook running Mac.

    I did try setting ip address and subnet mask manually, but it didn't work.
    When I used internet sharing, my system was assigning iP address, and everything was fine. But if you don't have internet access but enable internet sharing, DHCP service does not work anymore. There must be internet to share for that service to work (I don't know why).

    I was looking for way to manually start a dhcp service on ad-hoc connections.
    Or simply any other way to make my iPad accessible from my Macbook.
     
  4. Queso macrumors G4

    Joined:
    Mar 4, 2006
    #4
    If you make sure that the Mac doesn't have a static IP address assigned it will use a link-local address (beginning 169.254) which should permit the two devices to see each other without DHCP.
     
  5. wpotere Guest

    Joined:
    Oct 7, 2010
    #5
    I'm going to have to play with this one to see what is happening. I have never tried to create an adhoc network using DHCP. Your best bet would be to create an Adhoc network and use a Class C network (192.168.1.x) to connect them together. The subnet would be (255.255.255.0). I would imagine that there is a way to get DHCP working but if it is a smalll network it might be easier to just static them.
     

Share This Page