View previous topic :: View next topic |
Author |
Message |
alikaca
Joined: 01 Mar 2007 Posts: 5
|
UDP access for internet and ARP error |
Posted: Fri Mar 02, 2007 4:34 am |
|
|
hi, i m using tcp/ip stack. udp protocoll is very good working in local network, i have a server on the internet but i dont access with udp protocol. my local network ip is 10.0.0.x. server adress is 84.51.47.xxx
i send a arp request for local network. not any problem very nice, but i send a arp request for my server (on the internet) . Not incoming any answer. only go default gatewaye. how can i communication with my server(ip=84.51.47.xxx)? help me place thank you. |
|
![](templates/subSilver/images/spacer.gif) |
asmallri
Joined: 12 Aug 2004 Posts: 1634 Location: Perth, Australia
|
|
Posted: Fri Mar 02, 2007 7:11 am |
|
|
The internet does not propogate public IP addresses such as network 10.x.x.x This means that no internet routers can find a route back to your network.
If you are connected to the internet it means your router is configured for Network Address Translation which is mapping you real world ip address (the one connected to your ISP) to your internal network 10.x.x.x
Your router can be configured to forward traffic arriving in on the external (ISP) interface destined to port xyz to some internal address you have configured in the routers port mapping table (say 10.0.1.24) for port xyz.
If your real IP address (the one facing the service provider) is 55.66.77.88 and the port number is 123 then any packets arriving to the router on the external interface destined for 55.66.77.88:123 will be forwarded to 10.0.1.24:123 on you local interface.
Bottom line - you need to configure "port forwarding" aka NAT on the router. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
![](templates/subSilver/images/spacer.gif) |
alikaca
Joined: 01 Mar 2007 Posts: 5
|
i make to a test |
Posted: Fri Mar 02, 2007 11:52 am |
|
|
i m try with router but not workig. i m sendig a icmp for 84.51.47.xxx (ping) not incoming answer. i m watch the network packets with a network sniffer.
example
i m sendig a udp packet for local network(10.0.0.5)
port 1000
10.0.0.5:1000 not problem . data is very good arrive to 10.0.0.5
i m sending a udp packet for WAN(internet 84.51.47.200)
port 1000
84.51.47.200:1000 problem
my router adres is 10.0.0.2. my router is make to broadcast but not incoming any answer.
i make to nat and port forwarding on the my router. but not working
i think , but i don't find a solution |
|
![](templates/subSilver/images/spacer.gif) |
|