[U-Boot] ip address confusion.

David Collier from_denx_uboot at dexdyne.com
Fri Oct 23 14:32:00 CEST 2009


Our office network runs on 

10.213.1.1/24

so all addresses in 10.212 and 10.213 should be local.

and I have a TFTP server on 10.213.1.105

if I set my office pc to 10.212.0.99 I can ping 10.213.1.105

so far so good

-----------------------------------------
if I set u-boot up so the printenv at power-on looks like

ethaddr=00:90:46:20:000:99
eth1addr=00:90:46:20:100:99
ipaddr=10.212.000.99
serverip=10.213.1.105
gatewayip=10.213.1.1
netmask=255.254.0.0
bootfile=99/uImage
ethact=macb1

then if I do

    ping 10.213.1.105

it fails.

but after setting 

    setenv ipaddr 10.213.0.99

it works

Can anyone suggest why?

David Collier

www.dexdyne.com


More information about the U-Boot mailing list