Question:
Why is my static IP Address not working?
Joshua
2012-04-22 15:53:24 UTC
I have set up a static IP Address using the tutorial here: http://portforward.com/networking/static-Mac10.4.htm , but it's not working. The IP's I tried using were 10.0.2.199, 10.0.2.198, 10.0.2.175 and I checked that no other computer in our house was using any of those. But, when I try opening up safari and going to a webpage, it says I'm not connected to the internet.

Also, my dad says that I may not mess with the LAN settings and therefore setup Port Forwarding. If there is no solution to this problem, then could you let me know what you use for your Minecraft server for a static IP (if you have one). I already tried using Hamachi but my networks are filling up. I'm only allowed 4 people per network.

Any help would be GREATLY appreciated.

BTW I am using a 2009 MacBook Air with Mac OS X 10.7.3, but the Network settings are the same as in 10.4. I am trying to use a static IP for a Minecraft server.
Five answers:
Richard
2012-04-22 16:18:32 UTC
What sort of router are you using? Most domestic routers use addresses starting 192.168.... It is unusual to find a home network using addresses in the range your are quoting.



As well as setting up the IP address, have you set up the correct sub-net mask, gateway address and DNS address? When address setting is automatic, all four of these parameters are set up for you by the DHCP server in your router. When you go for a static address, you need to set all four manually.



Another thing to watch is whatever address you choose, it should not be within the range of addresses that the DHCP server is configured to allocate. You will need to check the address range used for DHCP by logging on to the router and checking what its settings are. If you do set a static address in the DHCP range, it is possible that the router will allocate the same address to another computer, which will cause you major problems.



Make sure that the address you allocate for your static address is in the same sub-net as your router. Once you have set up a static address, try connecting to the address of your router. Don't use an alphabetic URL, use the numeric address of the router. If it tells you the address is not reachable, then you have got your static address or the sub-net mask wrong.



For home networks it is normal for the DNS and gateway addresses both to be the same as the address of your router.





EDIT:

Apple tend to be a very closed organisation, and I have not been able to find any specific information about the normal settings used by the Airport Extreme.



I assume that the other computers in your network are getting their addresses automatically. I am not a MAC expert, but in Windows, when the address is set up automatically, the DNS address can be configured automatically or manually. If the address is set up manually, then the DNS has to be set up manually. In Android, all addresses are automatic or all addresses are manual.



Go on to one of the other computers (assuming it is using Windows). Hole down the windows key and press 'R'. Type 'cmd' in the run box. In the window that should appear, type 'ipconfig /all'. This should show you the addresses used by the various network adapters on that computer. Look at the Gateway, DNS and DHCP addresses. Normally these all point to the router. Try putting this address into a browser on a Windows PC and see if the router responds. Hopefully the router will produce a web page on the computer. If it does, use the same address on the MacBook, and see if it displays the same web page. If it doesn't display the page, check the sub-net mask on the MacBook. Try setting the mask to 255.0.0.0 (assuming that the IP address starts 10.0.....). To go much further might need hands-on access by someone who is familiar with the MAC setup.
dotto
2016-11-09 07:11:43 UTC
Ip Address Not Working
Adrian
2012-04-22 17:23:14 UTC
When setting a static LAN IP, you have to also manally enter the default gateway, netmask and DNS server IP address, else none of it will work.

Also, make sure your static LAN IP is NOT in the DHCP pool range of the router. That is, if the router is defined to give 10.0.2.100 to 10.0.2.199, you should not be using any address in that pool range, use something outside. While it may work, for a while, you run the risk of DHCP giving out your static IP to someone else...
2016-03-19 06:45:51 UTC
Each device on your network must have a unique IP address. They can't all use the same one. Either you must assign an IP address to each device on your network (computer, printer, router) or configure it so that they are automatically given an IP address. If it is a small network, such as your home, then automatically assigning an IP address should work fine! If you have quite a large network then you should assign each device a unique address.
airgunaddict
2012-04-22 16:51:32 UTC
when you set the static ip in your computer, make sure you put the gateway and the dns address of the router. Its probably 10.0.2.1

if you dont do this for dns and gateway you will not get out to the internet.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...