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 2008/2/21, Frédéric BERNON <[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, so, the installer doesn't > have to be on the same subnet. Of course, your device should also reply on > 255.255.255.255 > > > > *====================================* > *Frédéric BERNON* > *HYMATOM SA* > *Chef de projet informatique* > *Microsoft Certified Professional* > *Tél. : +33 (0)4-67-87-61-10* > *Fax. : +33 (0)4-67-70-85-44* > *Email : [EMAIL PROTECTED] > *Web Site : http://www.hymatom.fr* > *====================================* > P Avant d'imprimer, penser à l'environnement > > > -----Message d'origine----- > *De :* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *De la part de*Piero 74 > *Envoyé :* jeudi 21 février 2008 11:18 > *À :* Mailing list for lwIP users > *Objet :* Re: RE : [lwip-users] Finding assigned IP address of device > > You are right... but, using broadcast, the installer have to configure his > laptop on the same subnet of board. > Our goal is to give the possibility to have laptop (or, in the future, a > tool) configured on fixed ip too (i.e. board fixed ip 192.168.0.1 - laptop > ip 192.168.0.2) and the installer have only plug a cable... no network > configuration is necessary. But the idea of broadcast could be additional! > > Piero > > 2008/2/21, Frédéric BERNON <[EMAIL PROTECTED]>: > > > > >So the maintenance engineer can use a cross cable and a laptop or can > > connect a laptop on the same hub of board (to avoid routers drops packet > > outside the familiy address) > > > > So, in such configuration (a "direct" link), any broadcast detection > > protocol seems better than implementing a double netif on the same phy > > interface. Right? > > > > > > *====================================* > > *Frédéric BERNON* > > *HYMATOM SA* > > *Chef de projet informatique* > > *Microsoft Certified Professional* > > *Tél. : +33 (0)4-67-87-61-10* > > *Fax. : +33 (0)4-67-70-85-44* > > *Email : [EMAIL PROTECTED] > > *Web Site : http://www.hymatom.fr* > > *====================================* > > P Avant d'imprimer, penser à l'environnement > > > > > > -----Message d'origine----- > > *De :* [EMAIL PROTECTED] [mailto: > > [EMAIL PROTECTED] *De la part de > > * Piero 74 > > *Envoyé :* jeudi 21 février 2008 09:20 > > *À :* Mailing list for lwIP users > > *Objet :* Re: [lwip-users] Finding assigned IP address of device > > > > In a lot of network, administrator configure router for dropping > > broadcast packet and allows only multicast! > > > > For our customer needs, i decided to implement on my board (without user > > interface) the possibility to work with double netif on same phy interface: > > one using dhcp, and one using fixed IP in different family address > > configured in DHCP server (i.e. LAN uses 10.51.yy.xx and fixed IP is > > 192.168.0.1). > > In this way, board could work as client using its dynamic ip, and act as > > server on fixed ip for maintenance reasons. So the maintenance engineer can > > use a cross cable and a laptop or can connect a laptop on the same hub of > > board (to avoid routers drops packet outside the familiy address) > > > > We discussed about my idea here: > > http://lists.gnu.org/archive/html/lwip-devel/2008-02/msg00035.html > > > > Piero > > > > 2008/2/20, Art R. <[EMAIL PROTECTED]>: > > > > > > > > > A simple but good way is to have the device do a UDP broadcast of > > > whatever > > > you want know. It does mean that the PC would need software running on > > > it to > > > receive the bcast and do what you want done. > > > > > > > > > > > > Bill Auerbach wrote: > > > > > > > > Hello, > > > > > > > > > > > > > > > > This may be straying off topic. What methods can be used for a node > > > > connected to my lwIP-based device to be able to find out the IP > > > address > > > > assigned by DHCP or AUTOIP? I don't have a display on the device > > > to know > > > > what the IP address is. How can I let the PC wanting to connect to > > > me > > > > know > > > > the assigned IP address? > > > > > > > > > > > > > > > > Thanks much! > > > > > > > > > > > > > > > > Bill > > > > > > > > > > > > > > > _______________________________________________ > > > > lwip-users mailing list > > > > [email protected] > > > > http://lists.nongnu.org/mailman/listinfo/lwip-users > > > > > > > > > > > > > -- > > > View this message in context: > > > http://www.nabble.com/Finding-assigned-IP-address-of-device-tp15596400p15598159.html > > > Sent from the lwip-users mailing list archive at Nabble.com. > > > > > > > > > > > > > > > _______________________________________________ > > > lwip-users mailing list > > > [email protected] > > > http://lists.nongnu.org/mailman/listinfo/lwip-users > > > > > > > > > _______________________________________________ > > lwip-users mailing list > > [email protected] > > http://lists.nongnu.org/mailman/listinfo/lwip-users > > > > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users > >
<<image002.jpg>>
<<image001.jpg>>
<<image002.jpg>>
<<image001.jpg>>
_______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
