make me crasy
Simon Hobson
dhcp1 at thehobsons.co.uk
Tue Aug 5 10:19:48 UTC 2008
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.
More information about the dhcp-users
mailing list