UDP's sendto() from two IP Addresses to IP Address from small LAN
- From: "Alex Vinokur" <alexvn@xxxxxxxxxxxxxxxxxxxxx>
- Date: 23 Jan 2006 09:12:34 -0800
===================
Windows XP Professional
===================
My PC belongs to two LANs
------------------------------------------
$ ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.1.1.200
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : <stuff>
IP Address. . . . . . . . . . . . : 128.129.101.102
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 128.129.0.1
------------------------------------------
First LAN (big LAN): PC's IP Address is 128.129.101.102
Second LAN (small LAN): PC's IP Address is 10.1.1.200
Second LAN contains one more card: its IP Address is 10.1.1.1.
I sent two messages to IP Address 10.1.1.1 via UDP socket (the
sendto() command):
* from 128.129.101.102
and
* from 10.1.1.200.
IP Address 10.1.1.1 received both messages.
The question is: why did 10.1.1.1 receive message from 128.129.101.102
?
It seems that 10.1.1.1 and 128.129.101.102 are in different LANs.
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn
.
- Follow-Ups:
- Re: UDP's sendto() from two IP Addresses to IP Address from small LAN
- From: Eugene Gershnik
- Re: UDP's sendto() from two IP Addresses to IP Address from small LAN
- Prev by Date: Re: Design question
- Next by Date: Getting Wireless Signal Strength while Wireless Zero Configuration is running
- Previous by thread: How to enum net share via IP address, other than NetBIOS name?
- Next by thread: Re: UDP's sendto() from two IP Addresses to IP Address from small LAN
- Index(es):
Relevant Pages
|