Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Oct 2005 17:45:52 +0400
From:      "Andrew P." <infofarmer@gmail.com>
To:        "bsd_mathias@haas.se" <bsd_mathias@haas.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Strange DHCPd problem
Message-ID:  <cb5206420510120645xa2a3dfbod7ef4389c8561cfa@mail.gmail.com>
In-Reply-To: <46266.194.22.3.6.1129106223.squirrel@mail.haas.se>
References:  <46266.194.22.3.6.1129106223.squirrel@mail.haas.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/12/05, bsd_mathias@haas.se <bsd_mathias@haas.se> wrote:
> I've got a FreeBSD 5.3 installation with two 3c905XL NICs and IP-Filter.
> XL0 is the external interface (which gets an IP-address via 'dhclient' an=
d
> 'dhcpd' is assigned to the 10.0.0.0 network on XL1. If I remove the
> network cable to XL0, strange things happens on the internal XL1 Network.
>
> I can ping and SSH to the server but Samba-access and webservices on the
> server become sporadic at best. Let me repeat that. I can't access samba
> shares when I remove the network cable to the *external interface* on my
> BSD server. The clients can renew IP-adresses from the dhcpd server.
>
> I did manage to solve the problem, but I don't understand how this could
> have given me this type of problem. Here's my original dhcpd.conf.
>
> option domain-name "malcolm.com";
> option domain-name-servers 10.0.0.1;
>
> default-lease-time 28800;
> max-lease-time 56600;
> authoritative;
> ddns-update-style none;
>
> # Malcolms subnet declaration.
> subnet 10.0.0.0 netmask 255.255.255.0 {
>   range 10.0.0.10 10.0.0.100;
>   option routers 10.0.0.1;
>   option domain-name-servers 10.0.0.1;
>   deny client-updates;
> }
>
> # No service will be given on this subnet, but declaring it helps the
> # DHCP server to understand the network topology.
>
> subnet 213.200.128.0 netmask 255.255.224.0 {
> }
>
>
> Removing the bottom two lines (subnet 213..) suddenly solved the problem!
> My guess was that somehow dhcpd gets screwed up if it couldn't find the
> network that was defined in dhcpd.conf. But why does that hamper Samba or
> other webservices running on the server? I'm pretty puzzled.
>
> Regards,
> Mathias.
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>

A classic explanation would be samba (and other
services) dependence on basic network services
such as DNS. That doesn't give an idea about
dhcpd anyway...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420510120645xa2a3dfbod7ef4389c8561cfa>