Home > Articles > Information Technology

Physical and Logical Addresses

  • Print
  • + Share This
Addressing is fundamental to every computer network. Most networks require both physical and logical addresses, though--you'll want to understand the difference to really understand the underpinnings of your LAN.
Addressing is fundamental to every computer network. Most networks require both physical and logical addresses, though—you'll want to understand the difference to really understand the underpinnings of your LAN.

This content is excerpted from Barry and Marcia Press’ book, Networking by Example (2000, Que).

If you go to visit your next-door neighbor, you simply go out your door and walk down the street. You don't need to know your neighbor's street address because you know physically where the house is.

If you plan to drive to visit your uncle who has just moved into a new house across the country, though, you're going to need to know the state, city, street, and house number. You'll use the city and state information to decide what highways to travel, and you'll use the city and street address to hone in on the right house. After you've seen the house, you'll be able to drive around in the local neighborhood without referring back to the house address.

Networks operate in exactly the same way. The physical address of a computer on a LAN, fixed in the network interface card by the manufacturer, works like physical knowledge of where a house is. Messages sent on the same LAN segment, corresponding to a house's neighborhood, can get to a specific physical LAN address. If you want to send a message across the country or around the world, though, you need the equivalent of a country, state, city, and street address. In network terms, the address that you need is called a logical address. The key difference between physical addresses and logical addresses is that, although physical addresses are scattered randomly around the world, logical addresses follow a pattern determined by network administrators and stored in routing tables. Routing tables (used by routers) are the equivalent of street maps, guiding messages to their destination.

Current versions of TCP/IP represent logical network addresses to humans as a sequence of four decimal numbers, each ranging from 0 to 255. The four numbers are typically written with dots separating them; a typical TCP/IP address is 64.29.208.36.

Figure 1 shows how messages get from your computer to anywhere in the world using routers and the notion of a default route. Whenever your computer needs to send a TCP/IP message to a computer not part of your LAN, it instead sends it to the computer defined as the default TCP/IP route. That computer (or router) has the responsibility of forwarding the message on a communications link leading to the destination, using routing tables to identify the correct link. In practice, the message goes out by default from your LAN through a computer or router with a link to your Internet service provider (ISP). A router at the ISP looks in the Internet core routing tables, selects the ISPs Internet link most directly connected to the end destination of the message, and sends the message down that link. The forwarding process continues until the message finally arrives on the LAN hosting the destination computer.

Figure 1

Worldwide routing using default routes and routing tables

Take a look at how to explore the way the Internet sends messages through intermediate hops to get from one place to another halfway around the world. A standard TCP/IP utility called traceroute (tracert, under Windows) lets you discover the hops that a message takes in passing from the originating computer to the destination.

  1. Assuming that you have a computer hooked to the Internet, open a Web browser and go to the address http://net.yahoo.com/cgi-bin/trace.sh, which is a service maintained by Yahoo!.

  2. Enter the destination TCP/IP address (we'll use 64.29.208.36).

  3. Click the Send button and wait for the results. The following listing shows the results that we received:

  4. FROM net.yahoo.com TO 64.29.208.36.
    
    traceroute to 64.29.208.36 (64.29.208.36), 30 hops max, 40 byte packets
     1  e-1.4700m-1.3400.yahoo.com (206.132.105.1)  1.556 ms  0.900 ms  1.148 ms
     2  gw3-rtr (206.251.17.3)  0.663 ms  0.848 ms  0.640 ms
     3  hssi1-0.gw4.sce.yahoo.com (216.115.100.249)  3.093 ms  2.898 ms  2.844 ms
     4  peer-geo11.sce.yahoo.com (216.34.143.65)  2.797 ms  1.853 ms  1.672 ms
     5  216.34.142.149 (216.34.142.149)  2.629 ms  2.595 ms  3.004 ms
     6  dcr03-g7-0.sntc01.exodus.net (216.33.146.33)  1.907 ms  2.610 ms  1.851 ms
     7  ibr02-g1-0.sntc01.exodus.net (216.33.147.6)  2.159 ms  2.790 ms  2.693 ms
     8  sprint-sntc01.exodus.net (209.185.249.14)  4.199 ms  4.915 ms  3.961 ms
     9  sl-bb21-sj-13-0.sprintlink.net (144.232.3.113)  5.762 ms  3.925 ms  4.327 ms
    10  sl-bb21-ana-10-0.sprintlink.net (144.232.18.82)  14.805 ms  13.905 ms  13.461 ms
    11  sl-bb20-fw-11-0.sprintlink.net (144.232.18.61)  37.252 ms  36.721 ms  37.167 ms
    12  sl-exodus-8-0-0.sprintlink.net (144.232.11.126)  38.332 ms  38.252 ms  37.585 ms
    13  sl-internapchi-14-0-0.sprintlink.net (144.232.194.2)  40.754 ms  41.057 ms  42.765 ms
    14  border6.ge3-0-bbnet2.dal.pnap.net (216.52.191.74)  41.635 ms  40.038 ms  42.146 ms
    15  datartn-5.border6.dal.pnap.net (216.52.189.170)  42.739 ms  41.483 ms  42.074 ms
    16  port-64-1949700-dal16509b-drtn.devices.datareturn.net (64.29.192.4)  42.494 ms  42.603 ms  86.107 ms
    17  port-64-1953828-zzt0prespect.devices.datareturn.net (64.29.208.36)  42.046 ms  41.785 ms  87.598 ms
  5. Following down from the top of the listing, you see that the first four lines were within Yahoo! itself. The times listed are how long a round trip from the originating computer to the listed point and back took; in lines 1–4, that was about 1–3 milliseconds.

  6. At line 6, the messages have left Yahoo! proper and gone to the Exodus network (Exodus is a large Web-hosting company).

  7. At line 11 the round-trip times have jumped to more than 37 milliseconds, suggesting that a long haul link is being used.

  8. The messages eventually reach the InformIT site hosted at datareturn.net.

After a message gets to the destination computer, the operating system has to deliver it to the proper software running on that computer, the software implementing the service requested by the sender. Network protocols implement the idea of ports, which are identifiers for different message receivers running on a machine. Just as a surface mailing address includes the person to whom the mail is sent along with the street address, a complete network address includes the port number along with the TCP/IP address. The World Wide Web operates using port 80, for example, so connecting to the InformIT Web server on the computer www.informit.com requires the complete address 64.29.208:80. The software that you use almost always takes care of providing the port numbers, but it's important to understand that network addresses are a three-step process: Logical addresses let the message travel to the destination LAN; physical addresses (derived from the logical address) get the message onto the destination computer; and port addresses get the message to the right software.

Source

This article is excerpted from Barry and Marcia Press' book, Networking by Example (Que, 2000).

  • + Share This
  • 🔖 Save To Your Account

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020