Follow-up Comment #5, bug #43396 (project grub):
@Andrei, the DHCP server is on another subnet. DHCP relaying is provided by a
Cisco 2960G, which cannot perform IPv4 routing (nor does it need to, in this
case). The DHCP server is isc-dhcpd-server 4.2.4.
I've added a capture of what the DHCP server receives and responds
(dhcp.pcap). However, in my opinion, GRUB shouldn't attempt to use the gateway
for hosts which are on its own subnet.
As a workaround, I've tried to add 10.13.13.2 as default gateway, but this
makes no difference. I've hacked net.c to dump the routing table (by just
calling grub_cmd_listroutes() prior to grub_net_route_address()'s return) and
this yields:
pxe:local 10.13.13.0/24 pxe
pxe 10.13.13.254/32 pxe
pxe:gw 10.13.13.2/32 gw 10.13.13.254
The final line is what worries me: why is it forcing to use the gateway for
something that it knows is on its local network?
@Daniel, are you using DHCP relay as well (it seems you are) - otherwise, I
may have hijacked your bug report, apologies if this is the case.
(file #34033)
_______________________________________________________
Additional Item Attachment:
File name: dhcp.pcap Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43396>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub