How Can I Reject Offers from Unwanted DHCP Servers?

How Can I Reject Offers from Unwanted DHCP Servers?

Post by R-Gu » Sun, 01 Jul 2001 15:56:03

I am using dhcpcd (v1.3.19-p14) on Mandrake 8.0.  When I boot-up and try and
get an IP address from my DSL providers, I see a two offers come back, from
different DHCP servers.  It seems to be random which one arrvies first, and
it causes me grief because when I reboot my system I ping-pong between two
different IP address.

Is there any way to configure dhcpcd so that I can reject the offer from one
of the DHCP servers, and hopefully get the same IP address everytime I
reboot?  Below is a snippet of the tcpdump:

    No. Time        Source                Destination           Protocol
      4 6.308817       DHCP
DHCP Discover - Transaction ID 0x3967c91c
      5 6.359323    00:00:0c:35:17:74     ff:ff:ff:ff:ff:ff     ARP      Who
has  Tell
      6 6.360419    00:00:0c:35:17:74     ff:ff:ff:ff:ff:ff     ARP      Who
has  Tell
      7 6.687006       DHCP
DHCP Offer    - Transaction ID 0x3967c91c
      8 6.988534       DHCP
DHCP Offer    - Transaction ID 0x3967c91c

Any ideas are appreciated.



1. server DHCPD ISC Linux and broadcast DHCP OFFER and ACK

I'm a little news with Linux and DHCPD ISC server.
I set a test network with 1 DHCP client ,1 DHCP server ISC et 1 hub.
My STB boot and has an IP address and DHCP options. But I'm a little
suprise to see on Ethereal capture that DHCP ISC server send DHCP Offer
and DHCP Ack by unicast and not by broadcast (

There is any DHCP option to set for have brodcast answer from DHCP ISC

2. Fujitsu Laptop install

3. dhcp client not receiving offer from server

4. Per Brinch Hansen

5. Using .nsconfig to reject unwanted hits

6. Ok, but what the hell is it good for?

7. Router with DHCP server that offers static (permanent) leases

8. ncpmount annoying kerneld?

9. DHCP server offering an IP addresses of a wrong subnetwork

10. Same dhcp server offers two gateways?

11. Insert a client class identifier into DHCP offer?

12. no dhcp offer

13. dhclient doesn't respond to DHCP OFFER