shared-network question...
Glenn Satchell
Glenn.Satchell at uniq.com.au
Fri Jan 2 23:07:39 UTC 2009
Shared-network is a grouping statement, so for example you could put
option ip-forwarding off;
in there as it is common across all your subnet declarations.
regards,
-glenn
>Date: Fri, 02 Jan 2009 09:41:31 -0700
>From: Jason Gerfen <jason.gerfen at scl.utah.edu>
>To: Users of ISC DHCP <dhcp-users at lists.isc.org>
>Subject: Re: shared-network question...
>Cc: dhcp-users at isc.org
>X-BeenThere: dhcp-users at lists.isc.org
>
>Simon Hobson wrote:
>> Jason Gerfen wrote:
>>
>>> My question is what are the available [ parameters ] available for the
>>> shared-network definition. Are they everything that is available in
>>> the dhcpd-options man page?
>>
>> I think anything that makes sense at a subnet level should be OK at teh
>> shared-subnet level.
>>
>>
>>> What I would like to do is something similar to the following:
>>>
>>> #### Shared Network Definitions ####
>>>
>>> ### Shared Network 'MySharedNetwork' ###
>>> shared-network MySharedNetwork {
>>>
>>> option routers 192.168.241.1, 192.168.16.1, 192.168.211.1
>>>
>
>Sorry, I was just using examples to illustrate the point is all. And
>thanks for the info.
>
>>> ## 'Vlan-022' Subnet Definition ##
>>> subnet 192.168.241.0 netmask 255.255.255.0 {
>>> option domain-name-servers 192.168.15.2, 192.168.18.2;
>>> option ip-forwarding off;
>>> }
>>>
>>> ## 'mac_mmc_staff' Subnet Definition ##
>>> subnet 192.168.16.0 netmask 255.255.255.128 {
>>> option domain-name-servers 192.168.115.10, 192.168.201.10;
>>> option ip-forwarding off;
>>> }
>>>
>>> ## 'mac_union_lvl_2' Subnet Definition ##
>>> subnet 192.168.211.192 netmask 255.255.255.192 {
>>> option domain-name-servers 192.168.115.10, 192.168.201.10;
>>> option ip-forwarding off;
>>> }
>>> }
>>
>> Well I don't think dhcpd will care, but why ? It's not a valid set of
>> routers for ANY of your clients.
>>
More information about the dhcp-users
mailing list