Tutorial: How do IP packets and MAC Frames go together?

It is important to understand how packets and frames are related, and in particular, IP packets vs. Ethernet or MAC frames.

Simple network example. Routers move packets from one circuit to another.

Packets are for networks. A packet is a block of user data, such as a piece of an e-mail message, with a network address on the front. The network address is the final destination. The standard for network addresses is IP.

Network equipment like routers receive an IP packet on an incoming circuit, examine the indicated destination IP address, use it to make a route decision, then implement the decision by forwarding the packet to the next router, on a different circuit.

A frame is a lower-level idea. Frames are used to communicate between stations on the same circuit. The circuit may have multiple stations physically connected onto it, like a wireless LAN, a few stations connected by a LAN switch, or only two stations like a point-to-point LAN cable. Each station has a Media Access Control (MAC) address, sometimes called a hardware address, link address or Layer 2 address.

A frame has framing to mark the beginning and end, sender and receiver MAC addresses to indicate the stations on the circuit, control information, a payload and an error detection mechanism.

The frame is transmitted on the circuit, and all stations on the circuit receive it. If an error is detected at a receiving station, the frame is discarded and might have to be retransmitted somehow.

If no errors are detected, the receiver compares the destination MAC address on the received frame to its own MAC address, and if they are the same, processes the frame, extracting the data payload and passing it to higher level software on the receiver.

If the MAC addresses are not the same, the receiver ignores it and waits for the next one.

The end result is that the payload in the frame is communicated to the correct station on the same circuit, with no errors.

Packet with its IP address vs. frame and its MAC address

The main purpose of packets is to append an IP address to your data. The IP address is used by network equipment to make route decisions: to relay the packet from one circuit to a different circuit. This is accomplished by receiving the packet then transmitting it to a different machine, usually the next router in the chain.

To actually transmit a packet to another router, the packet is inserted as the payload in a frame, then the frame is broadcast on the circuit that connects to the next router.

Notice that there are two addresses: the IP network address and the MAC address.

The IP address on the packet is the final destination, and so does not change. The MAC address on the frame indicates the destination on the current circuit, and so is changed as the data is forwarded from one circuit to another.


This and related topics are covered in:

CTNS Certification Package

CIPTS Certification Package

Instructor-Led Course 101
Telecom, Datacom and Networking for Non-Engineering Professionals

DVD-Video V3 Fundamentals of Datacom and Networking

Telecom 101 Textbook

Tutorial: Packetized Voice

This is Section 2.9.1 of the new Telecom 101, 4th edition
print and ebook available January 2016



Brought to you by BOOT CAMP
January 25-29 2016 – Silicon Valley


– – –

This diagram provides a very high-level block diagram view of the processes involved in communicating speech in IP packets from one person to another:

Voice in IP Packets
Voice in IP Packets End-to-End

Starting on the left, commands from the speaker’s brain cause combinations of lungs, diaphragm, vocal cords, tongue, jaw and lips to form sounds.

A microphone is positioned in front of the mouth and acts as a transducer, creating a fluctuating voltage which is an analog or representation of the sound pressure waves coming out of the speaker’s throat.

This is fed into a codec, which digitizes the voltage analog by taking samples of it 8,000 times per second and coding the value of sample into binary 1s and 0s. Typically, the value of each sample is represented with a byte, meaning 64 kb/s to be transmitted.

Approximately 20 ms worth of coded speech is taken as a segment and placed or encapsulated in an IP packet.

The IP packet begins with a header, which is control information, the most interesting part being the IP address of the source telephone and IP address of the destination telephone.

IP packets are moved from the source to the destination over a sequence of links.

The links are connected with routers, which relay the packets from one link to the next.

Lower level functions such as framing and link addressing are usually performed following the IEEE Ethernet and MAC standards.

At the lowest level, the links are physcially implemented with Category 6 LAN cables, DSL modems, Cable modems, fiber optics and radio systems.

At the destination, the bits are extracted from the IP packet and fed into a codec, which re-creates the analog voltage.

This voltage drives a speaker, which re-creates the sound pressure waves, which travel down the ear canal to the inner ear, causing hairs on the cochlea to vibrate, triggering neural impulses to the brain, making the listener think they are hearing something.

– – –

It’s important to note that the voice packets are communicated directly from one telephone to the other over the IP network.
The packets do not pass through a CO telephone switch, for example.

– – –

For a full explanation of all of the technologies mentioned in this tutorial, register for BOOT CAMP in Sunny Silicon Valley in January!


is Core Training Course 101 Telecom, Datacom and Networking for Non-Engineering Professionals
and VoIP Course 130 Understanding Voice over IP
in one week at a discounted price.

Get this career-enhancing boost.  Check it out!

How to implement a WiFi range extender for $20

A volunteer project to set up WiFi in a 150-year-old building with stone walls that I did recently required repeaters, also known as range extenders.

I ended up writing detailed instructions to get a popular WiFi access point / router on Amazon working as a repeater… and thought you might find this useful to extend WiFi coverage in your home or small office.


Even if you don’t need to extend your WiFi coverage, understanding the configuration, including the IP addresses, DHCP, subnets and all the other items covered in this tutorial is career-enhancing knowledge.

The IP addressing story including DHCP is covered in
Online Course 2213 “IP Networks, Routers and Addresses”
(part of the CTNS Certification Package), as well as

Instructor-Led Course 101, the Telecom, Datacom and Networking for Non-Engineers textbook, and DVD-Video Course V4 Understanding Networking 1.

The requirement was to provide WiFi coverage in a 150-year old building with thick stone walls. The Internet connection (DSL) was in the basement, and coverage was required to the fourth floor.

We initially looked at pulling a cable to the fourth floor, but the stone walls made wireless a no-brainer.

The WiFi signal produced by the ISP’s Customer Edge device, which contains the DSL modem, a router, switch and WiFi Access Point, did not reach very far.

So WiFi repeaters, sometimes called Range extenders would be required. This had to be implemented with encryption of data over the air for information security.

Special-purpose range extenders can cost $300 each. After a bit of research, I bought these $20 units on Amazon.

They support “300 Mb/s” 802.11n, and most importantly, implement the Wireless Distribution Service (WDS) with WPA2 airlink encryption, which is needed for the repeater function with security.

Here is the product link on Amazon.   I don’t get a commission.

The instructions weren’t very complete, so I looked at the product’s Q&A section on Amazon and found instructions.
But those instructions turned out to be not quite right. And being an Engineer, I couldn’t help but proposing correct instructions…

These instructions assume you are connecting the WiFi access point / router pictured, TP-LINK model TL-WR841N, to any WiFi with a working Internet connection.


[example] = example values used during my setup.
Yours might be a bit different.
SOURCE-AP = the access point / router generating the wireless signal you want to repeat. This is often supplied by your ISP.
REPEATER-AP = the access point / router repeating the wireless signal, the one that we are setting up.
SOURCE-NET = the SSID (network name) of the wireless signal you want to repeat.
REPEATER-NET = the SSID (network name) of the repeated wireless signal.
GUI = Graphical User Interface.
This is the access point / router’s control panel.

Before starting, gather the following information:
– The LAN/wireless side IP address of the SOURCE-AP GUI. []
– The username and password for the SOURCE-AP GUI.
[admin, admin]
– The subnet the SOURCE-AP is using on the LAN/wireless side. [192.168.3.x]
– The encryption type and password [WPA-2 PERSONAL, xxxx]
– The channel the wireless signal to be repeated is on. [3]

If you don’t know the channel, you can find out during the setup below. However, it is preferable to log in to the SOURCE-AP GUI and set the channel to 3 instead of “auto” so it does not change, and uses an unpopular channel likely to have less interference.

To determine the LAN/wireless IP address and subnet of the SOURCE-AP, look at the IP address and default gateway of a device directly connected to the SOURCE-AP. (Open the Network connections folder, click change adapter settings, and view status and then details in Windows). The value in the default gateway field is the IP address of the SOURCE-AP GUI. The part of the address common to the default gateway and the device is the subnet ID.

Do this setup and get it working somewhere comfortable near the SOURCE-AP. Once it’s working, you can place the repeater anywhere near an electrical outlet.

Here we go:

1. Plug the power into the REPEATER-AP. If any settings have already been changed on the device, press and hold the reset button on the back for ten seconds until all lights are illuminated to indicate reset happening. Reset is not necessary if the unit is fresh out of the box.

2. Plug a PC into a LAN port on the REPEATER-AP with the supplied LAN patch cable. I used my laptop. Make sure the LAN adapter is set to get an IP address automatically. (Open the Network connections folder, click change adapter settings, and view properties in Windows). Make sure the LAN adapter is the only one enabled. Disable the wireless adapter.

3. Open a browser and go to http://tplinklogin.net . This gets you to the GUI of REPEATER-AP, initially The default username, password is admin, admin. Don’t do the quick setup.

4. Click “Wireless” on the left column menu.
On the Wireless Settings page that appears:
a. Under the dropdown list for “Channel”, select the channel the wireless signal to be repeated is on. [3] If you don’t know, skip this step and the unit will force you to select the correct one after the “Survey” step below.
b. Click the “Enable WDS bridging” checkbox.
c. Click “Survey”. A list of SSIDs appears. Click “connect” on the one that is SOURCE-NET. [GROUND] All of the fields are automatically populated except for the password.
d. Enter the password and click Save. Wait ten seconds for the processing to finish.
e. At the top of the page beside Wireless Network Name, enter a name for REPEATER-NET [R1] and click Save.

5. Click “Wireless Security” on the left column menu. Select Personal WPA2-PSK, AES encryption and enter a password for REPEATER-NET.

6. Click “DHCP” on the left column menu. Click the DHCP disable radio button. Click Save. Ignore the reboot warning.

7. Click “Network” on the left column menu.

8. Click LAN. Change the IP address to one in the SOURCE-AP subnet that is not being used by any other device and click Save []. A reboot warning will appear. Click OK and let the unit reboot.

9. The address in the browser will magically change to the IP address you entered in the previous step. This is the new IP address for the GUI on REPEATER-AP. You will be prompted to log in again. The status screen will appear. Under Network, click the WAN MAC menu item on the left.

You should also now have Internet through REPEATER-AP!
Open  news.google.com in a new tab in your browser to verify.
Wireless devices can now connect to REPEATER-NET.
Wired devices can connect to REPEATER- AP.
Both get Internet access through SOURCE-AP.
Ain’t life grand?

10. To avoid problems with dynamic addresses and timeouts, make the IP address of REPEATER-AP static.
Open a new tab in your browser. Enter the address of the SOURCE-AP GUI [] and log in. Find the screen that lets you assign static IP addresses. The SOURCE-AP could be any brand of device; it is often supplied by your ISP. The function might be called “DHCP reservations” or “IP address reservation”. Make a new entry, with the WAN MAC address displayed in the REPEATER-AP GUI and the REPEATER-AP IP address you entered in Step 8.

I actually set up a chain of four of these units to provide wireless coverage from the basement to the fourth floor of a 150-year-old building with stone walls.  And it worked!

Good luck!

P.S. Don’t forget to go back in to REPEATER-AP and change the password. The menu item is hiding under System Tools on the left.

Notice required by the legal department: This information is provided as general background information only. Design and implementation of a communication system requires professional advice to identify and resolve issues specific to that particular system, including but not limited to performance, availability and security issues. Additionally, while we have strived to be as accurate as possible, we make no representation or warranty that the information provided is 100% accurate. This information is not to be relied upon as professional advice, nor is it to be used as the basis of a design. Users of this information agree to hold the author and Teracom Training Institute Ltd. harmless from any liability or damages. Acceptance and use of this information shall constitute indication of your agreement to these conditions.

Tutorial: What is a Port?

The term “port” crops up in IP networking, particularly in the context of rules in routers and software firewalls. One hears about “opening a port on a firewall” and “TCP ports” and “UDP ports”.

So just what is a “port”, exactly?

Like about 40% of the words in English after the Norman invasion of southern England following the Battle of Hastings in 1066, the English word “port” is French. Une porte is a door.

Of course, the French got it from Latin: porta (gate, door). The Latin word portus (port, harbor, and earlier, entrance, passage) and the Greek word poros (journey, passage, way) are obviously related.

In the computer hardware business, a port is a doorway into the machine: a jack, where a cable can be connected. In days past, there were serial ports and parallel ports on PCs. Today, we have USB ports and LAN ports. Technicians talk about connecting customers to ports on access equipment, for example, equipment with banks of modems.

In the computer software business, a port can be thought of as a doorway into the software running on the machine, a passageway to a specific computer program running on the computer.

Why is this necessary? Since there can be many computer programs (a.k.a. applications, apps) running on the same computer at the same time, when trying to communicate to a particular program, we require a mechanism to identify it, a way of telling the host computer to which program to relay our communications.

For example, we all know that it’s possible to have multiple applications using the Internet connection on a computer at the same time. Think of an Outlook email program and a Chrome browser program running at the same time on a PC connected to the Internet.

When data arrives at this computer, how does the computer know whether this data is for the email program or for the browser program? And how does it convey the data to the correct program?

The answer: every program is assigned a number called a port number. Your browser is assigned port 80, for example.

Here’s how it works: the sending program creates a message and tags it with the port number identifying the program it wishes to communicate with on the destination computer. This is put in a packet that is tagged with the network address (IP address) of the destination host computer and transmitted. When the packet arrives at the destination computer identified by the IP address, this receiving computer looks at the destination port number and parks the message in a memory space associated with that port number. The program on the destination computer assigned that port number is constantly checking that memory space to see if there is anything new waiting for it.

The result is the ability for a computer program running on one computer to communicate with a specific computer program on another computer.

Visiting our warehouse service a couple of weeks ago, I was struck by the analogy possible between the idea of computer ports and a multi-tenant warehouse, so whipped out my Android smartphone and took a picture with the totally cool panoramic feature.

The warehouse is analogous to the host computer. It has a single street address. It handles goods for multiple users. Users have space allocated inside the warehouse. The warehouse has (on this side) six ports, also called loading docks. Each port has a number. A user can be assigned a port, either temporarily or permanently.

To communicate goods to that user, they’re carried in a shipping container (IP packet) on a truck (Ethernet frame) over a road (LAN cable) to the warehouse at its street address (IP address). To get the contents of the shipping container delivered to the correct user, the truck is backed up to the appropriate loading dock (port) identified by its door number (port number) and the contents of the container are unloaded to the space behind that port.

In computer communications today, the port number is 16 bits long, and the source and destination port number are populated at the beginning of the transport layer header, Layer 4 of the OSI model. The world’s most popular standard protocols for implementing the transport layer are the TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).

Hence, one hears of “TCP ports” and “UDP ports”, particularly when configuring rules for packet forwarding on a router or firewall. When one “blocks” a port, that means that communication to a particular computer program is denied. When one “opens” a port, communication to that computer program is being allowed.

Standard practice is to allow communications only to specifically-identified ports and deny all other communications.

The port number of the application and the IP address of the host computer concatenated together is called a socket in UNIX and IP and is called a transport service in the OSI model. The result is the ability to identify the specific source computer program on one computer and the specific desired destination computer program on a different computer.

I hope you’ve enjoyed this tutorial! This discussion is covered in the following Teracom training courses:
Instructor-led Course 101: Telecom, Datacom and Networking for Non-Engineering Professionals, Lesson 12.17
Instructor-led Course 110: IP, VoIP and MPLS for the Non-Engineering Professional, Lesson 8.25-8.27
DVD-Video Course V4: Understanding Networking 1
DVD-Video Course V5: Understanding Networking 2, Lesson 2.11
Online Course L2112 The OSI Layers and Protocol Stacks, Lesson 8
Online Course L2113 IP Networks, Routers and Addresses, Lessons 7 and 9

Tutorial: How to Use Cellular as Backup Internet Access When Your DSL, Cable or Fiber Internet Dies

Cellular as Emergency Internet Connection Backup

The Internet connection at your office dies. Lights on your modem are flashing in a strange pattern. You call the ISP, and they quickly diagnose that the modem power supply has failed, and they will overnight you a replacement. Presumably you are not the first person to have this problem with that modem.

So how do you continue to operate while you are waiting for the replacement power supply? It’s hard to run your business without e-mail and ordering and administration systems, which are all accessed via the Internet.

If you want availability, you need two connections to the Internet, so if one fails you are not out of business. We go over this in the lesson “Mature Competitive Carrier Network: Regional Rings, POPs and MANs”, slide 3.17 of Course 101, Telecom Datacom and Networking for Non-Engineering Professionals, and mention it in pretty much every other course.

A large business will be a station on a Metropolitan Area Network, which is a ring, meaning two connections to the Internet for that business and automatic reconfiguration in the case of one failing. But this is expensive… the second connection is not free.

Small and medium businesses usually have a single DSL or cable modem connection to the Internet. When that fails, connectivity to email, ordering and administration servers is impossible, and many businesses these days would be “dead in the water” until the ISP fixes the problem with their hardware.

Unless you have an Android smartphone, a good “data” plan and a laptop with WiFi running Windows.

The scenario described happened at our office last week. Since many of our customers might find themselves in a similar situation – even at home – I thought I’d share the quick and painless solution I came up with. Even if you’re not likely to need this solution, understanding how it works will no doubt sharpen your understanding of the devices involved and their functions.

In this tutorial, I will use the technology in our office: 16 Mb/s DSL, Android smartphone and Windows laptop. The solution is equally applicable to an Internet connection using a cable modem or if you are one of the lucky few, an Internet connection via fiber.

For the smartphone and laptop, there may be equivalent functions on Apple products, but as I am allergic to Apples, we don’t have any in the office. I’m posting this tutorial on our Facebook page, our Google+ page, or our blog; I invite someone better able to tolerate Apple products to leave a comment whether and how the iPhone and MacBook can perform the required functions.

Figure 1: Normal network setup

Figure 1  illustrates the normal network setup in our office, a typical configuration for networking at a small or medium business. On the left is the access circuit to the Internet Service Provider (ISP), terminating on a modem in our office.

The modem is contained in a box that also includes a computer and an Ethernet switch. This box is more properly called the Customer Edge (CE).

The computer in the CE runs many different computer programs performing various functions: Stateful Packet Inspection firewall, DHCP server offering private IP addresses to the computers in-building, DHCP client obtaining a public IP address from the ISP, a Network Address Translation function between the two, routing, port forwarding and more.

In-building is a collection of desktop computers, servers and network printers. These are connected with Category 5e LAN cables to Gigabit Ethernet LAN switches, one of which is also connected to the CE.

When a desktop computer is restarted, its DHCP client obtains a private IP address and Domain Name Server (DNS) address from the DHCP server in the CE. The private address of the CE is configured as the “default gateway” for the desktop by Windows.

When a desktop computer wants to communicate with a server over the Internet, it looks up the server’s numeric IP address via the DNS, then creates a packet from the desktop to the Internet server and transmits it to its default gateway, the CE.

The NAT function in the CE changes the addresses on the packet to be from the CE to the Internet server and forwards the packet to the ISP via the modem and access circuit. The response from the Internet server is relayed to the CE, where the NAT changes the destination address on the return packet to be the desktop’s private address and relays it to the desktop.

The solution for restoring Internet access after the CE died is illustrated below.

Figure 2 Restored Internet Access via Cellular

An Android smartphone and a laptop running Windows were used to restore connectivity to the Internet without making any changes to the desktops, servers or network printers.

First, I took my Samsung/Google Nexus smartphone running Android out of my pocket and plugged in the charger.

Then on its menu under Settings > more > Tethering & portable hotspot > Set up Wi-Fi hotspot, I entered a Network SSID (“TERACOM”) and a password, clicked Save, then clicked Portable Wi-Fi hotspot to turn it on.

The smartphone is now acting as a wireless LAN Access Point, just like any other WiFi AP at Starbucks, in the airport or in your home.

At this point, the smartphone is the CE device, performing all of the same functions that the DSL CE device had been before it died: firewall, DHCP client to get a public IP address from the ISP (now via cellular), DHCP server to assign private IP addresses to any clients that wanted to connect (now via WiFi), NAT to translate between the two and router to forward packets.

Just as the DSL CE equipment “bridged” or connected the DSL modem on the ISP side to the Ethernet LAN in-building, allowing all the devices on the LAN to send and receive packets to/from the Internet via DSL, the smartphone “bridges” or connects the cellular modem on the ISP side to the WiFi wireless Ethernet LAN in-building, allowing all the devices on the wireless LAN to send and receive packets to/from the Internet via cellular radio.

The remaining problem was that none of the desktops or servers had wireless LAN cards in them, so they could not connect to the smartphone AP and hence the smartphone’s cellular Internet connection.

What was needed was a device to “bridge” or connect the wired LAN to the wireless LAN in-building. By definition, this device would need two LAN interfaces: a physical Ethernet jack to plug into the wired LAN, plus a wireless LAN capability.

Looking around the office, I spotted two devices that fit this description. One of them was my laptop, with both a LAN jack and wireless LAN.

I fired up the laptop, plugged it into an Ethernet switch with a LAN cable, and in the Network and Sharing Center, clicked Change Adapter Settings to get to the Network Connections screen that showed the two LAN interfaces.

I enabled both the wired and wireless LAN interfaces. Then right-clicking the Wireless Network Connection icon, selected the TERACOM wireless network and entered the password.

Once that was successfully connected, I selected the two adapters in the Network Connections screen, right-clicked and chose “Bridge Connections”. A message saying “Please wait while Windows bridges the connections” appeared, then an icon called “Network Bridge” appeared, and after a few seconds, “TERACOM” appeared as well.

My laptop was now acting as an Ethernet switch, connecting the wired LAN to the smartphone’s wireless LAN.

Each of the desktops, servers and network printers in the office had to be rebooted so they would run their DHCP client again, obtaining a private IP address and DNS address from the smartphone AP, and be configured so the smartphone was the “default gateway” in Windows.

After rebooting my desktop computer, it had Internet access over the wired LAN, through the wired Ethernet switch to my laptop, to the smartphone via WiFi then to the ISP over cellular.

After rebooting the other desktops and servers, all had Internet access again, with no changes to the configuration of the desktops or servers.

This took about 20 minutes to get up and running, and we were back in business. Running a bandwidth test on speedtest.net, I found we had exactly 5 Mb/s connection to the Internet via cellular.

Obviously my cellular service provider limited the connection to 5 Mb/s in software – but who’s complaining? 5 Mb/s is more than three times as fast as a T1, which cost $20,000 per month when I first started in this business 20 years ago.

I hope you found this tutorial useful, either as a template for your own emergency backup Internet connection, or simply as a way of better understanding the devices, their functions and relationships.– EC

Note 1: You must verify your billing plan for “data” on your cellular contract before doing this. I have 6 GB included, which means basically unlimited, and that includes the WiFi hotspot traffic. Make sure you have something similar, to avoid receiving a bill for $10,000 for casual “data” usage.

Note 2: As always, this tutorial is provided as general background information only. We do not guarantee it will work for you. Each situation is unique and requires professional advice to identify and resolve issues including but not limited to performance and security. This tutorial is not professional advice. But I hope you have found it valuable.

Note 3: I might have been able to implement this without the laptop. If you’d like to know that, or what was the other device I could have used to bridge the wired and wireless LAN in-building, or suggest how this could be done with Apple products, please leave a comment.

Holy Cow! Baby Born June 6 Weighed 340 Trillion Trillion Trillion Pounds

IPv6: 340 Trillion Trillion Trillion Addresses

Happy birthday IP version 6 – you finally arrived!

World IPv6 Launch Day was June 6, 2012 (about 12 years later than originally planned).

Hundreds of companies permanently enabled IPv6 protocol stacks on their servers on June 6, allowing the small percentage of devices (primarily Android smartphones) that had applications, operating systems and carriers all supporting IPv6 to communicate IPv6 packets end-to-end.

The address fields in IPv6 packets are 128 bits long, meaning 2 to the power 128 addresses.

That’s 340,282,366,920,938,463,463,374,607,431,768,211,456 addresses.

This is a number beyond human comprehension.

Forget about questions like “how long is eternity going to last for”, “how far is it to the other side of the universe?”, “what happened before the Big Bang”, “where did all that energy come from in the first place?”, “who is God’s God?, and “who is God’s God’s God?”; we humans are not capable of understanding 340,282,366,920,938,463,463,374,607,431,768,211,456.

Teracom Instructor Richard Olsen did some calculations to help us grasp this number, including calculating how many grains of sand there are in the Earth’s crust. (Can you tell Richard is an Engineer?)
I’ll let Richard tell the story in his own words:

“I was teaching at Motorola University circa 1998 and in discussing IPv6, a student said, ‘You know, there are enough IP addresses in IPv6 for every square inch of the Solar System.’ I thought, that’s crazy, he’s out of his mind. I just said, ‘Wow!'”

“Anyway, while flying home I thought, I wonder how many square inches there are in the Solar System anyway.  I think I’ll figure that out when I get home.”

“First I had to decide what ‘square inches of the Solar System’ meant. I decided to use the surface area of all the planets in square inches. That didn’t even come close to the number of IP addresses in IPv6.

I decided to throw in the Sun because that sucker is really big. Didn’t even come close. Then I decided to use the square inches inside the orbit of Pluto (this was before Pluto got kicked out of the Planet Club – poor Pluto!). Still didn’t even come close.”

“Finally, I’d always heard “IPv6 has enough IP addresses for every grain of sand on all the beaches on Earth”. By this time, I knew that couldn’t be. So I finally decided to calculate IP addresses per grain of sand over the entire surface of the Earth, including under the oceans, one mile deep assuming 10,000 grains of sand per cubic inch.”

“Answer: an astounding 664 BILLION IP addresses per grain of sand. Now, that’s a big number!!”

“The most commonly quoted number of stars in a galaxy is 100 billion and the most commonly quoted number of galaxies in the Universe is 100 billion. Assuming there are 10 planets around every star, then there are 10 x 100 x 100 billion billion planets in the Universe.

So how many IP addresses per planet in the entire Universe? Answer: 3.4 quadrillion IP addresses per planet!”

“The number of IP addresses in IPv6 is truly a prodigious number.”

I’ve told Richard’s story many times in classes. Over the years, like all good stories, it became embellished, and the story became
“666 billion addresses per grain of sand in the Earth’s crust to a depth one mile deep”, and “more addresses than there are square inches on the sphere that encloses the solar system out to Pluto.”

After reading Richard’s story again recently, I figured I had better verify the last claim, so I asked Richard to calculate the number of square inches on the sphere that encloses the solar system out to Pluto and divide that into 2**128.

It turns out my embellishment was not wrong: there are 5 millon addresses per square inch on the sphere that encloses the solar system out to Pluto.
Hope this all helps you grasp the number 340,282,366,920,938,463,463,374,607,431,768,211,456.

New Online Course L2114: MPLS and Carrier Networks

MPLS and Carrier Networks
MPLS and Carrier Networks
is a comprehensive training course designed to build a solid understanding of carrier packet networks and services, the terminology, technologies, configuration, operation and most importantly, the underlying ideas… in plain English.

This course can be taken by both those who need simply an overview and introduction to the fundamentals of carrier packet networks and MPLS, and by those who need to get up to speed and establish a solid base that project or job-specific knowledge can be built on.

We’ll cut through the buzzwords and marketing to demystify carrier packet networks and services, explaining Service Level Agreements, traffic profiles, virtual circuits, QoS, Class of Service, Differentiated Services, integration, convergence and aggregation, MPLS and other network technologies, and how they relate to TCP/IP without bogging down on details.

You will gain career- and productivity-enhancing knowledge of the structure, components and operation of carrier packet networks and services, how they are implemented, packaged and marketed by carriers and how they are used by government, business… and other carriers.

Tutorial: TCP/IP over MPLS

TCP/IP over MPLS Protocol Stack

Please click here to see the full tutorial on its web page, with the necessary diagram…

We’re getting ready to release another Online Course at the end of March: L2014 “MPLS and Carrier Packet Services.”

As a sneak preview, this newsletter’s free tutorial is part of Lesson 11 “TCP/IP over MPLS” from that course.

NOTE: You may find this tutorial a bit overwhelming, landing smack on your computer screen with no preparation, like a parachutist whose chute didn’t open landing in a cow field.

In the Online Course “MPLS and Carrier Packet Services”, there are TEN lessons building up to this one.

We’re actually going to be recommending at least two modules: “The OSI Layers and Protocol Stacks” and “IP Packet Networks, Addresses and Routers” as prerequisites… so that would be at least THIRTY-FIVE lessons building up to this one.

So… if you are already familiar with the OSI Layers and protocol stacks, and IP packets and LANs, you’ll find the following lesson easier to follow.

If you’re not already familiar with those pre-requisites, then you might want to watch some other free tutorials first:
Video Tutorial VT-3 “Packets, Frames, Addresses and Routing”, Video Tutorial VT-4 OSI Layers: The FedEx Analogy, and the “Datacom and Networking Fundamentals” section of our free online tutorials.

The tutorial is part of the text and one graphic from Lesson 11 “TCP/IP over MPLS”. The Online Course when released at the end of March will have extensive animations following along with a voiceover of the text. Enjoy!

Please click here to see the full tutorial on its web page, with the necessary diagram…

Net Neutrality – Foolish, ignorant or disingenuous?

The popular press and news feeds have been full of stories about advocates of “net neutrality” testifying to congressional committees, lobbying the federal government and railing against the big ISPs over the past while.  Not much mention of arguments against net neutrality, though.  It’s hard to decide whether those arguing for net neutrality are foolish, ignorant or disingenuous.  
Let’s begin with some definitions. When someone demands “net neutrality”, they usually mean that the network must not discriminate between applications being carried in IP packets; that identical transmission characteristics (throughput, delay, number of errors, etc.) are to be provided for all packets regardless of what is being carried in them. They claim (correctly) that this is not the case at present, that the network service provider is “throttling” certain applications, “slowing down” or “shaping” traffic and that this, in their opinion, must stop. They sound the rallying cry “the net should be free”. 
What a load of hogwash.
But are these arguments foolish, ignorant or disingenuous?  Hard to decide: 

Continue reading “Net Neutrality – Foolish, ignorant or disingenuous?”

If you should know the answer to these questions about MPLS, but don't, this is the course for you:

Course 110 IP, VoIP and MPLS for the
Non-Engineering Professional
is the “next” course in our Core Training series, covering only newer technologies: virtually all aspects of IP networks and services.

Designed for non-engineers, this training course will give you the solid, vendor-independent foundation knowledge necessary to deal with IP telecom network projects and IP voice and data applications with confidence. 

If you want to know the answers to these questions, or you should know the answer to these questions, but don’t, this is the course for you: 
When an organization like AT&T or TELUS says it “has an MPLS network” and sells “MPLS services”,
– What exactly does that mean?
– Just what is an MPLS service anyway? What does it do? Who uses it? What for?
– Can you tell me two different ways MPLS service is different than Internet service?
– What benefit does that bring to the customer?
– Does it cost more? Better yet, is it costed the same way as Internet service?
– How do you connect to MPLS service?
– What is the technology and business environment for MPLS service going to in 2015?
I think you’ll agree that knowledge set is career-enhancing knowledge. We often tell people “if you want a guaranteed job, be an expert in MPLS”. Here’s a great place to start! 

And this is only one part of this intensive, three-day leadership and technology development course!
You will also learn the workings of SIP and softswitches; the nuts-and-bolts of packetized voice and its protocols; Layer 2, VLANs and 10 Mb/s – 40 Gb/s Ethernet services; IP routing; the ISP business and more.

In three days, you’ll get up to speed, demystify jargon and buzzwords, fill the gaps, understand the technologies, the underlying ideas and how it all fits together… knowledge you can’t get from trade magazines or salespeople. 

This investment will be repaid many times over, eliminating frustration at buzzword-filled meetings, increasing your efficiency, and helping ensure you make the right choices. IP, VoIP and MPLS is an essential knowledge set going forward in telecommunications. 

This professional training course will give you the solid, vendor-independent foundation necessary to deal with IP telecom network projects and IP voice and data applications with confidence. 

Get this career-enhancing knowledge today! more info