DHCP on Leopard server

View: New views
3 Messages — Rating Filter:   Alert me  

DHCP on Leopard server

by Milo Velimirovic-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



I've got a 10.5.8 Xserve with two active interfaces (multihomed) that  
I'd like to have provide DHCP service for devices on the en1 subnet  
only. From the log messages I can see that DHCP is operational and  
learning about the network by providing netmask and other info to  
devices on the subnets connected to BOTH interfaces. DHCP distributes  
addresses to computers that I preconfigure in static maps on en1, but  
I also want to hand out addresses from a pool to unkown computers that  
connect to this subnet, but this doesn't seem to work. I've been  
through all the tabs in the ServerAdmin section on DHCP. Where else  
should I look to configure this?

TIA,
Milo
--
Milo Velimirović,  Unix Computer Network Administrator
608.785.6618 Office -  608.386.2817 Cell
University of Wisconsin - La Crosse
La Crosse, Wisconsin 54601 USA   43 48 48 N 91 13 53 W



_______________________________________________
MacOSX-admin mailing list
MacOSX-admin@...
http://www.omnigroup.com/mailman/listinfo/macosx-admin

Re: DHCP on Leopard server

by Dan Shoop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sep 9, 2009, at 11:06 AM, Milo Velimirovic wrote:

>
>
> I've got a 10.5.8 Xserve with two active interfaces (multihomed)  
> that I'd like to have provide DHCP service for devices on the en1  
> subnet only.

One easy way to accomplish this is to set this up through the  
firewall. You should probably be assuring your configuration policies  
are implemented in your firewall anyway.


> From the log messages I can see that DHCP is operational and  
> learning about the network by providing netmask and other info to  
> devices on the subnets connected to BOTH interfaces.

As expected.

> DHCP distributes addresses to computers that I preconfigure in  
> static maps on en1,

Static maps? Static DHCP addresses based on MAC address?

> but I also want to hand out addresses from a pool to unkown  
> computers that connect to this subnet, but this doesn't seem to work.

What's not working, exactly? What are you observing and what's logged?

> I've been through all the tabs in the ServerAdmin section on DHCP.  
> Where else should I look to configure this?


You're looking for what in the Serveradmin tabs? You've asked quite a  
bit in all of the above.

-d

------------------------------------------------------------------------
Dan Shoop
Computer Scientist
shoop@...

GoogleVoice: 1-646-402-5293

aim: iWiring
twitter: @colonelmode

_______________________________________________
MacOSX-admin mailing list
MacOSX-admin@...
http://www.omnigroup.com/mailman/listinfo/macosx-admin

Re: DHCP on Leopard server

by Milo Velimirovic-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sep 9, 2009, at 2:21 PM, Dan Shoop wrote:

>
> On Sep 9, 2009, at 11:06 AM, Milo Velimirovic wrote:
>
>>
>>
>> I've got a 10.5.8 Xserve with two active interfaces (multihomed)  
>> that I'd like to have provide DHCP service for devices on the en1  
>> subnet only.
>
> One easy way to accomplish this is to set this up through the  
> firewall. You should probably be assuring your configuration  
> policies are implemented in your firewall anyway.

No need to drag the firewall into this. While a Firewall can and  
often does function as a DHCP server that's not what I want and it's  
not appropriate in this environment.
>
>
>> From the log messages I can see that DHCP is operational and  
>> learning about the network by providing netmask and other info to  
>> devices on the subnets connected to BOTH interfaces.
>
> As expected.
Yup.
>
>> DHCP distributes addresses to computers that I preconfigure in  
>> static maps on en1,
>
> Static maps? Static DHCP addresses based on MAC address?

Yes. Look at Server Admin; Static Maps is what OS X Server calls the  
tab where one statically assigns IP addresses based on MAC addresses.
>
>> but I also want to hand out addresses from a pool to unkown  
>> computers that connect to this subnet, but this doesn't seem to work.
>
> What's not working, exactly? What are you observing and what's logged?

The DHCP server isn't handing out addresses from the range I've given  
it to use for computers w/o a static map entry that are  connected to  
the subnet the en1 interface is connected to. Even though the en0  
interface isn't mentioned in the DHCP configuration it hands out the  
other data I mentioned above, netmask, gateway etc. to clients on the  
subnet that en0 is on.

>
>> I've been through all the tabs in the ServerAdmin section on DHCP.  
>> Where else should I look to configure this?
>
>
> You're looking for what in the Serveradmin tabs? You've asked quite  
> a bit in all of the above.

I'm wondering if I've overlooked something in ServerAdmin. I've told  
it to serve DHCP on en1 and not en0. I've filled in the range of  
addresses to use as a pool. I've configured hosts that need static  
assignments.

Unknown or new MAC addresses connected to the same subnet as en1  
don't get an IP address assigned to them. I can certainly do more  
digging in the server log files and in the log files on both a client  
that gets its IP via a static map entry and a client that's not  
mentioned in the static maps. The latter case is the one that doesn't  
work right now.

One response on another list suggested dropping Apples DHCPd  
altogether and installing the ISC DHCPd... I'm tempted.

Thanks,
Milo
_______________________________________________
MacOSX-admin mailing list
MacOSX-admin@...
http://www.omnigroup.com/mailman/listinfo/macosx-admin