[ipxe-devel] Curious routing problem with iPXE
Lee Bradshaw
lee at witsend.id.au
Wed Feb 9 23:25:18 UTC 2011
Hi,
I've now set up a native Windows iSCSI server and am booting from it. All is
working fine, except that the routing to the server is odd. My PC is .244;
the server is .2. When I list the routing table I get:
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.10.10.1 10.10.10.244 266
10.10.10.0 255.255.255.0 On-link 10.10.10.244 266
10.10.10.2 255.255.255.255 10.10.10.1 10.10.10.244 266
...
You will notice the curious route to the server via a gateway at 10.10.10.1.
This seems to be caused by iPXE not correctly processing the subnet from
DHCP, which was 255.255.255.0. I know this is what it read from the DHCP
server because it says so during the boot.
Windows then inherits the routing iPXE used - and Windows is very, very
touchy about anything that affects the route to the system disk; I can't
change these entries.
In many installations this wouldn't be a problem - although it's an
unnecessary overhead - but in my case the gateway at 10.10.10.1 is on a
100Mb connection to the switch, whereas the rest of the network is 1000Mb.
As you can imagine, this means the performance of my disks is not what it
should be.
I've been able to work around it by adding a static route (DHCP 249) to
override the errant entry, but it would be nice if I didn't have to do this.
Any ideas?
Thanks,
Lee.
More information about the ipxe-devel
mailing list