Netopia R5300 User Manual

Page 254

Advertising
background image

C-2 User’s Reference Guide

When the Netopia R5000 Series Router establishes a connection over its WAN inter face with another router it
uses the Point-to-Point Protocol (PPP). Within PPP there is a Network Control Protocol (NCP) called Internet
Protocol Control Protocol (IPCP), which handles the negotiation of IP addresses between the two routers, in this
case the Netopia R5000 Series Router at the customer site above and the router at the Internet ser vice
provider (ISP).

If the Netopia R5000 Series Router calls the router at the ISP with NAT disabled, the Netopia negotiates its LAN
inter face address (as specified in IP Setup within the Netopia R5000 Series Router's console) with the router at
the ISP through IPCP and then sets up routing. From the diagram on the previous page you can see that the
address for the Netopia R5000 Series Router is 192.168.5.1 and the address of the router at the ISP is
200.1.1.1. Assuming that the addresses negotiated by the routers are valid and unique for the Internet, the
Netopia R5000 Series Router and the hosts on its LAN would be able to access the Internet.

If the Netopia R5000 Series Router calls the router at the ISP with NAT enabled, instead of negotiating the LAN
inter face address, the Netopia R5000 Series Router suggests the address 0.0.0.0 through IPCP. When the
router at the ISP sees this all-zeros IPCP request, the router can either pull a free dynamic IP address from its
pool and assign it to the Netopia R5000 Series Router’s WAN inter face or, if configured to do so, it can match
the Netopia R5000 Series Router's incoming connection profile and assign a preconfigured static IP address to
the Netopia R5000 Series Router's WAN inter face.

From the diagram, you can see that the IP address assigned to the Netopia R5000 Series Router's WAN
inter face is 200.1.1.40, while the IP address assigned to the LAN inter face remains the same. The LAN
inter face address 192.168.5.1 is thus hidden from the ISP and the Internet, and the Netopia R5000 Series
Router only has a single valid IP presence on the Internet. The LAN inter face IP address for the Netopia R5000
Series Router can be any IP address; however, it is recommended that you use the IANA-specified 192.168.X.X
Class C address range, which is used for networks not attached to the Internet. This address range is
described in RFC 1597.

The dynamic IP address acquisition on the WAN inter face of the Netopia R5000 Series Router is one of several
features of NAT. Another is the mapping of locally assigned IP addresses to the single globally unique IP
address acquired by the Netopia R5000 Series Router on its WAN inter face. NAT employs several things to
accomplish this seamlessly. You must look at the formatting of an IP packet before IP address remapping can
be explained.

Ever y IP packet that is transmitted across the Netopia R5000 Series Router’s LAN inter face or across the WAN
inter face to the Internet contains several bits of information that indicate to any device where the packet is
going and where it came from. In par ticular, you have the source and destination por t and source and
destination IP addresses.

A por t is used within IP to define a par ticular type of ser vice and could be either a Transmission Control
Protocol (TCP) por t or User Datagram Protocol (UDP) por t. Both TCP and UDP are protocols that use IP as the
underlying transpor t mechanism. The major difference between TCP and UDP is that TCP is a reliable deliver y
ser vice, whereas UDP is a “best-effor t” deliver y ser vice. A list of well-known TCP or UDP por ts and ser vices can
be found in RFC 1700.

If Workstation A wants to communicate with a World Wide Web (WWW) ser ver on the Internet and the Netopia
R5000 Series Router does not have NAT enabled, Workstation A forms an IP packet with the source IP address
of 192.168.5.2 and destination IP address of 163.176.4.32. The source por t could be 400 while the
destination por t would be 80 (WWW ser ver). The Netopia R5000 Series Router then looks at this IP packet,
determines the best routing method and sends that packet on its way across the WAN inter face to the WWW
ser ver on the Internet.

Advertising
This manual is related to the following products: