Hi Mitty,
Try the following to cause your frdm-k64f Freedom board to do a DHCP:
Starting HTTP server No.0 on IP 192.168.1.202, port 80...[OK]
Shell (build: Jul 6 2015)
Copyright (c) 2013 Freescale Semiconductor;
shell>
shell> ipconfig dhcp
Bind via dhcp successful.
shell>
shell> ipconfig
Eth# : 0
Link : on
MTU : 1500
MAC : 00:00:5e:a8:01:ca
IP4 : 10.0.1.187 Type: DHCPNOAUTO
IP4 Mask : 255.255.255.0
IP4 Gate : 10.0.1.1
IP4 DNS : 10.0.1.1
IP6 : DISABLED
Link status task stopped
shell>
shell> ping 10.0.1.1
Pinging 10.0.1.1:
Press [q] to cancel.
Reply from [10.0.1.1]: time=8ms
Reply from [10.0.1.1]: time=3ms
Reply from [10.0.1.1]: time=4ms
Reply from [10.0.1.1]: time=4ms
shell>
Regards,
David