[Dnsmasq-discuss] failed to assign ip for debian installer (udhcpc)

Vasiliy Tolstov v.tolstov at selfip.ru
Wed May 22 18:42:14 BST 2013


I'm solved my problem by install dhcp-helper on host node and relay
all dhcp to my server.

2013/5/22 Vasiliy Tolstov <v.tolstov at selfip.ru>:
> And this is not works for me:
> tcpdump says:
> 20:53:12.299104 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none],
> proto UDP (17), length 320)
>     0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request
> from 52:54:00:00:00:33, length 292, xid 0x1d0f312d, secs 3, Flags
> [none] (0x0000)
>           Client-Ethernet-Address 52:54:00:00:00:33
>           Vendor-rfc1048 Extensions
>             Magic Cookie 0x63825363
>             DHCP-Message Option 53, length 1: Request
>             Client-ID Option 61, length 7: ether 52:54:00:00:00:33
>             Requested-IP Option 50, length 4: 37.139.40.32
>             Server-ID Option 54, length 4: 37.139.40.9
>             MSZ Option 57, length 2: 576
>             Parameter-Request Option 55, length 7:
>               Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
>               Domain-Name, BR, NTP
>             Vendor-Class Option 60, length 12: "udhcp 1.20.2"
>             END Option 255, length 0
> 20:53:12.386992 IP (tos 0xc0, ttl 64, id 35055, offset 0, flags
> [none], proto UDP (17), length 328)
>     37.139.40.9.67 > 37.139.40.32.68: [bad udp cksum 0x9c84 ->
> 0x3b2f!] BOOTP/DHCP, Reply, length 300, xid 0x1d0f312d, secs 3, Flags
> [none] (0x0000)
>           Your-IP 37.139.40.32
>           Server-IP 37.139.40.9
>           Client-Ethernet-Address 52:54:00:00:00:33
>           Vendor-rfc1048 Extensions
>             Magic Cookie 0x63825363
>             DHCP-Message Option 53, length 1: ACK
>             Server-ID Option 54, length 4: 37.139.40.9
>             Lease-Time Option 51, length 4: 300
>             RN Option 58, length 4: 150
>             RB Option 59, length 4: 259
>             Subnet-Mask Option 1, length 4: 255.255.255.0
>             BR Option 28, length 4: 37.139.40.255
>             Domain-Name-Server Option 6, length 4: 8.8.8.8
>             Default-Gateway Option 3, length 8: 24.37.139.40,37.139.40.254
>             END Option 255, length 0
>             PAD Option 0, length 0, occurs 4
>
> 2013/5/22 Vasiliy Tolstov <v.tolstov at selfip.ru>:
>> 2013/5/22 Ilya Evseev <ilya.evseev at gmail.com>:
>>> Hi, Vase!
>>> Do you use vhost-net?
>>> If so, try "iptables -t mangle -I INPUT -p udp --dport bootpc -j CHECKSUM
>>> --checksum-fill" on kvm farm.
>>> See tested settings here:
>>> http://code.google.com/p/linuxkvm-loader/source/browse/
>>>
>>> WBR, Ilya
>>
>>
>> Hmm. Why standard dhcp client from debian can work without this?
>>
>> --
>> Vasiliy Tolstov,
>> e-mail: v.tolstov at selfip.ru
>> jabber: vase at selfip.ru
>
>
>
> --
> Vasiliy Tolstov,
> e-mail: v.tolstov at selfip.ru
> jabber: vase at selfip.ru



-- 
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru
jabber: vase at selfip.ru



More information about the Dnsmasq-discuss mailing list