How can I make DHCP Service automatically assign IP addresses?

We decided on using OS X Server's DHCP service rather than depend on our router to dole out IPs. Here's the size and shape of our local subnet:
Range: 192.168.0.0 to 192.168.7.255
Mask: 255.255.248.0
Router: 192.168.1.1
DNS: ....etc...
We're trying to have the DHCP block managed as 192.168.2.0 through 192.168.2.255. Maybe I'm missing something, but shouldn't DHCP automatiScally assign IPs in that range every time someone plugs in a computer? Right now we're having to enter MAC + IP static maps manually into Server Admin, which is a major pain. How can we fix that so it becomes automatic?
Here's how DHCP service is set on our quad-Ethernet Xserve Xeon. en0 / en1 / en2 / en3 are all set up the same, but only en0 is checked:
GENERAL:
Subnet Name: Our LAN (en0)
Starting IP Address: 192.168.2.0
Ending IP Address: 192.168.2.255
Subnet Mask: 255.255.248.0
Network Interface: en0
Router: 192.168.1.1
Lease Time: 4 hours
DNS Servers:
192.168.1.100.... etc.
Default Search Domain: ourdomain.private
LDAP:
Server Name: (blank)
Search Base: (blank)
Port: (Leave blank to use the default port)
[ ] LDAP over SSL
URL:
WINS:
WINS/NBNS Primary Server: 10.0.1.20
WINS/NBNS Secondary Server: 10.0.1.21
NBDD Server: 1.0.1.22
NBT Node Type: Not Set
NetBIOS Scope ID: (blank)
I'm stuck.... I thought all I'd have to do is define a suitable range, like the 256 addresses in the middle of our DHCP block, but it's not enough. Your help is certainly appreciated.
- Bert

This morning I stumbled onto the solution (at least a partial solution). I noticed in /var/log/system.log that there were warnings to the effect of "Hey -- you've got disabled DHCP ports that have conflicting ranges with your enabled DHCP port." Previously, I hadn't thought this was a major error, but when I deleted the three disabled ports from DHCP (en1, en2, and en3) and restarted DHCP then everything started working correctly. Hosts that were previously not getting IP addresses assigned because they weren't listed in Static Maps are now getting addresses.
The log entries looked basically like this:
Apr 19 09:54:38 myserver servermgrd[50]: servermgr_dhcp:bootp config:Error:Subnets 'My LAN (en2)' and 'My LAN (en0)' have overlapping ranges: '1\
92.168.2.0-192.168.2.255' overlaps '192.168.2.0-192.168.2.255'
Apr 19 09:54:38 myserver servermgrd[50]: servermgr_dhcp:bootp config:Error:Subnets 'My LAN (en2)' and 'My LAN (en3)' have overlapping ranges: '1\
92.168.2.0-192.168.2.255' overlaps '192.168.2.0-192.168.2.255' - 'My LAN (en3)' is not active
Apr 19 09:54:38 myserver servermgrd[50]: servermgr_dhcp:bootp config:Error:Subnets 'My LAN (en2)' and 'My LAN (en1)' have overlapping ranges: '1\
92.168.2.0-192.168.2.255' overlaps '192.168.2.0-192.168.2.255' - 'My LAN (en1)' is not active
Apr 19 09:54:38 myserver servermgrd[50]: servermgr_dhcp:bootp config:Error:Subnets 'My LAN (en0)' and 'My LAN (en2)' have overlapping ranges: '1\
92.168.2.0-192.168.2.255' overlaps '192.168.2.0-192.168.2.255' - 'My LAN (en2)' is not active
Apr 19 09:54:38 myserver servermgrd[50]: servermgr_dhcp:bootp config:Error:Subnets 'My LAN (en0)' and 'My LAN (en3)' have overlapping ranges: '1\
92.168.2.0-192.168.2.255' overlaps '192.168.2.0-192.168.2.255' - 'My LAN (en3)' is not active
: and so on
The next problem I need to work through is why there's huge amounts of DHCP-related traffic in the logs. It's clogging up with stuff like this:
Apr 19 10:33:40 fannxfile bootpd[54475]: DHCP DISCOVER [en3]: 1,0:e:8:eb:47:90 <SipuraSPA>
Apr 19 10:33:40 fannxfile bootpd[54475]: replying to 192.168.2.44
Apr 19 10:33:40 fannxfile bootpd[54475]: OFFER sent <no hostname> 192.168.2.44 pktsize 303
Apr 19 10:33:40 fannxfile bootpd[54475]: service time 0.000404 seconds
Apr 19 10:33:40 fannxfile bootpd[54475]: DHCP DISCOVER [en0]: 1,0:e:8:eb:47:90 <SipuraSPA>
Apr 19 10:33:40 fannxfile bootpd[54475]: replying to 192.168.2.44
Apr 19 10:33:40 fannxfile bootpd[54475]: OFFER sent <no hostname> 192.168.2.44 pktsize 303
Apr 19 10:33:40 fannxfile bootpd[54475]: service time 0.000385 seconds
Apr 19 10:33:40 fannxfile bootpd[54475]: DHCP DISCOVER [en1]: 1,0:e:8:eb:47:90 <SipuraSPA>
Apr 19 10:33:40 fannxfile bootpd[54475]: replying to 192.168.2.44
Apr 19 10:33:40 fannxfile bootpd[54475]: OFFER sent <no hostname> 192.168.2.44 pktsize 303
Apr 19 10:33:40 fannxfile bootpd[54475]: service time 0.000363 seconds
Apr 19 10:33:40 fannxfile bootpd[54475]: DHCP REQUEST [en2]: 1,0:e:8:eb:47:90 <SipuraSPA>
Apr 19 10:33:40 fannxfile bootpd[54475]: replying to 192.168.2.44
Apr 19 10:33:40 fannxfile bootpd[54475]: ACK sent <no hostname> 192.168.2.44 pktsize 303
Apr 19 10:33:40 fannxfile bootpd[54475]: service time 0.000597 seconds
Apr 19 10:33:40 fannxfile bootpd[54475]: DHCP REQUEST [en3]: 1,0:e:8:eb:47:90 <SipuraSPA>
Apr 19 10:33:40 fannxfile bootpd[54475]: service time 0.000103 seconds
Apr 19 10:33:40 fannxfile bootpd[54475]: DHCP REQUEST [en0]: 1,0:e:8:eb:47:90 <SipuraSPA>
Apr 19 10:33:40 fannxfile bootpd[54475]: service time 0.000298 seconds
Apr 19 10:33:40 fannxfile bootpd[54475]: DHCP REQUEST [en1]: 1,0:e:8:eb:47:90 <SipuraSPA>
Apr 19 10:33:40 fannxfile bootpd[54475]: service time 0.000153 seconds
Apr 19 10:33:40 fannxfile bootpd[54475]: DHCP REQUEST [en2]: 1,0:e:8:eb:47:90 <SipuraSPA>
Apr 19 10:33:40 fannxfile bootpd[54475]: service time 0.000134 seconds
Apr 19 10:33:40 fannxfile bootpd[54475]: DHCP REQUEST [en3]: 1,0:e:8:eb:47:90 <SipuraSPA>
Apr 19 10:33:40 fannxfile bootpd[54475]: service time 0.000139 seconds
Apr 19 10:33:40 fannxfile bootpd[54475]: DHCP REQUEST [en0]: 1,0:e:8:eb:47:90 <SipuraSPA>
Apr 19 10:33:40 fannxfile bootpd[54475]: service time 0.000125 seconds
Apr 19 10:33:40 fannxfile bootpd[54475]: DHCP REQUEST [en1]: 1,0:e:8:eb:47:90 <SipuraSPA>
Apr 19 10:33:40 fannxfile bootpd[54475]: service time 0.000174 seconds
This is happening REALLY fast. Every second there's a block of log entries like the above. I don't get it because I've set the lease times to 4 hours. I'll reset the leases back to 12 hours, but I don't understand what's causing the rapid fire log entries.
Perhaps the smart thing to do at this point is to reboot the server.
To answer some of your specific questions:
Q: Have you tried specifying the range as 192.168.0.1 - 192.168.7.254 instead? Please don't take this the wrong way but is the service actually running?
A: Yes, definitely up and running. Hosts that are in the static map were getting addresses. After deleting the three disabled Ethernet ports with conflicting ranges, I'm also seeing hosts that have not been entered into static maps appearing with dynamic IP addresses, which is what we wanted.
Regarding the suggestion to set the network range to 192.168.0.1 - 192.168.7.254: That's the range the way it was originally set, but I thought what the range was supposed to be was the smaller block of addresses you wanted DHCP to draw from out of your total subnet. I may be wrong, but doesn't DHCP service already know your total network size from the network mask? [255.255.248.0 in our case] This implies that our subnet ranges from 192.168.0.0 to 192.168.7.255 (including base and broadcast addresses at both ends).
My thought was that the "Starting IIP Address" and "Ending IP Address" wanted to be the range of addresses in that that I wanted to use as a pool for DHCP. Hence 192.168.2.0 through 192.168.2.255. We have devices with static IP addresses on our network (servers, printers, and our VoIP phone system, mostly) on 192.168.0.xxx, 192.168.1.xxx and 192.168.3.xxx, and if DHCP doubly assigns addresses in these ranges to our workstations, then we're in big trouble.
Q: sudo serveradmin fullstatus dhcp
A: ...that produces the following output now following deletion of the DHCP ports with conflicting ranges:
fannxfile:log root# serveradmin fullstatus dhcp
dhcp:setStateVersion = 1
dhcp:servicePortsAreRestricted = "NO"
dhcp:numConfiguredStaticMaps = 43
dhcp:dhcpLeasesArray:arrayindex:0:timeLeft = 12201
dhcp:dhcpLeasesArray:arrayindex:0:clientID = ""
dhcp:dhcpLeasesArray:arrayindex:0:computerName = ""
dhcp:dhcpLeasesArray:arrayindex:0:macAddress = "00:1b:63:17:a3:bd"
dhcp:dhcpLeasesArray:arrayindex:0:ipAddress = "192.168.2.21"
dhcp:dhcpLeasesArray:arrayindex:1:timeLeft = 12168
dhcp:dhcpLeasesArray:arrayindex:1:clientID = ""
dhcp:dhcpLeasesArray:arrayindex:1:computerName = ""
dhcp:dhcpLeasesArray:arrayindex:1:macAddress = "00:1b:63:17:a3:bd"
dhcp:dhcpLeasesArray:arrayindex:1:ipAddress = "192.168.2.9"
dhcp:state = "RUNNING"
dhcp:logPaths:systemLog = "/var/log/system.log"
dhcp:backendVersion = "10.5"
dhcp:timeOfModification = "2009-04-19 10:05:46 -0700"
dhcp:numDHCPActiveClients = 2
dhcp:numDHCPLeases = 2
dhcp:timeOfSnapShot = "2009-04-19 10:43:09 -0700"
dhcp:timeServiceStarted = "2009-04-19 10:05:46 -0700"
dhcp:readWriteSettingsVersion = 1
dhcp:servicePortsRestrictionInfo = emptyarray
-- Bert Sierra

Similar Messages

  • How can I make a survey automatically identify the user in the results?

    How can I make a survey automatically identify the user in the results (so that it won't be anonymous)?

    I am not sure what information to provide.  Here is what I am trying to do.  I am trying to create an HR questionnaire with multiple choice questions and several multiline textboxes to capture comments.  I want to send it out by email address and/or embed the questionnaire somewhere on the company's intranet website.  But we don't want the questionnaire to be anonymous. If someone makes a particular comment, we want to be able to communicate with the person who made that particular comment.  How would we be able to trace the person? By email address, or by user ID?

  • How can I make my Introduction_mc automatically disappear after 10 Seconds and load Home_mc?

    Hi,
    How can I make my Introduction_mc automatically disappear after 10 Seconds and load Home_mc (automatically)? I don't want user to change by himself this Introduction page. It should be done automatically.
    What is the procedure and code to achieve it, please?
    Thanks.

    Hi,
    I gues you are using AS2.0, then use setInterval, in AS3.0 user Timer Class.
    AS2.0
    var interval:Number = setInterval(doThis,10000);//in milliseconds
    function doThis():Void{
    //do something;
    AS3.0
    var timer:Timer = new Timer(10000, 1);
    timer.addEventListener(TimerEvent.TIMER_COMPLETE, onTimerCompleteHandler, false, 0, true )
    function onTimerCompleteHandler(event:TimerEvent):void{
    //do something;
    For details: http://blogs.adobe.com/pdehaan/2006/07/using_the_timer_class_in_actio.html
    Warm Regards
    Deepanjan Das
    http://deepanjandas.wordpress.com

  • How can i make firefox reload automaticly every hour?!!!

    how can i make firefox reload automaticly every hour?!!!
    I download add-ons Reload Every
    how to manage it((setting))?!!!
    thanks addvance>>

    You installed the ReloadEvery Extension rather and not downloaded it to disk.
    To set the reload time for the tab you are viewing you can right-click the page and select a time.
    http://reloadevery.mozdev.org/
    http://reloadevery.mozdev.org/screenshots.html

  • How can I make my Kerio WebMail memorize email addresses used previously?

    How can I make my Kerio WebMail memorize email addresses used in the past?

    Have you checked with Kerio support for answers? <br />
    http://support.kerio.com/index.php?_m=knowledgebase&_a=view

  • My macbook air does not automatcially connect to wifi any longer when i turn on from sleep, how can i make it connect automatically again

    My macbook air will no longer connect to my wifi automatically, I have changed the preferences to automatically selecr known networks but everytime i open the macbook air or after i restart the macbook, i will need to manually l select the wifi. How do I re-config to automatically connect to my wifi. Thanks

    Test after taking each of the following steps that you haven't already tried. Back up all data before making any changes.
    1. Make sure the network is on the preferred list by following these instructions. It's important to read the article carefully, as it's the starting point for any further efforts to solve the problem. If you skip any of the steps, the problem may not be solved. Make sure the box marked
    Remember networks this computer has joined
    is checked.
    2. Follow the instructions in this support article under the heading
    Symptom: After restarting or waking from sleep, my computer might not connect to the Internet
    3. Reset the PRAM.
    4. Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list and recreate it with the same settings. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain.
    5. From the Location menu at the top of the Network preference pane, select Edit Locations. A sheet will drop down. Click the plus-sign button to create a new location. Give it any name you want. In the new location, set up the Wi-Fi service with the same settings you used before. Click Apply and test.
    6. Launch the Keychain Access application. Search for and delete all AirPort network password items that refer to the network. Make a note of the password first.
    7. Repair permissions on the startup volume.
    8. Turn off Bluetooth and test.
    9. Reset the System Management Controller.
    10. This step shouldn't be necessary, but has been advised by Apple Support in some cases, apparently as a workaround for a bug. Open the Energy Saver pane in System Preferences. If applicable, click the padlock icon in the lower left corner to unlock the settings. Enter your administrator login password when prompted.
    Select the Power Adapter tab and uncheck the boxes marked
    Wake for Wi-Fi network access
    and
    Enable Power Nap...
    if present. Then, if the computer is a MacBook, select the Battery tab and uncheck
    Enable Power Nap...
    11. Reinstall OS X.

  • How can I make my harrier automatically connect to my home wifi?

    Hi, I got an EE Harrier about 3 weeks ago for the wifi calling  (confirmed by the EE shop staff....) only to discover that it's not actually available yet - oh well. My question is how can I get the phone to pick up my home wifi automatically? Obviously as I leave the house it loses the wifi but I have to manually connect it every time when I come back in. i know on other Android phones there's a 'Smart Network Switch' but the Harrier doesn't seem to have that, or if it does it's well hidden. Can anyone help please? TIA

    Hi Glossopian, did you find a remedy to this? I just renewed my contract and upgraded my phone to the harrier. Like you my last phone automatically connected to any wi fi I had already entered a password into including home,  holiday accomodation, pubs etc. Now I have to manually tell it to connect every time I go out into the garden and come back into the house. Very frustrating!

  • How can I make my iPhone "forget" some email addresses

    When I draft a message, a suggestion list appears of email addresses I've recently sent emails to. How do I make my phone forget them? I don't want them to appear! I've tried deleting my mail account and starting over, and yet they still are there. I went on my gmail on my mac and they don't appear when I draft an email there. My phone is remembering them, not gmail. HELP!
    Message was edited by: brettmc909

    The only way is to restore the iphone as new.
    Sorry.

  • How can I make the font size in my address bar smaller?

    On my laptop running Windows XP, Firefox 7, suddenly the font size on my tabs and in the address bar are huge. I have no idea what happened to make them that way. It's horrible.

    I finally got the font size issue remedied. I somehow had an add on to make the print large in the address bar. But I have saved your tip to a folder for future reference and thank you so much.
    Now if someone could just help me with this crashing business. I can't isolate it because nothing is constant. I unselected hardware acceleration and this is the longest I've gone without a crash, but I'm not thinking I've got it solved.
    This is on an old laptop running XP. Firefox was running just fine until yesterday morning when I uninstalled RoboForm and installed LastPass. After that I started getting the crashes, yet I'm not pretty sure they have nothing to do with LastPass itself.

  • TS1389 How can I make a song automatically play when I turn my Mac Mini?

    I want for my computer to play a song automatically when I turn my computer on. Is this possible?

    As long as you don't mind doing a little post publish editing of your .js files, it's fairly easy to do. You will find them in this path on your iDisk, using the Go menu in Finder:
    Go/iDisk/MyiDisk/Sites/iWeb/Nameofsitefolder/Page_filesFolder/Page.js
    Open the .js files for that particular page on your iDisk with any text editor (I like Taco, and it's free) and make the following changes to the script code that controls your movie: (you will find the movie code near the top of the page in the .js file)
    Change autoplay="false" to autoplay="true"
    Change loop="false" to loop="true"
    Changing controller value="true" to controller value="false" will remove the controller from the page entirely. Make these changes in both sets of tags, (object and embed).
    Make the changes and just "Save". Clear your browser cache and you should see the changes take effect immediately. Bear in mind you will have to make this modification each time you republish your site. You can also save this modified .js file and replace the republished file with it, as long as no other changes were made to the page in iWeb.
    -Mark

  • How can I make my Mac automatically index a USB drive?

    When I connect a USB drive, it shows up on my desktop, but Finder won't find anything on it because it doesn't get indexed.
    I'm running OS X 10.5.8 (9L31a) on an iMac G5 with a PowerPC G5 (3.0) processor.
    The drive in question is NTFS, but it also seems like the Mac doesn't index FAT-formatted USB drives if they were formatted on a PC.
    Is there any way that automatic indexing could have been turned off?  I think the department that had this system before we got it would have turned that off if possible, and I'd like to find out how to turn it back on

    No, Spotlight can only index drives formatted as Mac OS Extended
    Check in System Preferences/Spotlight/Privacy if external drives have been excluded from a search.

  • Whenever I play a video the flash player logo shows and I have to click it first. How can I make videos play automatically?

    Every time I go to play a video the F symbol appears and I have to click it each time to play the video. Alternatively I have to right click the page and go into "no script" and allow that particular page. This didnt use to happen until recently. Running windows vista Firefox 3.6.
    thanks

    If you use extensions like <i>Adblock Plus</i> or <i>NoScript</i> or <i>Flash Block</i> that can block content then make sure that such extensions aren't blocking content.
    You need to check the (global) settings in NoScript to see how you can unblock Flash content.

  • How can I make iTunes 11 automatically play the next album?

    Before iTunes 11, I could just double-click on a cover art to start the album and everything would flow from there, playing the next album in the library once it was finished and so on.
    Now, if I do that (in Album view or Artist view), it plays only that album and stops. If I press que Play button at the top of the Artist view, it plays all the albums. But I can't just start listening to an artists' albums from, example, the third one or fourth one. It's either all or one at a time.
    And yeah, I know about playlists. I didn't used them before because I didn't have to.

    I agree, this is a ridiculous change.  The "play" arrow next to the title of the album on the expanded view does nothing; neither does the play option from the context menu when I right click on an album cover.  I'm using iTunes 11 on a Windows 7 laptop.  Does anyone else have this issue?  Very lame.

  • When opening a new tab, how can you make the cursor automatically go to the address bar?

    In my previous version of firefox, the cursor would go directly to the address bar when I opened a new tab. Thus, I could start typing the web address I wanted to go to immediately. However I upgraded to Firefox 4 today and I now have to manually click in the address bar. Is there any way to change this in settings or by installing a specific add-on?
    Thanks!

    You only get the cursor in the search bar if you open the built-in about:home page.<br />
    For other websites you need an extension.
    *Custom New Tab: https://addons.mozilla.org/firefox/addon/custom-new-tab/

  • On opening, the browser comes up with not an address navigation bar, but with only two google search windows. How can I make it open with an actual address line?

    It's all been said in the question.

    Make sure that you do not run Firefox in full screen mode (press F11 or Fn + F11 to toggle; Mac: command+Shift+F).<br />
    If you are in full screen mode then hover the mouse to the top to make the Navigation Toolbar and Tab bar appear.<br />
    You can click the Maximize button at the top right to leave full screen mode or right click empty space on a toolbar and use "Exit Full Screen Mode" or press F11.
    If the menu bar is hidden then press the F10 key or hold down the Alt key, that should make the menu bar appear.
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"

Maybe you are looking for

  • Report with unpaid invoices

    Hello i need report that show invoices which was truly unpaid longer than  60 days. I'm new in sql in Sap and this sql dont work good for me ;/ SAP Business One 8.82 (8.82.071) SELECT T2.[CardCode], T2.[CardName], T1.[DocDueDate], T2.[DocDate]  FROM

  • Is it possible to create column chart in WAD

    Hi All, I would like to know if it is possible to create WAD -column chart  in BI Regards, Sampda.

  • Help needed with operating java on other programs

    I have a fairly difficult (I think) question. I am trying to create a program to enact itself on other programs. It needs to perform 4 functions. 1) Open an exe (such as notepad) 2) Use the exe to open another file (such as a .txt) 3) Find the color

  • Syncing photos to iPhone after iPhoto crash & rebuild only transfers a few pictures.

    I am using an iPhone 4 and iTunes 10.7.  I am running 10.8.2. My computer crashed while I was using iPhoto - seemed like a kernel panic from what I'm told - and when I restarted I had to rebuild the library.  That went fine (except for a bunch of pic

  • Multiple instances of a page

    Hello I have a multipage form I am creating.  One of the pages spans two pages, and within the page is a table and within the table cells are linked (Data Binding)  See screen shot. Sorry it is a little grainy. What I am trying to do is be able to cr