Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > DHCP with fixed address

DHCP with fixed address
Thread Tools
Fresh-Faced Recruit
Join Date: Sep 2000
Location: flanders,nj,usa
Status: Offline
Reply With Quote
Jul 3, 2003, 07:10 AM
 
Does anyone know the details of how MacOS X manages "Using DHCP with manual IP address?" The real reason I'd like to know is that my Mac OS X machine works fine on the network at work, maintaining the IP address I set and not causing any conflicts. But I can't get the Linux box I've set up as a development server to do the same thing.

The man pages for linux dhcpcd seem pretty clear, but the -s and -h flags cause it to fail to get a lease at all, and without them I get a different IP address on every reboot.

I'd ask the network administrators here, but both Mac OS X and Linux are "unsupported." I'd sure appreciate any ideas you guys have.
     
Moderator
Join Date: May 2001
Location: Hilbert space
Status: Online
Reply With Quote
Jul 3, 2003, 01:03 PM
 
Well, you have to figure out the MAC address (simply do an ifconfig en0 and look for ether; it looks something like this: 00:02:33:d9:88:aa).

Then you have to edit the DHCP config file (dhcpd.conf), add an entry for your system

host myOSXbox {
hardware ethernet 00:02:33:d9:88:aa;
fixed-address 192.168.1.222;
}

in the proper subnet.

Check out the HowTo. I have successfully set this up on my FreeBSD box.
I don't suffer from insanity, I enjoy every minute of it.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:59 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2