iPXE discussion forum
Cannot Ping Any Machines - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Cannot Ping Any Machines (/showthread.php?tid=7787)



Cannot Ping Any Machines - nowakmr - 2015-08-07 23:24

Hello,

I am attempting to use iPXE on a machine of mine to tftp download and boot a Linux kernel. I've built an iPXE usb image and flashed it to a usb drive, and booted into iPXE so far. My problem is that once I configure my network interface with a static IP, I am not able to ping any machines, so I'm not even able to begin downloading the kernel.

I am configuring my static IP like this:

set net0/ip 10.16.64.97
set net0/netmask 255.255.240.0
set net0/gateway 10.16.64.1

and then doing:

ping 10.16.66.54
ping 10.16.64.1
ping 127.0.0.1

(a server, the gateway, myself). In each case, the result is:

0 bytes from <none>: seq=1: Connection timed out (http://ipxe.org/4c1b2035)

I get the same results with DHCP configuration.

Am I missing something? Any ideas on this or help with this would be greatly appreciated.

Thanks,

Mike


RE: Cannot Ping Any Machines - mcb30 - 2015-08-24 23:09

(2015-08-07 23:24)nowakmr Wrote:  I am configuring my static IP like this:

set net0/ip 10.16.64.97
set net0/netmask 255.255.240.0
set net0/gateway 10.16.64.1

Quick check: are you also opening the interface ("ifopen net0")?

Also:

Quote:ping 127.0.0.1

iPXE has no concept of the loopback address or a loopback network interface, so anything involving 127.0.0.1 is not expected to work.

Quote:I get the same results with DHCP configuration.

Does this mean that you are able to obtain an address via DHCP but are then unable to ping any machines, or do you mean that you get an error (which error?) when you attempt DHCP?

Michael