Discovering computer networks: hands on in the Open Networking Lab
Discovering computer networks: hands on in the Open Networking Lab

Start this free course now. Just create an account and sign in. Enrol and complete the course for a free statement of participation or digital badge if available.

Free course

Discovering computer networks: hands on in the Open Networking Lab

2.3 Networks of networks

In this part you will look at the internet-facing side of the home gateway. In particular, you’ll look at its IP address and subnet mask, which are very different from those on the home gateway side. This leads to an exploration of what is on the ‘other side’ of the gateway. For shorthand, this is usually referred to simply as ‘the internet’, but the internet is actually a vast network of networks. Networks are linked to other networks by routers. The router’s job is to transfer data packets from one network to another, according to the packet’s destination IP address. The important concepts of latency and hopping are introduced.

Now watch the video below, which is about 6 minutes long.

Networks of networks

Download this video clip.Video player: 13_network_of_networks.mp4
Skip transcript

Transcript

Near the start of this session, I showed you that the gateway has a side that faces the internet. You can see that the IP address of the internet-facing side of the gateway is very different from the one on the side that faces the local network. The internet-facing side doesn’t have the usual three numbers, 192.168.0, at the start, but instead has an address starting with 99. This means that the internet-facing side of the gateway is on a different network from the side that faces the local network.

One of the jobs of a router is to transfer data from one network to another, and a gateway is, among other things, a router. Notice also that the subnet mask on the internet-facing side of the gateway is different from the ones we’ve already seen. This one is 255.0.0.0, which is very different from 255.255.255.0.

Now the gateway address shown here, 99.0.0.1, doesn’t refer to this gateway, the one that we’ve been looking at on the home network It refers to the gateway at the internet service provider. The internet service provider is the company that provides a domestic customer, or a business customer, with access to the internet.

The internet service provider has a router, or possibly several, serving customers and their own home networks. So, the gateway on our home network is also part of the internet service provider’s network. In our example, the internet-facing side of the home gateway has the address 99.0.0.2, and we could guess that other home networks served by this internet service provider would have addresses such as 99.0.0.3, 99.0.0.4, and so on.

But the internet service provider’s router is also part of another network, usually a network of core routers, which might serve other internet service providers, or other large-scale users. Core routers are high-speed routers carrying traffic on the internet backbone.

So you can see the internet is a network of networks. Because it’s a network of networks, there’s often more than one route from A to B. This gives the internet some of its robustness, because if part of the internet stops working properly, there’s usually an alternative route that can be used.

The internet addressing system is really a system for getting data from one network to another. It doesn’t specify a route, just a destination, and there’s no guarantee that all the data packets of a data transfer will go by the same route.

We’ve already seen that a network address consists of a part that represents the network and a part that represents the device. As a packet of data travels from network to network, only the network part of the address is used, because routers transfer data from network to network not from device to device. That’s why there always has to be a subnet mask, that travels with the data packet, so that routers along the way know which part of the destination address is the network part. Only when the packet gets to its final network does the device part of the address get consulted, and on the final network it’s actually a switch that makes the delivery, although on home gateways the switch is built in to the gateway.

This picture is complicated a bit by the fact that some IP addresses can only be used on private networks. The 192.168 class of addresses belongs to those that can only be used on private networks. We’ll see more about private networks later.

But there has to be a certain amount of trickery to get data with private addresses across the internet. And we’ll look at that later.

When you think of a packet of data travelling from network to network, you have to think of it as travelling from router to router in a series of hops, as they are called. Usually a packets has a maximum number of hops specified, so if the maximum is reached before the packet gets to its destination, the packet is discarded. This prevents the internet getting clogged up with data that has never been delivered, for example if the destination network no longer exists. But it also means that delivery of a packet is not guaranteed.

Each router in the internet has to do a certain amount of processing work to transfer a packet from one network to another. The router has to look at the destination address, and it has and decide which router, of the ones it’s connected to, to forward the packet to. Sometimes a queue of data packets can build up at a router. So routers can introduce delay, and therefore contribute to the latency of the data transfer. Roughly speaking, the latency is a measure of the delay between sending some data and its arrival at the destination. On the internet, data can travel quite slowly compared with, say, radio, where transmissions travel at the speed of light.

The multitude of networks that make up the internet use many underlying communication technologies. Some use optical fibres, others use copper wires or coaxial cables. Sand some use wireless. In many cases the networks that make up the internet already existed before the internet came into widespread use. For example, in many countries there was already an extensive network of optical fibres carrying data traffic and telephone calls between major cities, before the internet arrived. So the introduction of the internet was not so much the introduction of a new set of networks, but the introduction of a new addressing system that could be used across existing networks.

End transcript
 
Interactive feature not available in single page view (see it in standard view).

Now try to answer the questions below.

Activity 3 Test yourself

10 minutes

  • 1. What aspect of data transmission using the Internet Protocol is likely to cause problems for ‘real-time’ exchange such as a web conference or video call?

  • The latency of the exchange can cause awkward gaps when neither side knows whether the other side is speaking. Also, the lack of guaranteed delivery could be a problem (although the loss of the odd packet is not disastrous for a conversation).

  • 2. The packets of a data transmission do not necessarily arrive at the destination in the right order. Why?

  • Packets can arrive out of sequence because they do not necessarily all take the same route. Some routes might involve more hops than others. More hops mean more routers visited, and routers introduce delay. An early packet could take a longer route than a later packet, and therefore arrive after it.

  • 3. If packets arrive out of sequence, they are assembled into the correct sequence by a protocol known as Transmission Control Protocol (TCP) at the destination computer. Why would it not be a good idea to use TCP for a ‘real-time’ exchange?

  • Using TCP would increase the delay (or latency). It would take time to assemble packets in the right order, and TCP might wait too long a time for a packet that never arrives.

  • 4. The video shows an IP address of 99.0.0.1 being used for the gateway of the internet service provider (ISP). A subnet mask of 255.0.0.0 is used with this address. Comment on the number of devices this network could support, and whether there would be a problem using the kind of fault-finding approach used in Section 2.2.

  • Potentially there could be very many devices. With a 255.255.255.0 subnet mask, only the last number of the IP address is available for devices. With 255.0.0.0, the last three numbers of the IP address are available for devices. This would make fault-finding very difficult if every device had to be individually investigated.

OPNL_1

Take your learning further

Making the decision to study can be a big step, which is why you'll want a trusted University. The Open University has 50 years’ experience delivering flexible learning and 170,000 students are studying with us right now. Take a look at all Open University courses.

If you are new to university level study, find out more about the types of qualifications we offer, including our entry level Access courses and Certificates.

Not ready for University study then browse over 900 free courses on OpenLearn and sign up to our newsletter to hear about new free courses as they are released.

Every year, thousands of students decide to study with The Open University. With over 120 qualifications, we’ve got the right course for you.

Request an Open University prospectus