Re: DHCP problem.Help please

2008-04-14 Thread Da Rock

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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP problem.Help please

2008-04-14 Thread Ruel Luchavez
How to reload the dhcpd? what would be the command fo it?

Best regards..


On Mon, Apr 14, 2008 at 3:12 PM, Wojciech Puchar 
[EMAIL PROTECTED] wrote:

 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
 

 no idea. try turning off then on network interface in windoze.

 did you reloaded dhcpd?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP problem.Help please

2008-04-14 Thread Wojciech Puchar

How to reload the dhcpd? what would be the command fo it?

/usr/local/etc/rc.d/isc-dhcpd restart


Best regards..


On Mon, Apr 14, 2008 at 3:12 PM, Wojciech Puchar 
[EMAIL PROTECTED] wrote:


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



no idea. try turning off then on network interface in windoze.

did you reloaded dhcpd?




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: DHCP problem.Help please

2008-04-14 Thread Johan Hendriks


How to reload the dhcpd? what would be the command fo it?

Best regards..

On the freebsd server use:
/usr/local/etc/rc.d/isc-dhcpd restart

On a windows box do :
Start -- run 
Type cmd  klik ok

Then you'll get a dos box
 ipconfig /release 
This releases the ip adres 
 ipconfig /renew
try to get a new adres.

Regards,
Johan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP problem.Help please

2008-04-14 Thread Ruel Luchavez
Thanks Johan  Puchar, your advise is very effective.

again thank you..


On Mon, Apr 14, 2008 at 3:36 PM, Johan Hendriks [EMAIL PROTECTED] wrote:



 How to reload the dhcpd? what would be the command fo it?

 Best regards..

 On the freebsd server use:
 /usr/local/etc/rc.d/isc-dhcpd restart

 On a windows box do :
 Start -- run
 Type cmd  klik ok

 Then you'll get a dos box
  ipconfig /release
 This releases the ip adres
  ipconfig /renew
 try to get a new adres.

 Regards,
 Johan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]