dnsmasq dhcp-host not working

Discussion in 'Linux Networking' started by Bill McCormick, Dec 11, 2012.

  1. This doesn't seem to work, for 1 client. He keeps getting
    172.16.122.215. I rm'd dnsmasq.leases but he still picked up .215. It
    seems to work OK for other clients.

    Any ideas?

    dhcp-host=EIP1,172.16.122.39

    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 client provides name:
    EIP1
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 DHCPREQUEST(eth1)
    172.16.122.215 00:30:11:07:de:51
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 DHCPACK(eth1)
    172.16.122.215 00:30:11:07:de:51 EIP1
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 requested options:
    1:netmask, 3:router, 6:dns-server, 12:hos
    tname,
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 requested options:
    15:domain-name, 69:smtp-server
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 tags: known, eth1
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 next server: 172.16.122.5
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 broadcast response
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 sent size: 1 option:
    53:message-type 05
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 sent size: 4 option:
    54:server-identifier 172.16.122.5
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 sent size: 4 option:
    51:lease-time 00:00:00:78
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 sent size: 4 option:
    58:T1 00:00:00:3c
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 sent size: 4 option:
    59:T2 00:00:00:69
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 sent size: 4 option:
    1:netmask 255.255.255.0
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 sent size: 4 option:
    28:broadcast 172.16.122.255
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 sent size: 4 option:
    6:dns-server 172.16.122.5
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 sent size: 32 option:
    15:domain-name hipower.service.fibert
    ech.local
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 sent size: 5 option:
    12:hostname EIP1
    Dec 11 13:34:38 sam dnsmasq-dhcp[1296]: 4085303552 sent size: 4 option:
    3:router 172.16.122.254
     
    Bill McCormick, Dec 11, 2012
    #1
    1. Advertisements

  2. Bill McCormick

    Tauno Voipio Guest

    Here: The client asks for the address, and a well-behaving server
    will give it, if it is free.
     
    Tauno Voipio, Dec 11, 2012
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.