Anycast is a networking technique where the same IP address is assigned to multiple nodes or devices, and packets are delivered to the nearest node. This improves latency and provides redundancy compared to unicasting, where there is a single destination node. With anycasting, routers select the best destination node based on the fewest hops or other application-level metrics. Anycasting was initially used for DNS to improve response times, as DNS uses UDP and does not require an established connection. It has since been applied to other protocols like HTTP that use TCP, where switching nodes can cause connection issues.
This tutorial gives very good understanding on Computer Networks After completing this tutorial,You will find yourself at a moderate level of expertise in knowing Advance Networking(CCNA), from where you can take yourself to next levels.
This tutorial gives very good understanding on Computer Networks After completing this tutorial,You will find yourself at a moderate level of expertise in knowing Advance Networking(CCNA), from where you can take yourself to next levels.
he Associate level of Cisco Certifications can begin directly with CCNA for network installation, operations and troubleshooting or CCDA for network design. Think of the Associate Level as the foundation level of networking certification.
A complete ppt for network connectors and interface standards. Modems with types and version are also added in it. utility of cable modem alongwith null modem are described in it. a useful presentation for persons looking for networking devices at physical layer.
A PROJECT REPORT
On
CISCO CERTIFIED NETWORK ASSOCIATE
A computer network, or simply a network, is a collection of computer and other hardware components interconnected by communication channels that allow sharing of resources and information. Where at least one process in one device is able to send/receive data to/from at least one process residing in a remote device, then the two devices are said to be in a network. Simply, more than one computer interconnected through a communication medium for information interchange is called a computer network.
difference between hub, bridge, switch and routerAkmal Cikmat
An additional information that might be useful for Computing/Computer Science students especially.
made this as a homework assigned to me.
Hope this may be the thing that you've been looking for
he Associate level of Cisco Certifications can begin directly with CCNA for network installation, operations and troubleshooting or CCDA for network design. Think of the Associate Level as the foundation level of networking certification.
A complete ppt for network connectors and interface standards. Modems with types and version are also added in it. utility of cable modem alongwith null modem are described in it. a useful presentation for persons looking for networking devices at physical layer.
A PROJECT REPORT
On
CISCO CERTIFIED NETWORK ASSOCIATE
A computer network, or simply a network, is a collection of computer and other hardware components interconnected by communication channels that allow sharing of resources and information. Where at least one process in one device is able to send/receive data to/from at least one process residing in a remote device, then the two devices are said to be in a network. Simply, more than one computer interconnected through a communication medium for information interchange is called a computer network.
difference between hub, bridge, switch and routerAkmal Cikmat
An additional information that might be useful for Computing/Computer Science students especially.
made this as a homework assigned to me.
Hope this may be the thing that you've been looking for
This presentation contains the basic of cellular system.
in which direction the cellular system works and how it changes the network from one bast station to another is simply explained.
how Hand-off occur between two base station is shown via figure to understand well.
the cell system in mobile network and the cell spliting, sectoring, microcell zone concept is also explained well.
Please take a look.
may be it is helpfull for you.
Thank you.
Panama 4 g network expansion and government's national broadband plan to driv...Pooja Yadav
In 2016, Panama was the third largest telecom services market in Central America, behind Guatemala and Costa Rica, with estimated revenue of $1.3bn or 2.4% of GDP. This represents a 2.4% increase relative to 2015, mainly driven by fixed broadband, pay-TV and mobile data segments.
Quite simply explained we use networks for communication between computers, sharing of data and peripherals. In the business world we use networks for ease of administration and to cut costs.
Sharing data example imagine an office with 5 secretaries working on 5 different computers, one requires a file from another computer in a non networked office this file would have to be written to a portable media then loaded onto the computer. In a networked office the file could be accessed via the network from a shared folder.
Sharing peripherals example the same office with 5 secretaries working on 5 different computers, in order to print their work each computer would need to have a printer attached. In a networked office you could have one shared printer, cutting costs
This Presentation consists of various Network Devices
Hub, Router, Repeater, Bridge, Brouter, Gateway, NIC etc. It is very helpful for B.tech, BCA, MCA, M.Tech students and for those who is interested in networking.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
What is the purpose of the Sabbath Law in the Torah. It is interesting to compare how the context of the law shifts from Exodus to Deuteronomy. Who gets to rest, and why?
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
Sectors of the Indian Economy - Class 10 Study Notes pdf
Network cables-Imdad Hussain
1. IMDAD HUSSAIN
Differences between
Hub
Bridge
Switch
Router
Hub
A Hub is the simplest of these devices. In general, a hub is the central part of a wheel where the spokes come together. Hubs
cannot filter data so data packets are sent to all connected devices/computers and do not have intelligence to find out best path for
data packets. This leads to inefficiencies and wastage.
2. As a network product, a hub may include a group of modem cards for dial-in users, a gateway card for connections to a local area
network (for example, an Ethernet or a token ring), and a connection to a line. Hubs are used on small networks where data
transmission is not very high. Bridge
In telecommunication networks, a bridge is a product that connects a local area network (LAN) to another local area network that
uses thesame protocol. Having a single incoming and outgoing port and filters traffic on theLAN by looking at the MAC
address, bridge is more complex than hub. Bridge looks at thedestination of the packet before forwarding unlike a hub. It
restricts transmission on other LAN segment if destination is not found.
A bridge works at the data-link (physicalnetwork) level of a network, copying a data frame from one network to the next
network along the communications path.
Switch
3. A switch when compared to bridge has multiple ports. Switches can perform error checking before forwarding data, which are
very efficient by not forwarding packets that error-end out or forwarding good packets selectively to correct devices only.
Switches can support both layer 2 (based on MAC Address) and layer 3 (Based on IP address) depending on thetypeof switch.
Usually large networks use switches instead of hubs to connect computers within thesame subnet.
Router
A router, like a switch forwards packets based on address. Usually, routers use theIP address to forward packets, which allows
the network to go across different protocols. Routers forward packets based on softwarewhile a switch (Layer 3 for example)
forwards using hardware called ASIC (Application Specific Integrated Circuits). Routers support different WAN technologies
but switches do not.
Besides, wireless routers have access point built in. The most common home use for routers is to share a broadband internet
connection. As the router has a public IP address which is shared with the network, when data comes through the router, it is
forwarded to thecorrect computer.
the original material is referred from:
switch vs router hub bridge repeater wireless access point
Moretips on switches or routers comparison at:
Cisco Switch Comparison-catalyst 2960 VS 3560 VS 3750 VS 4500 VS 6500
Stacking Cisco 2960-S VS Cisco 3750 Switches
Cisco 1941 VS 2901-Comparison Helps You Choose the Right Router
Tagged with: Bridge, bridge vs router, bridge vs switch, difference between router and switch, hub, hub vs bridge, Hub vs Bridge
vs Switch vs Router, Router, router vs switch, Switch
4. What’s the difference between a
Crossover Cable and Straight-Through
Cable?
So you’ve seen the terms crossover cable and straight-through cable in a Cisco
CCNA or CompTIA certification book and you want some clarification on the
difference between these two types of Ethernet cable.
To understand what crossover cables and straight-through cables are – you first
need to know a little about the wires inside them.
From there you will know why a network professional would use use one over the
other.
It’s all about understanding how different devices on a network send and receive
signals.
Straight-Through Cable
Running through the inside of an Ethernet cable are eight wires.
The cable is terminated at each end with RJ45 connectors – each connector
having eight pins. Each of the eight pins has a wire ‘crimped’ (connected) to it.
A straight-through cable, gets its name because each of its eight wires runs from
one pin of the RJ45 connector, ‘straight-through’ to the same corresponding
pin at the other end of the cable.
So the wire connected to pin 1 of an RJ45 connector also connects to pin 1 on its
other RJ45 connector. The same goes for the remaining seven wires.
5. What is the defferencebetweenCross Cable
and StraightCable
Now days, LAN card has intelligence, so that both cables can work.
They have a feature on lots of switches and hubs etc called "auto-mdix" or "auto mdi/mdix", that is the new th
auto detect the proper connection type no matter which cable you use.
The cable can be categorized as Cat 5, Cat 5e, and Cat 6 UTP cable. Cat 5 UTP cable can support 10/100 Mbp
Ethernet network running at 10/100/1000 Mbps. You might hear about Cat 3 UTP cable, it's not popular anym
Straight and crossover cable can be Cat3, Cat 5, Cat 5e or Cat 6 UTP cable, the only difference is each type wil
purposes.
Ethernet network cables are straight and crossover cable. This Ethernet network cable is made of 4 pair high p
for data transmission. Both end of cable is called RJ45 connector.
There are two types of network cables commonly used in PC networks - Straight-through and cross-over.
Straight Cable
Usually use straight cable to connect different type of devices. This type of cable will be used most of the time
1) Connect a computer to a switch/hub's normal port.
2) Connect a computer to a cable/DSL modem's LAN port.
3) Connect a router's WAN port to a cable/DSL modem's LAN port.
4) Connect a router's LAN port to a switch/hub's uplink port. (Normally used for expanding network)
5) Connect two switches/hubs with one of the switch/hub using an uplink port and the other one using norma
If you need to check how straight cable looks like, it's easy. Both sides (side A and side B) of cable have wire a
Crossover Cable
6. Sometimes you will use crossover cable, it's usually used to connect same type of devices. A crossover cable c
1) Connect two computers directly.
2) Connect a router's LAN port to a switch/hub's normal port. (Normally used for expanding network)
3) Connect two switches/hubs by using normal port in both switches/hubs.
In you need to check how crossover cable looks like, both side (side A and side B) of cable have wire arrangem
This cable (either straight cable or cross cable) has total 8 wires (or we can say lines), i.e. four twisted pairs (4
codes. It doesn’t matter what color is given to the cable (but there is a standard).
In straight cable connectivity is like as follows
RJ451 Connected to RJ452
Pin1------------------------------------- Pin1
Pin2------------------------------------- Pin2
Pin3------------------------------------- Pin3
Pin4------------------------------------- Pin4
Pin5------------------------------------- Pin5
Pin6------------------------------------- Pin6
Pin7------------------------------------- Pin7
Pin8------------------------------------- Pin8
In cross cable connectivity is like as follows
RJ451 Connected to RJ452
Pin1------------------------------------- Pin3
Pin2------------------------------------- Pin6
7. Pin3------------------------------------- Pin1
Pin4------------------------------------- Pin4
Pin5------------------------------------- Pin5
Pin6------------------------------------- Pin2
Pin7------------------------------------- Pin7
Pin8------------------------------------- Pin8
Purpose of this cross cable is RX (receiving terminal) connects to TX (transmitting) of one pc to another PC and
As we use two PCs (same devices), straight cable will connect TX to TX and RX to RX of two computers, so cros
work because it has internal arrangement like cross cable. So note that use cross cable to connect two similar
A straight cable will not work to connect two computers together.
Crossover used to connect to PCs directly together, also used for connecting networking devices together like
Straight cables connect two DIFFERENT types of devices. Whereas crossover cables connect two of the SAME ty
Now do this (if possible): connect cross cable between switch and PC and see what happens..!
8.
9. Hub Switch Router Workstation
Hub Crossover Crossover Straight Straight
Switch Crossover Crossover Straight Straight
Router Straight Straight Crossover Crossover
Workstation Straight Straight Crossover Crossover
-----------------------------------------------------------------------------------------------
Communication between Switches and Workstations
When a workstation connects to a LAN, it transmits data independently of the other devices connected to the LAN med
medium.
If desired, the workstation can be attached directly to another workstation by using a crossover cable. Crossover cable
Workstation to workstation
Switch to switch
Switch to hub
Hub to hub
Router to router
Router to PC
Straight-through cables connect the following devices:
Switch to router
Switch to workstation or server
Hub to workstation or server
Many modern switches now automatically adjust the port pinout to support the particular cable attached, whether it i
Switches, which are Layer 2 devices, use intelligence to learn the MAC addresses of the devices that are attached to it
complete, the switch can read the destination MAC address of an incoming data frame on a port and immediately forw
Switches provide significant scalability on a network. Switches are normally connected to each other by way of trunk li
10. -----------------------------------------------------------------------------------------
What is Anycast and How it works
Submitted by Sarath Pillai on Mon, 01/13/2014 - 15:55
If you try to access slashroot.in from US the request will be routed to the Linode London data
center. If you try to access slashroot.in from Asia, again the request will be routed to the same
Linode London Data Center. Take one more case, and try to access slashroot.in from Europe
(Ireland) the request will be again routed to Linode London.
The bottom line is, You will be routed to Linode London, no matter from where you access.
There are two primary problems associated with this architecture. They are mentioned below.
1. What if something happens to Linode London Data Center, and it goes down due to some problem
(this wont happen, i love linode, and they are the best VPS solution providers out there, I will write a
detailed post about my review regarding Linode. Just take this as an example.)
2. Second problem is if a user from Asia (say India for example), access my site, that user has to
unnecessarily suffer a latency of few hundred milliseconds. The problem is with everyone. Say a
person accessing my site from US, he will still suffer a little latency as his packets needs to travel all
the way to London.
This kind of an architecture where there is only one destination server for all sources (no matter
from where the request comes from) is called as unicasting. This is the highly used networking
solution on the internet today. There is one destination server, with an ip address assigned to it,
and it will answer all the requests.
Traceroute is an awesome tool to check the path your packet is traveling. If you are new to
traceroute, i will recommend reading the below post to understand how Traceroute works.
11. This kind of an architecture works well for small to medium range of websites. But once your
website becomes too large and starts getting heavy traffic, it will have a sever performance
impact, and need to look for other optimum solutions.
Imagine server's like the DNS root servers. There are 13 of them, which needs to be available all
the time. Root servers are one of the most critical infrastructures on the internet. Due to this
reason, anybody accessing it needs to get the result in the possible minimum latency. Hence DNS
root servers uses Anycasting for this purpose. Apart from achieving a better latency, anycasting
also provides redundancy. we will be discussing all of that in some time.
Read: DNS Root Servers
Here is where anycasting comes into the picture. Although in the beginning anycasting was only
used for DNS. These days Anycasting is used for normal HTTP web sites. We will look into that
part later.
What is Anycast?
You might have already heard the below terms in networking. These are very commonly used.
Unicast (one sender and one receiver. This is the most commonly used type. While you are reading
this web page, you are using unicast type.)
Broadcast & Multicast (This includes one sender and multiple receivers. A good example of
broadcast is the ARP request send by a computer on the network to all others. In Multicasting one or
more senders can send data to multiple receivers. Multicasting in IPv4 is implemented by a special
class of IP addresses reserved for this purpose. All those hosts that are part of that specific class of
multicast address will receive the message send to that multicast address.)
Anycasting is completely different from the above two types. A good definition of anycasting is
given below.
Anycasting is a method used to advertise one IP address from multiple points in the network
topology, and with the help of dynamic routing method, the traffic is delivered to the nearest
point.
Although anycast works by having multiple receivers, only one receiver is selected from all the
available ones. Hence in a way its a point to point communication with the nearest address. Also
the sender does not care which receiver from the possible list is selected (as all of the receivers
will be providing the same service and will be mirrors of each other.).
A single anycast address is assigned to multiple hosts providing the service. And the routers in
between does the job of selecting the best and nearest destination. A sender will send a request
12. with the anycast address in it packet header and the routers then run the entire show of
delivering it to the nearest location.
But the main point to note here is the criteria used to select the receiver from the available list of
multiple anycast destinations. There are different schemes/criteria that can be used for this
selection. Before getting into that part, let's have a look at a diagram that represents the anycast
basic network topology.
In the above shown example topology diagram, two servers are shown. Both these servers are
part of anycast group and are assigned with the same ip address of 10.1.1.10.
When client 1 needs to access the server its routed to the nearest server by Router 1. And
whenclient 2 wants to access the server its routed to the nearest location (through router 3 and
router 5).
It is now clear from the above shown basic diagram, that there must be some criteria to select the
destination server. There are different criteria/scheme that can be used in anycast for determining
the best destination server. Let's see two main schemes that can be used in anycast.
13. IP Anycast or say Network Layer Anycast: If the destination server is selected by the routing
method, in other words users directed towards a destination server that needs few number or router
hops in between, then it is called as network layer anycast.
Application Layer Anycast: If the destination server is selected by calculating the availability of the
server, current number of connections, response times etc, then its called as application layer
anycasting. But in this method, does not depend on the network but depends on an external source
which continuously monitor the statistics (like current number of connections, response time etc.)
Network layer anycast is the highly used type of anycast in the internet. In the beginning
anycasting was only used for DNS. Why only DNS ? The reason is described below.
In the previously shown diagram, which describes the basic working of anycast, you can see that
the same service is provided by multiple instances in different locations reachable by different
paths. The idea behind anycasting is to reduce latency and increase redundancy. DNS works on
UDP (which is a connection less protocol.)
TCP is a connection oriented protocol, which means services using TCP requires a successful
connection to be established first. Even protocols like HTTP works over TCP (yeah HTTP itself
is not stateful, which means each request is independent of the other.). But a connection should
be made to the destination server. In case of anycasting if something happens to one of the
anycasted instance, the routers will stop sending traffic to them, and will select the next nearest
anycast node.
Read: How a TCP connection is established
But in that case, if suppose a user was already browsing a web page (consider an HTTP anycast
in this case), the already established TCP connection to the node will break (as that node is not
available now), and routers will forward the traffic to the next nearest node (but as this is a
different node, with the same ip address, the tcp connection needs to be established again.)
Due to this problem, anycasting is mostly used for single request single response protocols. DNS
is a single request response protocol. It does not matter which server replies you, because each
request is independent, and no tcp connection is required.
If you are new to DNS, please refer the below articles to understand some basics of DNS and its
related topics.
Read: How DNS works
Read: Iterative and recursive DNS query
14. Read: DNS zone file and its content
An important thing to note, before going ahead....
Anycast was not designed for load balancing. The main purpose of anycast is to achieve reduced
latency and redundancy. However depending upon on the way it is configured it gets a slight
load balancing effect.
There is no mechanism by which you can identify by looking at the ip address, whether its an
anycast ip address or unicast. For example, 192.5.5.241 is an anycasted ip address and
212.71.233.103 is a unicast ip address. Both are ipV4 addresses. A special range of ip address is
reserved for anycast in IPv6. But in IPv4 the normal unicast address space is used for anycast
purpose. Hence by looking at the ip address you cannot identify whether its anycast or unicast.
The only mechanism to identify it is to do traceroute from different locations.
The ip address 192.5.5.241 is an anycasted IP address. How am i too sure about this?. Am sure
about this because of two reasons.
1. Its the IPv4 address of F DNS root server.
2. Tracerouting from different locations around the world will make you reach the same IP in
different locations. (mostly the nearest from the source.)
Traceroute to DNS F root server from India is shown below.
My traceroute is going to Atlanta US (see the 17th and 18th lines above). Isn't that amazing?.
The same ip at different locations on the internet. The F root servers are located at around 50
locations around the globe. You can find the entire list at the below link.
F root server locations (You will find the Atlantaand HongKong locations in this list.)
To understand how routing on the internet works, we need to first understand a little about
certain terms and protocols which makes internet work. Internet works on a trust relationship.
My network will depend on an another network (managed by somebody else)to reach some other
network. To understand how routing in internet works we need to first understand two things.
Domains and inter domain routing. Consider domains as a network under an independent
administrative authority.
15. Inter domain routing is described in terms of the number of domains it has to transit or (pass
through) to reach a destination address of interest. This entire show of inter domain routing is
handled by a protocol called as BGP (Border Gateway protocol).
How packets travel inside a domain is up to the domain administration. In other words the
domain authority can use any protocol to provide communication and proper delivery inside the
domain. As things that happen inside the domain is internet, the protocols that will be used inside
the domain is classified as Interior Gateway Protocol's
As a domain is independent and is handled by an independent administrative authority, this
domain is broadly called as Autonomous System's. You will rarely hear the term domain,
because its broadly classified and generally referred to as Autonomous System's. Or AS
Am quite sure that you have already heard about the below definition of the internet.
Internet is a large network made by interconnecting small networks. Or network of networks.
As we now know what an Autonomous System is, we can also say that internet is a large
collection of interconnected Autonomous systems. But yeah there must be some mechanism by
which you can uniquely identify the domains or say AS (autonomous systems). For that
Autonomous system's are numbered.
AS numbers are integers ranging from 0 to 4,294,967,295. IANA(Internet Assigned Numbers
Authority ) maintains the entire list of AS number's. You can have a look at AS number's in the
below link.
AS numbers
As we discussed earlier, BGP is the protocol which runs the entire show in inter domain routing.
And BGP makes use of AS number's. Let's see how AS number's are used in BGP.
16. In the above shown diagram ROUTER 1 receives two different paths to reach 172.16.200.0/24
network. ROUTER 1 can reach the server 172.16.200.200 through two different paths (please
note that the servers are different.).
If you see the routing table of ROUTER 1, you will see it has two routes for the subnet
172.16.200.0/24. The routes look something like the below.
1. 172.16.200.0/24 AS path (2)
2. 172.16.200.0/24 AS path (3,4)
The left most number in the AS path is the AS number from which the router got the route
announcement information. So AS path (3,4) means the router received the address
advertisement from AS 3(which is its neighbor), and the right most number indicates the AS from
which the address advirtisement originated.
Now the normal behavior of BGP(if it has multiple routes to reach the same address prefix) is to
select the path that is the shortest to reach the destination. Shortest in terms of AS's it has to go
through...
In anycast the same address prefix is announced from multiple locations. And most of the time a
router has multiple paths to reach that address. The important point is that in anycasting most of
17. these paths will lead to a different server with the same service. Hence if something happens to
one of your anycasted server, you can withdraw the routes to that particular location, and the
traffic will then start flowing to the next nearest location.
Please note the fact that explaining BGP and AS path selection is beyond the scope of this article...The things explained here will
only be useful to get an idea about how anycasting works in the real world.
What are the main advantages of using Anycast?
One of the major advantage is to reduce latency in response. A user accessing the service from a
particular location will be directed to the nearest end point providing the service.
Higher service uptime. An issue or technical glitch in one of the anycasted resource will not affect the
other one in another locations, due to which users can be routed to that location.
Better resistance against Distributed Denial Of Service Attacks.
Large scale attacks which consume the server bandwidth and resources are generally executed
from multiple locations around the world. The main motive of such attacks is to make a service
or website unavailable to a legitimate client.
If the attack originates from a single source address, it can be blocked to a certain extent. But
what if the attack originates from 100 different geographical locations and all sending junk
traffic to one particular service(for this purposes attackers normally use some thing called as
botnet, which are computers infected by malicious programs, and are under control of the
attacker.). A normal unicasted service will go unavailable in such conditions.
Attackers use botnet to send junk traffic, because they themselves does not require a large
bandwidth to send it to the victim server. A botnet under control of an attacker can generate large
amount of traffic (which is basically combined traffic from all infected hosts around the
globe). But if the target is using Anycast, such attacks can be mitigated to a larger extent.
Because the attack volume gets distributed to all anycast nodes (As the infected hosts sending the
traffic are also from different geographical locations, the traffic will be received by their
respective nearest anycast address.)
18. Disadvantages of Anycast:
Anycast is not suitable for Long Lived session protocols. For example, its not suitable for TCP and
connection oriented stuff. Although if the routing is stable and no fluctuation occurs then it can also
be used for TCP protocols like HTTP. I must say some major CDN (Content Delivery Networks)
providers already use anycast as their primary mechanism for improving performance and reliability
of HTTP.
A strategic distribution of nodes around the world must be made, with reliable upstream providers for
a perfect anycaste architecture.
Rate this article:
So what’s the reason for having wires run ‘straight’ from one pin to the other?
The answer lies in the fact that networked devices send and receive signals
on specific wiresof an Ethernet cable.
19. Computers Send and Receive On Specific Pins
Computers can send data across a network, if they have an Ethernet cable
plugged into the jack of their network interface cards (NIC’s).
The data – in the form of bits – moves from the NIC and down to
the eight pins of thenetwork port on the machine. From there, the bits move to
the pins of the RJ45 connector of the Ethernet cable plugged into the network
port. Finally the bits get sent along two of the wires to the destination device at
the other end.
The question is; which pins – on the network port of a computer – are used to
send data?
The NIC on a computer sends signals on pin 1 and pin 2.
The signal will be sent down whatever wires are connected to these two pins.
Send and receive pins on the network port of a computer
Turning our attention to the other end of the cable; what happens there – at the
destination device?
Let’s assume the PC is connected to another networking device – a switch or
router. So a cable runs from the RJ45 port on the computer to an RJ45 port on
20. the switch/router. The RJ45 ports of a switch or router are set up by
default to receive signals on pins 1 and
pins 2.
See how things are matching up so far?
The computer sends on pin 1 and pin 2 and the switch/router is receiving or
‘listening’ on the same pins.
On the ports of a switch or router, data is received on pins 1 and 2, and sent on pins 3 and 6.
Now let’s address which pins are used when switches and routers transmit data
back to the PC.
By default, a switch or router send their signals on pin 3 and pin 6 from their
RJ45 ports.
So which pins does the NIC of the PC receive on?
You guessed it – the same pins 3 and 6.
When you plug a straight-through cable into the network jack of a computer; you are
providing the correct paths for signals to be sent and received between a PC and
aswitch/router.
A straight-through cable does this by:
21. connecting the sending pins 1 and 2 on a PC, with the receive pins 1 and 2 at
the switch/router
connecting the sending pins 3 and 6 – at a switch or router – with the receive
pins 3 and 6 at the PC.
Connecting PC’s to switches and routers, using a straight-through Ethernet cable,
is your standard way to get network connectivity to the machine. The PC and
switch (or PC/router) are considered to be ‘unlike’ devices – which is pretty self-
explanatory, and in effect gives you a rule when to use straight-through cables:
Use straight-through cables to connect unlike devices on a network
When would you use a crossover cable?
The term crossover simply refers to the crossing of wires at one end of an
Ethernet cable. This is the difference between a cross over cable and a straight-
through cable.
In the picture below, you can see that four wires are switched or crossed over to
different pins at the other end of the cable. This time, the wires connected to pins
1 and 2 on one RJ45 connector, terminate at pins 3 and 6 on the other RJ45
connector.
But when would you use a cross-over cable and why?
22. If you want to connect two computers directly to each other, or connect a switch
to another switch – you would have to use a cross-over cable.
Take a PC-to-PC connection as the first scenario.
The send pins on both machines are the same: pins 1 and 2. Likewise, the receive
pins on both sides are 3 and 6.
So using a straight-through cable to connect two PC’s causes a problem because
you’d be connecting ‘transmit to transmit’ pins, and ‘receive to receive’ pins, and
nothing would get through.
Performing a ‘crossover’ by wiring the send pins 1 and 2 to the receive pins 3 and
6, solves the problem and allows correct communication between the devices. For
a quick way to network two PC’s – crossover cables are a great solution.
23. What about a switch-to-switch connection?
Same again, use a cross-over cable.
Remember that on a switch, pins 1 and 2 are the receive pins, while pins 3 and 6
are used to send. The cross-over cable still does its job by connecting the send
and receive pins on both sides of a switch-to-switch connection. The direction in
which the signals are sent along the wires may be flipped around, but the two
switches will communicate correctly.
The rule is:
Use cross-over cables to connect like devices on a network
Knowing the difference between a straight-through cable and crossover cable, is a
basic requirement for PC and network technicians. That’s why you’ll see the topic
covered in theCompTIA Network+ and Cisco CCENT certifications
especially.
You now understand how the wires – within straight-through and crossover
cables – connect to the pins of their connectors, and why they do so.