make me crasy

Glenn Satchell Glenn.Satchell at uniq.com.au
Tue Aug 5 13:15:02 UTC 2008


>Date: Tue, 5 Aug 2008 11:19:48 +0100
>To: dhcp-users at isc.org
>From: Simon Hobson <dhcp1 at thehobsons.co.uk>
>
>Mario Roeber wrote:
>
>>here the configuration for all interfaces to my mashine at /etc/rc.conf
>>
>>ifconfig_rl0="inet 212.21.69.99 netmask 255.255.255.240"
>>ifconfig_rl1="inet 10.10.1.254 netmask 255.255.255.0"
>>ifconfig_fxp0="inet 10.10.3.254 netmask 255.255.255.0"
>>ifconfig_fxp1="inet 10.10.2.254 netmask 255.255.255.0"
>>
>>here the /usr/local/etc/dhcpd.conf:
>>
>># dhcpd.conf
>>option domain-name "port-x.de";
>>default-lease-time 600;
>>max-lease-time 7200;
>>authoritative;
>>ping-check true;
>>log-facility local7;
>>
>>shared-network portx-net {
>>      subnet 10.10.1.0 netmask 255.255.255.0 {
>>         option domain-name "port-x.de";
>>         option routers 10.10.1.254;
>>         option broadcast-address 10.10.1.255;
>>         option ntp-servers 10.10.1.254;
>>         option domain-name-servers 10.10.1.254;
>>         pool {
>>            range 10.10.1.200 10.10.1.210;
>>         }
>>      }
>>
>>      subnet 10.10.3.0 netmask 255.255.255.0 {
>>         option domain-name "port-x.de";
>>         option routers 10.10.3.254;
>>         option broadcast-address 10.10.3.255;
>>         option ntp-servers 10.10.3.254;
>>         option domain-name-servers 10.10.3.254;
>>         pool {
>>            range 10.10.3.200 10.10.3.210;
>>         }
>>      }
>>}
>>
>>The Problem: always i'get some ip from 10.10.3.x range. I'use a 
>>Switch with VLAN configured fxp0 and rl1 are different VLAN's.
>
>Your config doesn't match the network - fxp0 and rl1 are NOT a shared 
>network (they are two separate networks, that's what VLANs do for 
>you), just remove the shared-network definition from your config.

One of the best sources of information is the included man pages.
Between them there are over 100 pages of information. I suggest you
look at them in this order:

man dhcpd.conf
man dhcpd
man dhcpd.leases

and for more advanced configurations:

man dhcp-options
man dhcp-eval
man omshell
man omapi
man dhcrelay

regards,
-glenn



More information about the dhcp-users mailing list