NETGEAR DG814 DSL manual Netmask, Subnet Addressing

Page 94

Reference Manual for the Model DG814 DSL Modem Internet Gateway

This addressing structure allows IP addresses to uniquely identify each physical network and each node on each physical network.

For each unique value of the network portion of the address, the base address of the range (host address of all zeros) is known as the network address and is not usually assigned to a host. Also, the top address of the range (host address of all ones) is not assigned, but is used as the broadcast address for simultaneously sending a packet to all hosts with the same network address.

Netmask

In each of the address classes previously described, the size of the two parts (network address and host address) is implied by the class. This partitioning scheme can also be expressed by a netmask associated with the IP address. A netmask is a 32-bit quantity that, when logically combined (using an AND operator) with an IP address, yields the network address. For instance, the netmasks for Class A, B, and C addresses are 255.0.0.0, 255.255.0.0, and 255.255.255.0, respectively.

For example, the address 192.168.170.237 is a Class C IP address whose network portion is the upper 24 bits. When combined (using an AND operator) with the Class C netmask, as shown here, only the network portion of the address remains:

11000000 10101000 10101010 11101101 (192.168.170.237)

combined with:

11111111 11111111 11111111 00000000 (255.255.255.0)

Equals:

11000000 10101000 10101010 00000000 (192.168.170.0)

As a shorter alternative to dotted-decimal notation, the netmask may also be expressed in terms of the number of ones from the left. This number is appended to the IP address, following a backward slash ( / ), as “/n.” In the example, the address could be written as 192.168.170.237/24, indicating that the netmask is 24 ones followed by 8 zeros.

Subnet Addressing

By looking at the addressing structures, you can see that even with a Class C address, there are a large number of hosts per network. Such a structure is an inefficient use of addresses if each end of a routed link requires a different network number. It is unlikely that the smaller office LANs would have that many devices. You can resolve this problem by using a technique known as subnet addressing.

B-4

Networks and Routing Basics

Image 94
Contents NETGEAR, Inc Trademarks World Wide Web Page Contents Chapter Preparing Your Network Chapter Maintenance Appendix a Technical Specifications Figure B-1 Page Table B-1 Xii About This Guide Technical Support Related PublicationsXiv About This Guide Typographical Conventions Special Message FormatsPage Chapter Introduction Key FeaturesAbout the Gateway Introduction Security Content FilteringAutosensing 10/100 Ethernet Easy Installation and Management TCP/IPMaintenance and Support Introduction Chapter Setting Up the Hardware Package ContentsGateway’s Front Panel Access RequirementLocal Network Hardware Requirements PC RequirementsGateway’s Rear Panel LED DescriptionsConnecting the Gateway Connecting to your Local Ethernet Network Typical installationConnecting to Your Adsl Service and Telephone Provider Adsl through a modular RJ-11 wall jackVerifying Power Connecting the Power AdapterAdsl through other wall jacks Setting Up the Hardware Chapter Preparing Your Network Preparing Your Personal Computers for IP NetworkingConfiguring Windows 95, 98, and ME for IP Networking Install or Verify Windows Networking ComponentsPreparing Your Network Assign TCP/IP configuration by Dhcp Selecting Internet Access MethodConfiguring Windows NT or 2000 for IP Networking Verifying TCP/IP Properties WindowsVerifying TCP/IP Properties Configuring the Macintosh for IP NetworkingMacOS 8.6 or MacOS Your Internet Account Verifying TCP/IP Properties MacintoshLogin Protocols Account InformationObtaining ISP Configuration Information Windows Obtaining ISP Configuration Information Macintosh Ready for ConfigurationRestarting the Network Preparing Your Network Chapter Basic Configuration of the Gateway Accessing the Web Configuration ManagerLogin window opens as shown in -1below Browser-based configuration main menu Configuration using the Setup Wizard Configuring for Dynamic IP Account Setup Wizard menu for Dynamic IP addressConfiguring for Fixed IP Account Setup Wizard menu for Fixed IP addressConfiguring for an Account with Login Setup Wizard menu for PPPoE login accountsManual Configuration Completing the Configuration Basic Configuration of the Gateway Chapter Content Filtering Configuring for Content FilteringLogs Block Sites Schedule Mail Content Filtering Chapter Maintenance Gateway StatusThis screen shows the following parameters Dhcp This screen shows the following statistics PPPoE Status screen Attached Devices Ping Status screenConfiguration File Settings Management Restore and Backup the ConfigurationChanging the Configuration Password Erase the ConfigurationGateway Upgrade Gateway Upgrade menuMaintenance Advanced Configuration of the Gateway Configuring for Port Forwarding to Local ServersAdd a Custom Service Local Web and FTP Server Example Edit or Delete a Port Forwarding EntryTip Multiple Computers for Half Life, Kali or Quake NAT Status Security DMZ ServerDynamic DNS Respond to Ping on Internet WAN PortLAN IP Setup LAN IP Setup MenuLAN TCP/IP Setup Use router as Dhcp serverStatic Routes Static Route Summary Table Static Route Example Advanced Configuration of the Gateway Basic Functioning Chapter TroubleshootingPWR LED Not On Troubleshooting the Web Configuration Interface Test LED Never Blinks or LED Stays OnWAN LED Green or Blinking Green Troubleshooting the ISP ConnectionAdsl link WAN LED Blinking YellowObtaining a WAN IP Address WAN LED OffTroubleshooting PPPoE or PPPoA Troubleshooting Internet BrowsingTroubleshooting a TCP/IP Network Using a Ping Utility Testing the LAN Path to Your GatewayTesting the Path from Your PC to a Remote Device Ping -n 10 IP addressProblems with Date and Time Restoring the Default Configuration and PasswordUsing the Default Reset button Appendix a Technical Specifications General SpecificationsLAN Appendix B Networks and Routing Basics What is a Router?Basic Router Concepts Routing Information Protocol IP Addresses and the InternetClass E Class E addresses are for experimental use Netmask Subnet AddressingFigure B-2. Example of Subnetting a Class B Address Table B-1. Netmask Notation Translation Table for One Octet Single IP Address Operation Using NAT Private IP AddressesFigure B-3. Single IP Address Operation Using NAT MAC Addresses and Address Resolution Protocol Domain Name ServerIP Configuration by Dhcp Uplink Switches, Crossover Cables, and MDI/MDIX Switching Ethernet CablingCable Quality Glossary For example Internet Through the network Auto MDI/MDI-X1-4, 2-6, B-11, B-12 DMZ 1-3, 5-2 MDI/MDI-X1-4, 2-6, B-11, B-12 NTP 5-6 Xiii, B-7 1631 xiv, B-8