Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DHCP on multiple interfaces in different networks



This is possible.  I have it running this way on several of my servers.  I
use the secondary interface for my netinstalls in most cases.  In the
another case, the interfaces are on the same network, but handle DHCP for
different ranges - this is configured through the ip helper-address on  the
routers. This was done during testing/implementation and we decided to leave
it that way since the response times seemed slightly faster.

The first time I tried it, I did it on a subnet that has 2 different address
ranges working on it.  This setup wouldn't work with both enabled. It seems
that the server couldn't figure out which address to assign, so we abandoned
this and used 2 different servers. (Yes, one of my summer projects is to fix
this and create one unified network.) The important factor seems to be, as
the last message said, that the 2 networks be distinct.

1.  Are you receiving 169.X.X.X addresses on the interface that isn't
working?  I have noticed that the "Renew DHCP Lease" button doesn't always
work, but changing the DHCP client ID and clicking "apply" does.  You may
also try deleting the dhcpd-leases file and restarting the server.

2.  If you manually assign an address on the subnet that's not working can
you ping the server.  And, if you do a portscan of the server is dhcp
reported?


On 6/30/05 2:16 AM, "Robert Frank" <email@hidden> wrote:

> The two networks are distinct, and *must not* be connected by any
> kind of router or gateway. This means, that the server is to provide
> services independently on both distinct networks, where one is
> connected to the internet, the other not.
> 
> What disturbs me most, is that the way the options are presented in
> Server Admin, one would think that this is possible. However, the log
> file tells me that only one interface is being served (by DHCP) and I
> can't get any addresses on the other, even if I enable both
> interfaces. There are, unfortunately, no further errors in the log
> files.
> 
> Robert
> 
> On 29 Jun 2005, at 20:13, John Mundt wrote:
> 
>> I don't know a solution for the two interfaces in Tiger, but you if
>> you have a router routing between the two interfaces, you can tell
>> the router to take DHCP addresses on one interface and put them on
>> the second interface.
>> 
>> Suppose you have networks 10.10.10.0/24 and 10.10.11.0/24.  Your
>> dhcp Tiger server is 10.10.11.1 and you are going to pass requests
>> from 10.10.10.0 to it.   In Cisco's case, you'd edit the router
>> interface for 10.10.10.0 and enter
>> 
>>     ip helper-address 10.10.11.1
>> 
>> and save.
>> 
>> The router then hears the dhcp request, forwards it to the tiger
>> server, picks up the response and sends it back to the client.
>> 
>> 
>> John
>> On Jun 29, 2005, at 9:13, Robert Frank wrote:
>> 
>> 
>>> I just ran into a pecurliality:
>>> 
>>> I'm runing Tiger server with latest patches, I've enabled both
>>> interfaces, one being on the university's official network, the
>>> other on a private gigbit network which connects all servers (no
>>> gateway, no router) on their second interfaces.
>>> I wanted to enable DHCP on both interfaces, where each interface
>>> serves different IP networks. The 'Server Admin' application
>>> provides checkboxes to select the interfaces for which the service
>>> is to be available. You can enter different network addresses and
>>> ip ranges, and you can successfully start the service.
>>> However, when I look into the log files (and try out the services
>>> on the different networks), only ONE network is serviced, never
>>> both. If I select either one (but not both) interfaces, all is
>>> fine for the corresponding IP address.
>>> 
>>> Is this a feature, or a bug? Anyone else noticed this?
> 
> Departement Informatik   FGB   tel   +41 (0)61 267 14 66
> Universität Basel                          fax. +41 (0)61 267 14 61
> Robert Frank
> Klingelbergstrasse 50                 email@hidden
> CH-4056 Basel
> Switzerland                                   http://
> www.informatik.unibas.ch/personen/frank_r.html
> 
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Macos-x-server mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/macos-x-server/c.frazier%40eastorange.k
> 12.nj.us
> 
> This email sent to email@hidden
> 

-- 
Curtis Frazier, Network Manager
East Orange School District
715 Park Avenue, Fifth Floor
East Orange, NJ 07017

973-266-5637 (voice)
973-266-5757 x258 (direct line)
973-678-5293 (fax)


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >Re: DHCP on multiple interfaces in different networks (From: Robert Frank <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.