Re: CentOS-6 dhcpd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 7/15/2011 1:54 PM, Timothy Murphy wrote:
> Ljubomir Ljubojevic wrote:
>
>> as a rule, you should declare ALL subnets in simple form:
>>
>> subnet 192.168.2.0 netmask 255.255.255.0 { }
>>
>> so ISC DHCP knows about them. Why, I do not know, but it is supposed to
>> be in newer versions (more strict rules for config file.)
>
> Thanks for your response.
> As far as I can see, my dhcpd.conf satisfies these conditions.
>
> But what puzzles me is, what defines the correspondence
> between interface and network,
> eg in my case eth1 ->  192.168.2.0/24
>
> Surely this should be there independently of dhcpd ?

Dhcpd shouldn't care about the name of the interface, but if the request 
hasn't been forwarded by a router/relay agent it needs to figure out the 
subnet of the interface where the request is received so it uses the 
corresponding range and options for the response.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux