DHCP not working

I am having problems in my router asigns an IP address. I initial get an IP address of 192.168.1.100 and then a few second later it changes to my static IP for the network. It does this both on my work computer running Lion as well as my home machine also running lion. These router both worked properly before updating to Lion.


Any help is appreciated.


Thanks in advance for any info


Mike

Imac 27, Macbook Pro 13,Imac 24, Mac OS X (10.7)

Posted on Sep 21, 2011 3:28 PM

Reply
17 replies

Sep 22, 2011 6:23 PM in response to Michael29

Michael29 wrote:


I initial get an IP address of 192.168.1.100 and then a few second later it changes to my static IP for the network.

This has NOTHING to do with Lion but with your settings either on Router and Mac.

1) You cant configure a DHCP and a fixed IP at the same time.

2) Decide what you want DHCP or fixed IP and clear your settings either on Router and Mac.

3) Clear also your settings on the "work computer"


If you dont know how to, ask.



Lupunus

Sep 22, 2011 6:52 PM in response to lupunus

Hi Iupunis


Thank you for the reply. I did check in the router at home which is a U-verse gateway and when I open the firewall setting for the MAC to use remote desktop it change the IP address Allocation from DHCP to DMZ-Plus. I did realize that this occurred until I just check the status details for the Mac in one of the router screens. After removing the open firewall setting, it changed the IP address Allocation back to DHCP. I guess I need to somehow open the firewall to permit Remote Desktop to access my work machine.


I really do appreciate your comment and help in giving me some focus as to where to look. This U-verse Gateway has many settings and ATT Support does not give any help in setting it up other then just basic internet connect service. They also provide no documentation.


Tommorow I will talke a look at my work rounter which is a ATT DSL router to see if I can see a setting for that unit.


Thanks again


I still will need to address the firewall setting so that I can use the Remote Desktop

Sep 23, 2011 5:55 AM in response to Michael29

Michael29 wrote:


Can I just use the DHCP seting with a manual address where the address would always be the same.

All (almost all) DHCP routers allow to reserve (bind) a specific address for a computer (MAC-Address) if needed so that the machine in question always get the same IP when connect to the dhcp server (router).


Look for MAC address reservation on your AT&T router.


Some Router (depends on model) are also able to direct all incoming traffic (if a port is open) to a deticated destination (computer) inside the home net e.g. for using VPN.



Cheers - Lupunus

Sep 23, 2011 7:47 AM in response to gbullman

gbullman wrote:


I have an older router ... you have to switch back and for between manual and DHCP for configuration on your Mac.

Easier way on your Mac will be to set up two different locations for your Network settings. This allows to use different profiles (settings) for home and work network.

Then you have only to switch between "work" and "home" or "Automatic" (for all other DHCP networks you may stumble upon) locations in the settings of your mac.



Lupunus

Sep 24, 2011 4:33 AM in response to lupunus

I now have both machines working properly My problem was some of the setting in the firewall caused a problem with DHCP IP Address allocations.

I do actually connected to my work machine from my home machine but I am not able to copy files to the machine. When following the copy process you see that next to the work machine it indicates that it is off line when in fact I am online. I can run applications remotely, update software. The only feature I can not do is copy file. When doing so I get a dialog box telling me that the machine is offline. Have you seen this type of problem? I assume it must be some other setting I need to get right.



Any info is greatly appreciated.


Thanks in advance for a reply


Michael

Sep 22, 2011 6:23 PM in response to Linc Davis

I really have no idea as to why Lion OS is causing this problem. The DHCP server issues the IP address is in the router. I have to small network one at home and one at work where the DHCP address being assinged to the windows machines are correct and when I used the Snow Leopard OS on the Macs they also worked properly now that I update to Lion OS the IP address being assigned are being changed to the Static IP address that the Internet Provider use to connect my home and work system to the internet.

I really do know enough on networking to determine how the Mac with Lion can change the IP address that the router is assigning


Any help is greatly appreciated,

Sep 22, 2011 6:43 PM in response to Michael29

Michael29 wrote:


I really have no idea as to why Lion OS is causing this problem.

It's, as said before, no Lion problem.


Eventually something get mixed up during the Lion upgrade, but I dont think so.


The IP you mentioned before (192.168.1.100) is strange also.


Please be so kind and give some usefull informations about your settings on the Mac and the settings of the Router. What Router is it?

Maybe add a screenshot or two, your Mac have a nice tool to produce screen shots of single windows.


The settings on your Mac should look similar to the following screenshots, but with data in.

Mine are empty as I'm on wireless.


User uploaded file

After clicking Advanced it should look like:

User uploaded file

Sep 22, 2011 7:21 PM in response to Michael29

Typically you need to do port forwarding on your router to do things like access remote desktop / shared screen from outside your network to your machine.


The trick is almost always to figure out what port the service you need to connect to is listening on. On my Snow Leopard Mac Screen Sharing is listening on port 5900 (standard VNC port). So in the application & gaming tab / port range forwarding of my Linksys router I have port 5900 being forwarded to the IP address of my Mac (192.168.1.100 in your example).


This approach requires a little maintenance in that every time the router is reset / restarted each machine may end up with a different IP address (behavior of DHCP) so in that case you have to go back in and set it to the current IP address of your mac.


Thinks get tricky when you would like to access more than 1 machine from the outside. Then you have to set one of the machine to listen on a different port.

Sep 22, 2011 8:11 PM in response to gbullman

Thank you for your reply, On my U-verse Gateway router I was able to set the firewall port setting to Port 5900 TCP for the assigned DHCP IP addres and I was able to connect remotely. I see now if I either reset the router or the mac computer another IP address will assigned and it could be different then what I just set the port 5900 to work with. Can I just use the DHCP seting with a manual address where the address would always be the same. I just would need I think to set the range of address for DHCP assignments so there is not any conflicts



Thanks All again for all the help, I do greatly apprciate it

Sep 23, 2011 7:19 AM in response to Michael29

I have an older router so not familiar with the capability that lupunus describes. If by chance your router does not support it I prefer keeping up with updating the IP address in the router rather than assign a static IP address. In the case of my router + Mac combination if I manually assign the IP address I also have to enter the DNS servers. That would be more of a pain if you use your Mac on other networks because you have to switch back and for between manual and DHCP for configuration on your Mac.


In practice I have to update the port forwards on my router between 2 and 4 times a year.

Sep 24, 2011 5:24 AM in response to Michael29

Michael29 wrote:


I do actually connected to my work machine from my home machine but I am not able to copy files to the machine. When following the copy process you see that next to the work machine it indicates that it is off line when in fact I am online.

What kind of connection did you use? e.g. VNC or RDC?

Are both machines Mac's?

Sep 24, 2011 7:23 AM in response to Michael29

Michael29 wrote:


I use remote desktop verson 3.5.1

Using RDC does not affect the "sharing" settings for a volume either on the local and the remote system.

For that, the remote volume may get reported as offline as there is no real connection between the systems (or allowance) for file swap.

For file exchange with the remote you should use a VPN connection to it and also for the RDC


Lupunus

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.

DHCP not working

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