Static IP wirelessly

I'm having trouble setting up a Static IP address for my Macbook. I can do it fine when I use Ethernet to connect. But when going wirelessly and using Airport to connect, whatever I do to set up the Static IP fails.

I just go into System Preferences, then Network, choose Airport from the list, click Advanced, then under TCP/IP I change Configure IPv4 from 'Using DHCP' to 'Manually' where I then enter the details: I use the same Subnet Mask and Router IP Address that I use when making the Static IP address via an Ethernet connection (but choosing a different Static IP obviously) but this doesn't work. Airport says I'm connected and I get the green light but when I try Firefox or any other program that requires the Internet, it says I'm not connected.

What am I missing here? I've been trying for months and can't find anything helpful anywhere.

Macbook, Mac OS X (10.5.7)

Posted on Jul 19, 2009 7:16 AM

Reply
14 replies

Jul 19, 2009 10:56 PM in response to u2hmtmkmkm

Okay I've tried that and I'm still getting the same result.

I've also gone into my (Netgear) router's gateway to see about configuring some settings in there. I tried it with the DHCP server on so that the router could assign the IPs automatically with the Starting IP 192.168.0.2 and the Ending IP ...254. And then I would choose an IP in that range to use as my static IP. That works when it's via ethernet, but not via airport.

Then I changed the range from 192.168.0.2 to ...200 and assigned a Static IP outside of that range (...201) but it still hasn't worked.

Would turning DHCP off make any difference?

And like I said originally, even though it is not working for me, Network in System Preferences still shows a green light next to Airport and says "Connected" And under LAN IP in my router Gateway, it shows that 192.168.0.201 is a static IP. But of course, Firefox, ichat, Yahoo, uTorrent etc. won't connect. I've also checked my Firewall settings when I'm using Airport with the Static IP I've chosen and those programs that won't work all say to Allow Incoming Connections so I know the Firewall isn't the issue.

Any ideas?

Jul 20, 2009 6:55 AM in response to u2hmtmkmkm

Okay I'll respond to everyone one at a time:

dechamp: When I try to get on that page, I get the "Page Load Error" page. It says "Failed to Connect" and "Firefox can't establish a connection to the server at 216.239.122.102". Also, when I try to get on a different page, like Google, I get another "Page Load Error" page but this time it says "Address not found" and "Firefox can't find the server at www.google.com.au". So you can see the distinction between them.

William Kucharski: If I'm correct and you mean the Subnet Mask, that's something I've never changed. The information I've gotten for that comes from my router's gateway. It says to use 255.255.255.0 as the Subnet Mask unless I'm "implementing subnetting" and I don't think I'm doing that with the whole static IP thing. Am I? Oh, and as for pointing to my router, when I assign the static IP manually, it asks me to input the router's IP and I do that. And that comes from the bottom of the unit because it's also what I use to access the gateway. If you don't mean any of the things I've mentioned, I'm probably too stupid when it comes to this stuff and you will need to expand.

Thomas A Reed: I can get it back working if I go back to using DHCP. I've tried tonnes of times to get this static IP working but it never does and I just go back to using DHCP again. When I do that, I'm given an IP address by the router, one that's not in use by any other computer, ie. my brother's laptop using Vista (which funnily enough I CAN set up a static IP for), and the "lease" for that IP lasts an hour, and is then renewed automatically before it expires. The dynamic IP/lease system is the only way I can be connected when using Airport. Otherwise I can use Ethernet with a static IP or DHCP.

BobHarris: I only have the one router. I mean, I only have the one router here. I don't know about what my ISP has on their end or anything but as far as I know, there's only one that I use here.

Jul 20, 2009 9:43 AM in response to u2hmtmkmkm

Plain old manual is the correct setting.

You've set the IP, SM, and GW, but you still need to set the DNS/search domain addresses.

Presuming the airport is the only device acting as a router between your machine and a cable/DSL modem, check the airports DSN addresses, and add them to the IP configuration of your machine.

Jul 20, 2009 8:18 PM in response to u2hmtmkmkm

Okay the "Manual" setting is what I had originally been using. But I tried "Manual with DHCP" also. When I choose to do it manually, it asks for:

IPv4 address: I enter 192.168.0.5 (that's the IP I want to be static. I could enter 192.168.201 to make it outside the allowable range as my gateway has a range of DHCP IPs from 192.168.0.2 to 192.168.0.200

Subnet Mask: 255.255.255.0 I've never changed this. and my router's gateway says to use this anyway.

Router: 192.168.0.1 This is my router's IP as it is a Netgear Router and they all have this IP.

It doesn't ask me to enter anything else on this page. On the next tab under DNS Servers, it has 2 different ones. 198.142.0.51 and another one so I just leave them as is. When I input all of these settings, I get the green light and the "Connected" word under Airport but no Internet-required programs work.

However, I've just tried something:

When I would click Apply and get the green "Connected" light, then try Firefox or ichat, they wouldn't work. But when I went back to Network preferences, I saw that under the DNS tap, the DNS Servers had been wiped. There were no entries there. I never knew that happened! So, I just entered one of the two DNS servers that was there before it got wiped. And now it seems to be working. I'm "connected" with the green light AND my internet programs are working. I'll restart and see if it still works.

Jul 20, 2009 9:03 PM in response to u2hmtmkmkm

When I would click Apply and get the green "Connected" light, then try Firefox or ichat, they wouldn't work. But when I went back to Network preferences, I saw that under the DNS tap, the DNS Servers had been wiped. There were no entries there. I never knew that happened! So, I just entered one of the two DNS servers that was there before it got wiped. And now it seems to be working. I'm "connected" with the green light AND my internet programs are working. I'll restart and see if it still works.


That's why I mentioned the IP numbers. I've seen a few situations where everything works except you can't go to a website. You bypass the DNS servers when you use an IP number instead. I don't know why it didn't work for you, but it's the way I usually test to see if an issue is DNS related.

Good for you! You're the only one who could possibly have seen the change in your DNS settings. We can guess all day, but without eyes it can be tough.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Static IP wirelessly

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.