C-4 User’s Reference Guide
The reasons for the IP address changes are obvious from the preceding diagram, but what is not so obvious is
why the TCP or UDP source por ts need to be changed as well. These are changed and maintained in an internal
table so the Netopia R9100 can determine which host on the local LAN inter face sent the IP packet and what
host the response from the WAN inter face is going to go to on the LAN inter face. This becomes especially
impor tant when two or more hosts on the LAN inter face are accessing the same type of ser vice on the Internet,
like a WWW ser ver (por t 80), for example.
Now look at how two hosts on the LAN inter face accessing the same WWW ser ver on the Internet will work:
As you can see, when Workstation A and Workstation B transmit an IP packet to the WWW ser ver on the
Internet, they have unique source IP addresses on the LAN inter face but potentially the same source por ts,
which in this case is 400. When the Netopia R9100 receives these packets, the source IP addresses are
substituted with the single globally unique IP address that was acquired on the WAN inter face, which is
200.1.1.40.
Netopia
Router
WWW Server
163.176.4.32
ISP Router
200.1.1.1
Netopia Router
LAN: 192.168.5.1
WAN: 200.1.1.40
Workstations
A & B
ISP Router to WWW
Src IP: 200.1.1.40
Dst IP: 163.176.4.32
Src Port: 5001
Dst Port: 80
ISP Router to WWW
Src IP: 200.1.1.40
Dst IP: 163.176.4.32
Src Port: 5002
Dst Port: 80
WWW to ISP Router
Src IP: 163.176.4.32
Dst IP: 200.1.1.40
Src Port: 80
Dst Port: 5002
WWW to ISP Router
Src IP: 163.176.4.32
Dst IP: 200.1.1.40
Src Port: 80
Dst Port: 5001
Netopia to ISP Router
Src IP: 200.1.1.40
Dst IP: 163.176.4.32
Src Port: 5001
Dst Port: 80
Netopia to ISP Router
Src IP: 200.1.1.40
Dst IP: 163.176.4.32
Src Port: 5002
Dst Port: 80
ISP Router to Netopia
Src IP: 163.176.4.32
Dst IP: 200.1.1.40
Src Port: 80
Dst Port: 5002
ISP Router to Netopia
Src IP: 163.176.4.32
Dst IP: 200.1.1.40
Src Port: 80
Dst Port: 5001
Wkstn A to Netopia
Src IP: 192.168.5.2
Dst IP: 163.176.4.32
Src Port: 400
Dst Port: 80
Wkstn B to Netopia
Src IP: 192.168.5.3
Dst IP: 163.176.4.32
Src Port: 400
Dst Port: 80
Netopia to Wkstn B
Src IP: 163.176.4.32
Dst IP: 192.168.5.3
Src Port: 80
Dst Port: 400
Netopia to Wkstn A
Src IP: 163.176.4.32
Dst IP: 192.168.5.2
Src Port: 80
Dst Port: 400
Содержание R9100
Страница 1: ...Netopia R9100 Ethernet Router for DSL and Cable Modems User s Reference Guide ...
Страница 12: ...User s Reference Guide ...
Страница 18: ...2 4 User s Reference Guide ...
Страница 32: ...4 10 User s Reference Guide ...
Страница 46: ...5 14 User s Reference Guide ...
Страница 60: ...User s Reference Guide ...
Страница 76: ...8 16 User s Reference Guide ...
Страница 106: ...10 6 User s Reference Guide ...
Страница 138: ...12 20 User s Reference Guide ...
Страница 188: ...User s Reference Guide ...
Страница 194: ...A 6 User s Reference Guide ...
Страница 208: ...B 14 User s Reference Guide ...
Страница 222: ...E 4 User s Reference Guide ...
Страница 228: ...F 6 User s Reference Guide ...
Страница 236: ...8 User s Reference Guide ...
Страница 242: ...Index 6 ...
Страница 244: ...2 User s Reference Guide ...