Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2008 16:59:48 +1000
From:      Da Rock <rock_on_the_web@comcen.com.au>
To:        freebsd-questions@freebsd.org
Subject:   Re: DHCP problem.Help please
Message-ID:  <1208156388.16346.260.camel@laptop2.herveybayaustralia.com.au>
In-Reply-To: <ee9dc2b40804132343w484d2596jfbc3849e5559a04e@mail.gmail.com>
References:  <ee9dc2b40804132343w484d2596jfbc3849e5559a04e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 2008-04-14 at 14:43 +0800, Ruel Luchavez wrote:
> Hello,
> 
> I hope some one will me on my problem.
> My friends has and existing DHCP server and squid proxy server running both
> in freebsd.We purchased a new desktop PC, we gave it a permanent IP using
> the DHCP server and we edit the config file in "/usr/local/etc/dhcp.conf" we
> add this at the bottom
> 
> host test {
>   hardware ethernet 00:1d:27:64:e1:af; [this is the physical address of new
> PC]
>   fixed address 192.168.1.16;
>   }
> 
> But as we "ipconfig" the new PC the IP is still the same?
> Is there something i forgot to configure?
> 
> PLEASE HELP here...thanks in adnvanced

So you used dhcp to obtain an ip prior to setting up a fixed address on
the dhcp server? If so you may have to clear your dhclient.leases file-
rename to .old (correct me if theres a better way to do this anyone).

When testing, use dhcpd -d - this will run the dhcp server in the
foreground so you can see any messages realtime which you can then post
here if need be. Also, send the entries in your log files.

Good luck.




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