D-Link DSL-504 manual Setting Local IP Addresses, Port Redirection

Page 23

DSL-504 ADSL Router User’s Guide

Please note that in the above diagram, the Gateway IP address settings for the local PC’s needs to be set to 192.168.0.1, the LAN IP address of the router.

NAT manipulates the IP addresses in packet headers on a one-to-one basis. An outgoing data packet (a packet originating from a computer on the local LAN and destined for a computer outside the private network) will have its IP address translated as shown below.

In the Outgoing Data Packet above, the Source IP address is the IP address that is translated by NAT. The Destination IP Address is the IP address of a computer outside the private network, on the Internet for example. And the Data portion of the packet is the information payload carried by the packet, for instance a request to view a web page.

The router logs the changes made to the IP header in its NAT table. The NAT table enables the router to send replies back to the local computer as shown below.

In the Inbound Data Packet above, the Destination IP Address is the IP address that is translated by NAT. The Source IP Address is the IP address of a computer outside the private network. And the Data portion of the packet is the information payload carried by the packet, in this case, web page contents.

Setting Local IP Addresses

When implementing NAT and thus creating a private network that is isolated from the Internet, you can assign any IP addresses to host computers without problems. However, the Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of IP Addresses specifically for private networks:

Class

Beginning Address

Ending Address

A

10.0.0.0

10.255.255.255

B

172.16.0.0

172.31.255.255

C

192.168.0.0

192.168.255.255

It is recommended that you choose local IP addresses for use with NAT from the private network IP addresses in the above list. For more information on address assignment, refer to RFC 1597, Address Allocation for Private Internets and RFC 1466, Guidelines for Management of IP Address Space.

Port Redirection

17

Image 23
Contents DSL-504 Adsl Router User’s Guide Table of Contents DSL-504 Firmware Upgrade Utility Operating Systems Adsl ServiceAbout This User’s Guide Before You StartGlobal IP Address Default Gateway IP AddressVPI VCI MAC Address Page Adsl Technology IntroductionRouter Description and Operation Product Features Static Routing Default RoutingATM Asynchronous Transfer Mode Easy InstallationStandards Compatability and Compliance Front Panel UnpackingFront Panel Rear PanelLED Indicators LED IndicatorsConnect Adsl Line Hardware InstallationConnect the Power LAN to Router Connection Connect Ethernet LAN to RouterGetting Started Web-based Router ConfigurationSetting up the PC IntroductionClick Properties Management Login ButtonPPPoE Configuration PVC PPPoE Configuration Window End IP Address Dhcp Configuration WindowNAT Configuration Window NAT ConfigurationHow NAT Works Port Redirection Setting Local IP AddressesAdvanced Filter/Firewall Port Redirection WindowRedirect Port Window Advanced Filtering and Firewall Screen #1 Advanced Filtering and Firewall Screen #2 Advanced Filtering and Firewall Screen #3 Connection Type PPPoE/ PPPoA/ RFC 1483 Window Connection TypeStatic IP Address Configuration Window Static IP Address ConfigurationLine Condition Line ConditionUser Name and Password Window User Name and PasswordRestart System Restart System Window Save ChangesSave Changes Window Update Firmware Window Update FirmwareSummary Saving Changes Finding the PasswordContacting Technical Support Offices Japan Link Japan General Technical SpecificationsCE Class B FCC Class B Physical and EnvironmentalIP Addresses IP ConceptsIP Network Classes Class Beginning Ending Address Subnet MaskDSL-504 Firmware Upgrade Utility DSL-504 Adsl Router User’s Guide DSL-504 Adsl Router User’s Guide Hardware Limited WarrantyWichtige Sicherheitshinweise Software Warranty PeriodLink Offices for Registration and Warranty Service FCC Warning Limitation of LiabilityPage Registration Card