Routing
Summary
TLDRThis video explains how digital information is routed across the internet. It begins by describing the role of IP addresses, including the transition from IPv4 to IPv6 due to address limitations. The Domain Name System (DNS) is introduced as a solution for mapping human-readable domain names to machine-readable IP addresses. The core concept of routing is discussed, where data is sent through a network of routers, which choose the best path based on factors like speed, reliability, and proximity. The system's fault-tolerance and scalability are highlighted, thanks to the redundancy in connections.
Takeaways
- đ **Internet Communication**: The internet allows digital information to be sent from one device to another, enabling communication between computers.
- đ·ïž **IP Addresses**: Every device on the internet has a unique IP address, which acts as its identifier.
- đ **IPv4 to IPv6 Transition**: Due to the exhaustion of IPv4 addresses, the internet is transitioning to IPv6, which provides a much larger address space.
- đ **DNS System**: DNS (Domain Name System) maps human-readable domain names to machine-readable IP addresses, simplifying web browsing.
- đŠ **Routing**: Routing is the process that determines the path data takes to travel between two computers on the internet.
- đ **Routers**: Routers are networking devices that forward data to its destination by choosing the best path from available options.
- đ€ïž **Path Selection**: Routers select the path based on a 'cost' calculation that considers factors like distance, reliability, and speed.
- đ **Redundancy**: Multiple paths exist between any two points on the internet, providing redundancy and improving fault tolerance.
- đĄ **Reliability**: The redundancy in internet routing ensures that if one router fails, data can still reach its destination through alternative paths.
- đ **Scalability**: As more devices are added to the internet, the performance improves due to increased redundancy and reliability.
Q & A
What is the main purpose of the internet?
-The main purpose of the internet is to facilitate the exchange of digital information between two computers, enabling them to communicate with each other.
How does a device get identified on the internet?
-Every device on the internet is identified by a unique IP address.
What is the limitation of IPv4 addressing?
-IPv4 has a limitation of only 4 billion unique addresses, which is insufficient for the growing number of devices on the internet.
What is IPv6 and how does it address the limitations of IPv4?
-IPv6 is an updated version of the IP addressing system that uses more digits to represent addresses, providing over 30 undecillion unique addresses, which is sufficient for the foreseeable future.
Why do we need DNS when we have IP addresses?
-We use DNS to map human-readable domain names to machine-readable IP addresses, making it easier for users to remember and access websites without having to remember complex strings of numbers.
What is routing and why is it necessary?
-Routing is the process of sending data between two computers on the internet through routers that determine the most efficient path for the data to reach its destination.
How do routers decide the best path for data to take?
-Routers decide the best path based on a cost calculation that considers factors like proximity to the destination IP address, reliability of the connection, and the speed of the connection.
Why is redundancy in internet routing important?
-Redundancy in internet routing is important because it provides multiple paths between two points, improving the reliability and fault tolerance of the internet. If one router fails, data can still be routed through alternative paths.
How does the concept of 'cost' in routing differ from its common understanding?
-In the context of internet routing, 'cost' does not refer to monetary value. Instead, it is a calculation based on factors like the proximity of the IP address, the reliability of the router, and the speed of the connection.
What happens if a router on the internet fails?
-If a router fails, the system can still function because of the multiple paths available. Data can be rerouted through other routers, ensuring that communication is maintained.
How does the scalability of the internet benefit from the redundancy in routing?
-The scalability of the internet benefits from redundancy in routing because as more routers are added to the network, it increases the reliability and performance of the system. More routers provide more paths and options for data to travel, improving overall efficiency.
Outlines
đ Introduction to Internet Routing
This paragraph introduces the concept of routing on the internet. It begins with a brief recap on how the internet works by transmitting digital information from one point to another. Every device on the internet is assigned a unique IP address, and the transition from IPv4 to IPv6 is highlighted due to the increasing number of devices. It discusses the role of the DNS system in translating human-readable domain names into machine-readable IP addresses, making web browsing more user-friendly.
đĄ Routing Data Across the Internet
Here, the process of routing is introduced, where data is sent between computers over the internet using routers. Instead of direct connections between every device, routers act as intermediaries. Each computer connects to a router, which forwards data to its destination, creating a scalable system that supports millions of devices. This section lays the groundwork for understanding how computers communicate efficiently through a network of routers.
đ How Routers Determine the Path for Data
This paragraph explains how routers decide the best path for sending data. The process involves marking data with source and destination IP addresses. Routers calculate the 'cost' of forwarding the data based on factors like proximity to the destination, reliability, and connection speed. The router with the lowest cost forwards the message to the next router, repeating this process until the data reaches its final destination.
âïž Sending a Response Back Across the Network
After receiving a message, the recipient computer writes a response and sends it back using the same routing process. Routers evaluate the best paths based on current conditions, possibly choosing different routes than the original message. This dynamic path selection is based on factors like connection speed and reliability, ensuring efficient communication between computers.
đ Redundancy and Fault Tolerance in Networks
This paragraph highlights the importance of redundancy in the internet. Having multiple possible routes between two points ensures that if one router fails or gets overloaded, the system continues to function using alternate paths. This redundancy makes the system fault-tolerant, improving its reliability and preventing single points of failure from disrupting communication.
đ Scalability and Performance Benefits of Routing
The final paragraph discusses how adding more routers to the network not only increases reliability but also improves performance. As the system scales up with more routers, it enhances the overall capability of the internet, making it more robust and efficient. This scalability ensures the system can handle the increasing load as more devices connect to the network.
Mindmap
Keywords
đĄIP Address
đĄIPv4
đĄIPv6
đĄDNS (Domain Name System)
đĄRouting
đĄRouter
đĄRedundancy
đĄFault Tolerance
đĄCost
đĄScalability
Highlights
Routing is the process of sending data between two computers on the internet through routers that determine the data's route.
The internet is a massive network of routers connected in intricate ways to allow devices to communicate.
Each device on the internet has a unique IP address that helps in identifying and sending data to it.
IPv6 allows for over 30 undecillion unique addresses, resolving the limitations of IPv4's 4 billion address capacity.
DNS maps human-readable domain names to machine-readable IP addresses, making web browsing more user-friendly.
Routers forward data packets to other routers by calculating the 'cost' of each connection, considering distance, reliability, and speed.
The term 'cost' in routing refers to factors like proximity to the destination, reliability of the router, and connection speed, not financial cost.
Routers use the lowest 'cost' path to send data, optimizing the journey toward the final destination IP address.
Routing has redundancy, meaning there are multiple paths between two points, enhancing the internet's fault tolerance and reliability.
If a router fails or a path becomes unavailable, the system automatically reroutes data through alternative paths.
Redundancy in routing improves the system's reliability, ensuring it can still function even if individual routers fail.
Routing is scalable: adding more routers improves system reliability and performance by providing more paths for data transmission.
The fault tolerance of the internet ensures that even when routers are taken out by issues like overloading or natural disasters, communication continues.
The internet's routing system improves performance as more devices are added because it increases redundancy and fault tolerance.
Routing ensures that information is indirectly sent across a vast network of routers to reach its final destination efficiently.
Transcripts
hi in this video we'll be talking about routing so let's recap a little bit so far we know that Â
the internet is about getting digital information from point A to point B we want to be able to send Â
bits over a network so that two computers can talk to each other now how do two computers find each Â
other in this massive network well every device on the internet has its own unique IP address Â
now this is an old version of the IP addressing system this is an ipv4 address the problem with Â
ipv4 is there are only 4 billion unique addresses and pretty soon we'll have well over four billion Â
unique devices on the Internet so we're in the process of switching to ipv6 which uses several Â
more digits to represent a single address so there are several more combinations several more Â
possible addresses with ipv6 there's over 30 unda Cillian unique addresses so we'll be fine for the Â
foreseeable future now the problem is we don't really want to be using these IP addresses when Â
we're browsing the web we don't want to have to remember all these massive strings of numbers Â
so we use the DNS system to map domains to IP addresses it's like an address book mapping human Â
readable names to machine readable IP addresses so we can have a domain like support google com Â
that maps to this IP address or WWE just calm that maps to that IP address and these names are a lot Â
better for us to use so at this point we know the destination we know we're in the internet Â
were headed we have that IP address the question is how do we make the journey how does information Â
actually get to that destination well introducing routing routing is the process of sending data Â
between two computers on the internet the data is sent through routers that determine the route that Â
the data takes so in a simple network we need a way for every computer to talk to every other Â
computer rather than making individual wires individual connections between each computer Â
in the network what we do is we put in a router so every computer just connects to the router and Â
then if the computer on the bottom left wants to talk to a computer on the top right it will Â
just send that information along to the router and the router will forward along the message Â
this way we don't need connections going between every single computer this isn't scalable when Â
we start having millions billions of devices the internet is just a larger version of this simple Â
work to computers are connected through a massive network of routers and these routers are connected Â
in intricate ways so let's say these two computers wanted to send messages to each other the computer Â
on the left would write up a message and Mark it with a from a dress and a to address it's from IP Â
address to point to point to point to and sending it to IP address nine point nine point nine point Â
nine the computer before that message along to the first router from here the router will Â
look at all of its connections and forward on the message to the router with the lowest cost and in Â
this scenario cost doesn't mean least money spent cost is actually a calculation of several things Â
so cost is calculated based on how close is the IP address of this router that I'm sending it to Â
to the final destination is the router that I'm sending it to trustworthy or has been failing a Â
lot lately and is the connection fast am i sending it over a fiber optic cable or am i sending it Â
over or something like radio so it calculates the connection with the lowest cost and forwards the Â
message along to that router so let's say it calculates that the top middle router has the Â
lowest cost before that message along and then the same process would repeat it would look at all of Â
its connections and say what is the best place for this message to go how is it getting closer to its Â
final destination and is it reliable so let's say it calculates the middle router on the final rail Â
forwards it along there and now the message can get all the way to its intended recipient so now Â
the computer on the Left can read the message it can write up a response and then send it Â
back through the same process it marks it with a from a dress and a to address and then using Â
this destination IP address the routers will route the message back to to point to point to point to Â
so Ford this along to this computer maybe this wrapper calculates that it's actually better to Â
go to the bottom so we'll go there and then that one might forward it along to this router that Â
one might forward along to this router and finally it gets forwarded to the final computer so that is Â
how to computers can communicate with each other now what's interesting to note is that there's a Â
lot of redundancy here there are multiple paths that exist between two points and this may seem Â
redundant this may seem like extra work there's too many connections but this is actually a good Â
thing we don't want single connections between every computer we want to have multiple paths Â
because this in proves the reliability of the internet this makes it so that the system is Â
fault tolerant if an individual router breaks which happens all the time the system doesn't Â
stop working all together individual routers can break left and right and the system still works Â
fine so if you look at this this is only one of many paths between these two computers if that Â
router on top were to get overloaded or if it were to crash or break or there was an earthquake and Â
it just got taken out that's completely fine because now we can use this path and maybe Â
that bottom right one gets taken out that's fine because we can use this path so this redundancy is Â
a good thing it makes the system fault-tolerant so improves reliability and it makes the system Â
scalable a lot of times it's hard to create a system that as you add load to it as you add Â
a bunch of machines it still works in this case adding more and more routers that actually makes Â
the performance better because now we have even more reliability and more redundancy so by scaling Â
up we actually get better performance so this is how information is sent across the internet it is Â
routed in indirect ways through a vast network of routers to get to its final destination IP address
5.0 / 5 (0 votes)