<div dir="ltr"><div>Filing this again since I do not see it in the list archive from yesterday. Not sure where it went... Apologies if duplicated somewhere.</div><div><br></div><div><br></div><div><br></div><div>I am having issues with TFTP booting. DHCP reservation works fine, packets show next-server (Server-IP) and filename (file) being sent correctly:</div><div><br></div><div>09:35:46.597484 d0:67:e5:99:49:9a > 00:50:56:b0:2d:6c, ethertype IPv4 (0x0800), length 590: (tos 0x0, ttl 17, id 26679, offset 0, flags [none], proto UDP (17), length 576)</div><div> 172.23.41.127.bootpc > 172.22.129.101.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:50:56:a4:13:6d, length 548, hops 1, xid 0x57a4136d, secs 4, Flags [Broadcast] (0x8000)</div><div><span class="" style="white-space:pre"> </span> Gateway-IP 172.23.41.127</div><div><span class="" style="white-space:pre"> </span> Client-Ethernet-Address 00:50:56:a4:13:6d</div><div><span class="" style="white-space:pre"> </span> Vendor-rfc1048 Extensions</div><div><span class="" style="white-space:pre"> </span> Magic Cookie 0x63825363</div><div><span class="" style="white-space:pre"> </span> DHCP-Message Option 53, length 1: Request</div><div><span class="" style="white-space:pre"> </span> Requested-IP Option 50, length 4: 172.23.41.91</div><div><span class="" style="white-space:pre"> </span> Parameter-Request Option 55, length 24: </div><div><span class="" style="white-space:pre"> </span> Subnet-Mask, Time-Zone, Default-Gateway, IEN-Name-Server</div><div><span class="" style="white-space:pre"> </span> Domain-Name-Server, RL, Hostname, BS</div><div><span class="" style="white-space:pre"> </span> Domain-Name, SS, RP, EP</div><div><span class="" style="white-space:pre"> </span> Vendor-Option, Server-ID, Vendor-Class, BF</div><div><span class="" style="white-space:pre"> </span> Option 128, Option 129, Option 130, Option 131</div><div><span class="" style="white-space:pre"> </span> Option 132, Option 133, Option 134, Option 135</div><div><span class="" style="white-space:pre"> </span> MSZ Option 57, length 2: 1260</div><div><span class="" style="white-space:pre"> </span> Server-ID Option 54, length 4: 172.22.129.101</div><div><span class="" style="white-space:pre"> </span> GUID Option 97, length 17: 0.66.36.89.8.124.188.159.93.239.28.84.34.11.193.72.120</div><div><span class="" style="white-space:pre"> </span> ARCH Option 93, length 2: 0</div><div><span class="" style="white-space:pre"> </span> NDI Option 94, length 3: 1.2.1</div><div><span class="" style="white-space:pre"> </span> Vendor-Class Option 60, length 32: "PXEClient:Arch:00000:UNDI:002001"</div><div><span class="" style="white-space:pre"> </span> END Option 255, length 0</div><div><span class="" style="white-space:pre"> </span> PAD Option 0, length 0, occurs 200</div><div>09:35:46.597557 00:50:56:b0:2d:6c > d0:67:e5:99:49:9a, ethertype IPv4 (0x0800), length 359: (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 345)</div><div> 172.22.129.101.bootps > 172.23.41.124.bootps: [bad udp cksum 26c8!] BOOTP/DHCP, Reply, length 317, hops 1, xid 0x57a4136d, secs 4, Flags [Broadcast] (0x8000)</div><div><span class="" style="white-space:pre"> </span> Your-IP 172.23.41.91</div><div><span class="" style="white-space:pre"> </span> Server-IP 172.22.129.101</div><div><span class="" style="white-space:pre"> </span> Gateway-IP 172.23.41.124</div><div><span class="" style="white-space:pre"> </span> Client-Ethernet-Address 00:50:56:a4:13:6d</div><div><span class="" style="white-space:pre"> </span> file "pxelinux.0"</div><div><span class="" style="white-space:pre"> </span> Vendor-rfc1048 Extensions</div><div><span class="" style="white-space:pre"> </span> Magic Cookie 0x63825363</div><div><span class="" style="white-space:pre"> </span> DHCP-Message Option 53, length 1: ACK</div><div><span class="" style="white-space:pre"> </span> Server-ID Option 54, length 4: 172.22.129.101</div><div><span class="" style="white-space:pre"> </span> Lease-Time Option 51, length 4: 43200</div><div><span class="" style="white-space:pre"> </span> Subnet-Mask Option 1, length 4: 255.255.255.0</div><div><span class="" style="white-space:pre"> </span> Default-Gateway Option 3, length 4: 172.23.41.1</div><div><span class="" style="white-space:pre"> </span> Domain-Name-Server Option 6, length 8: 172.20.0.111,172.20.0.112</div><div><span class="" style="white-space:pre"> </span> Hostname Option 12, length 22: "pxetftp2.lab.beer.town"</div><div><span class="" style="white-space:pre"> </span> Domain-Name Option 15, length 13: "lab.beer.town"</div><div><span class="" style="white-space:pre"> </span> END Option 255, length 0</div><div><br></div><div><br></div><div>However, the Gateway-IP is incorrect. It should be 172.23.41.1. and (I think) because of this, the server never makes it to the TFTP server.</div><div><br></div><div><img src="cid:ii_1560d910c32d529b" alt="Inline image 1" width="562" height="118"></div><div><a href="http://i.imgur.com/XfyQ7zj.png">http://i.imgur.com/XfyQ7zj.png</a></div><div><br></div><div><br></div><div>dhcpd.conf:</div><div># dhcpd.conf</div><div>interfaces="eth0";</div><div>ping-check true;</div><div><br></div><div>option domain-name "lab.beer.town";</div><div>option domain-name-servers 172.20.0.111, 172.20.0.112;</div><div>option ntp-servers 172.22.82.100;</div><div><br></div><div>omapi-port 7911;</div><div>key omapi_key {</div><div> algorithm HMAC-MD5;</div><div> secret ""; #<-The output from the generated key above.</div><div>}</div><div>omapi-key omapi_key;</div><div><br></div><div>default-lease-time 43200;</div><div>max-lease-time 86400;</div><div><br></div><div>ddns-update-style none;</div><div><br></div><div>allow booting;</div><div>allow bootp;</div><div>authoritative;</div><div><br></div><div>log-facility local7;</div><div><br></div><div>include "/etc/dhcp/dhcpd.hosts";</div><div><br></div><div>#################################</div><div># lab.beer.town</div><div>#################################</div><div>subnet 172.22.129.0 netmask 255.255.255.0 {</div><div> range 172.22.129.101 172.22.129.101;</div><div> option subnet-mask 255.255.255.0;</div><div> option routers 172.22.128.1;</div><div> next-server 172.23.129.101;</div><div> filename "pxelinux.0";</div><div>}</div><div><br></div><div>subnet 172.23.41.0 netmask 255.255.255.0 {</div><div> range 172.23.41.2 172.23.41.254;</div><div> option subnet-mask 255.255.255.0;</div><div> option routers 172.23.41.1;</div><div> next-server 172.23.41.101;</div><div> filename "pxelinx.0";</div><div>}</div><div><br></div><div><br></div><div>What am I doing wrong that the vm is picking up the gateway as the routers IP? Yes the request is coming from that router, but why isnt it sending back the correct gateway-ip ?</div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Jeff</div>
</div>