[U-Boot] TFTP Issue

Wolfgang Denk wd at denx.de
Fri Dec 17 12:55:08 CET 2010


Dear "T K, Sunil Kumar",

please stop top posting / full quoting.

Make sure to read http://www.netmeister.org/news/learn2quote.html

In message <674D2C24C8992F46817BBBF3ECAE914F4EBF8714A9 at blr-sms-exch01.digi.com> you wrote:
> If you IP address is 192.168.42.30, then the gateway should have an
> IP address in _your_ network, i. e. something starting 192.168.xx.xx
> 
> --> Yes. I agree with you.
> Whatever gateway IP I have mentioned it is of server's gateway IP (In this
> case server is my PC. So I have given my PC gateway IP.) But earlier it was
>  " gatewayip=0.0.0.0" and was working fine also.
> Can't we go ahead without gatewayip?

If your server's and your target's IP addresses are in two different
networks (as determined by their respective IP addresses and the uset
network mask) then you do need a gateway, and it mut have an IP
address in the network where your target is (otherwise the target
cannot talk to it).

If you put both the server and the target in the same network then no
gateway i sneeded. In this case "gatewayip" should be unset.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
This is an unauthorized cybernetic announcement.


More information about the U-Boot mailing list