Piero 74 wrote:
but AFTER ip discovery, sw on pc have to use this ip for tcp connection.
i think if you use cable cross between two systems which have in general
IP in different subnet, you cannot comunicate. I think it could works
only if they have the same GW... but it will be a strange situation.
I said "but, using broadcast, the installer have to configure his laptop
on the same subnet of board". It means configuration necessary AFTER ip
discovery
But you're also going to have to configure the laptop to communicate with
the subnet the static IP address is on too. And you're stuffed if
192.168.* (or whatever you're using) is already a valid subnet connected
to the laptop.
A broadcast to 255.255.255.255 will be seen by every host on the same side
of a gateway router, directly connected with a cross-over cable or not.
The configured gateway for each subnet is not relevant.
Jifl
2008/2/21, Frédéric BERNON <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:
but, using broadcast, the installer have to configure his laptop on
the same subnet of board.
Why??? You can broadcast on 255.255.255.255
<http://255.255.255.255>, so, the installer doesn't have to be on
the same subnet. Of course, your device should also reply on
255.255.255.255 <http://255.255.255.255>
[snip]
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["The best things in life aren't things."]------ Opinions==mine
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users