On 12/11/06, Neil Bothwick <[EMAIL PROTECTED]> wrote:

On Mon, 11 Dec 2006 09:39:14 +0800, Ow Mun Heng wrote:

> I have a gentoo server and a laptop both running dhcp (server) at home.
> the server serves clients at home.
> the laptop, serves client at NON-home places.
>
> when I plug my laptop into the home, clients will get to my laptop's
> dhcp server instead of the home server's dhcp.

You could use the postup(0 function in /etc/conf.d/net to shutdown the
DHCP server if you are connected to the home network.


--
Neil Bothwick

Windows - software package to turn a 486 into an Etch-A-Sketch!


Maybe this helps: (from dhcpd.conf.sample)
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

I think this one schould prefer your local dhcp to the clients at home
instead of using your notebook.
correct me if I'm wrong.

Jakob

Reply via email to