I have a pxe boot WinPE using iPXE, iPXE config file as follow:
sanhook iscsi:10.86.13.52::::iqn.2003-01.org.linux-iscsi.htpc.x8664:sn.d2a44be19814
cpuid --ext 29 && set arch amd64 || set arch x86
kernel http://10.86.13.52/ISO/wimboot
initrd http://10.86.13.52/ISO/bootmgr bootmgr
initrd http://10.86.13.52/ISO/bcd BCD
initrd http://10.86.13.52/ISO/boot.sdi boot.sdi
initrd http://10.86.13.52/ISO/winpe.wim boot.wim
boot
After I successfully boot into PE, I found that I can't connect to my iSCSI target, can't even ping the IP. Then I found the strange routing table, below:
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.86.13.254 10.86.13.149 30
10.86.13.0 255.255.255.0 On-link 10.86.13.149 286
10.86.13.149 255.255.255.255 On-link 10.86.13.149 286
10.86.13.255 255.255.255.255 On-link 10.86.13.149 286
10.86.13.52 255.255.255.255 10.86.13.254 10.86.13.149 286
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 10.86.13.149 286
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 10.86.13.149 286
Please note the line with 10.86.13.52, how does it go into routing table? I didn't set it in my dhcp server. I tried to delete it using:
route delete 10.86.13.52
and
route delete 10.86.13.52 mask 255.255.255.255
but both failed, saying can't find the item.
Any idea?