Professional Documents
Culture Documents
Document On Cisco
Document On Cisco
Document On Cisco
Switch:
You can use a switch to open or close a connection. When the switch is opened, a
signal or power can pass through the connection. The flow is stopped, and the
circuit connection is broken when the switch is closed.
A switch keeps a table of the addresses of the computers connected to it. When
traffic passes through, the switch reads the address of the destination and routes it
to the relevant computer rather than all connected computers. The traffic is routed
to all connected computers if the destination address is not in the table.
There are various applications of a switch, and some of the most important ones
are:
Hub:
In layman’s terms, a hub is a device that allows various computers/PCs and other
devices to connect to a single network.
A hub sends data packets to all network devices, regardless of whether the data
packet contains any MAC addresses. A hub has many ports, and a computer that
wants to connect to the network plugs into one of them. When a data frame arrives
at a port, the hub broadcasts it to all other ports, regardless of whether it is destined
for a specific destination or not.
Active hub: This type of hub has its own power supply and can clean,
improve, and relay network signals.
Passive hub: This type of hub collects power from active hub devices and
wiring from nodes. Aside from that, a hub sends signals into the network
without cleaning or boosting them
Applications of Hub
There are various applications of a hub, and some of the most important ones are:
There are two versions of IP addresses that are commonly used on the
internet: IPv4 and IPv6. An IPv4 address is expressed as a set of four dotted
decimal numbers, where each octet is separated by a period, such as 192.168.35.4.
The three digits in the first octet represent a particular network on the internet
while the rest of the digits represent the actual host address within the local
network, such as a workstation or a server. An IPv6 address represents eight
groups of four hexadecimal digits separated by colons, such as
2620:cc:8000:1c82:544c:cc2e:f2fa:5a9b.
Each internet protocol address can send information to other IP addresses through
discrete chunks known as packets. Each network packet contains the data being
transferred along with a header containing the metadata of the packet.
Every time a request is made to access a website, the requesting computer needs to
know where the website resides and how to reach it. This is where the IP address
comes into play. The requesting computer connects to the network router, which
connects to the web server where the website lives. The web server then pulls the
website information and sends it back to the requesting computer. Each device in
this process -- including the computer, router and web server -- carries a uniquely
identifiable IP address, without which the transfer of information will not take
place.
DEFINITION
IP address (Internet Protocol addresss)
An Internet Protocol (IP) address is a unique numerical identifier for every device
or network that connects to the internet. Typically assigned by an internet service
provider (ISP), an IP address is an online device address used for communicating
across the internet.
There are two versions of IP addresses that are commonly used on the
internet: IPv4 andIPv6. An IPv4 address is expressed as a set of four dotted
decimal number, where each octet is separated by a period, such as 192.168.35.4.
The three digits in the first octet represent a particular network on the internet
while the rest of the digits represent the actual host address within the local
network, such as a workstation or a server. An IPv6 address represents eight
groups of four hexadecimal digits separated by colons, such as
2620:cc:8000:1c82:544c:cc2e:f2fa:5a9b.
Each internet protocol address can send information to other IP addresses through
discrete chunks known as packets. Each network packet contains the data being
transferred along with a header containing the metadata of the packet.
Every time a request is made to access a website, the requesting computer needs to
know where the website resides and how to reach it. This is where the IP address
comes into play. The requesting computer connects to the network router, which
connects to the web server where the website lives. The web server then pulls the
website information and sends it back to the requesting computer. Each device in
this process -- including the computer, router and web server -- carries a uniquely
identifiable IP address, without which the transfer of information will not take
place.
1. Private IP addresses
Each device connected to a home network or a private network carries a private IP
Address. Private IP addresses are non-internet facing and are only used on an
internal network. Devices with private IP addresses might include computers,
tablets, smartphones, Bluetooth devices, smart TVs and printers. With the
increasing popularity of internet of things products, the use of private IP addressing
is likely to keep growing.
2. Public IP addresses
An ISP assigns these addresses, which enable a router to communicate with the
internet or an outside network. Public IP addresses cover the entire network,
meaning multiple devices sharing the same internet connection will also share the
same public IP address.
3. Dynamic IP addresses
These IP addresses are constantly changing and a new dynamic IP address is
assigned to a device every time it connects to the internet. ISPs buy large pools of
IP addresses to assign to their customers automatically. They revolve and reuse
these addresses between different customers to generate cost savings and to
provide easier network management. A dynamic IP address also offers security
benefits, as it's harder for cybercriminals to hack into a network interface if its IP is
constantly changing.
4. Static IP addresses
Unlike dynamic IP addresses, static IP address never change once they're assigned
by the network. While most internet users and businesses don't require static IP
addresses, they're a requirement for businesses that wish to host their own web
servers. A static IP address ensures that all websites and email addresses associated
with a certain web server will always have a consistent IP address so it can be
reached on the internet.
5. Website IP addresses
These are IP addresses for website owners who don't host their websites on their
own servers but rely on a hosting company to do so. Website IP addresses are
composed of the following two types:
Every device has an IP address with two pieces: the client or host address and the
server or network address. IP addresses are either configured by a DHCP server or
manually configured (static IP addresses). The subnet mask splits the IP address
into the host and network addresses, thereby defining which part of the IP address
belongs to the device and which part belongs to the network.
The device called a gateway or default gateway connects local devices to other
networks. This means that when a local device wants to send information to a
device at an IP address on another network, it first sends its packets to the gateway,
which then forwards the data on to its destination outside of the local network.
What is Subnet Mask?
A subnet mask is a 32-bit number created by setting host bits to all 0s and setting
network bits to all 1s. In this way, the subnet mask separates the IP address into the
network and host addresses.
The “255” address is always assigned to a broadcast address, and the “0” address is
always assigned to a network address. Neither can be assigned to hosts, as they are
reserved for these special purposes.
Because binary is challenging, we convert each octet so they are expressed in dot
decimal. This results in the characteristic dotted decimal format for IP addresses—
for example, 172.16.254.1. The range of values in decimal is 0 to 255 because that
represents 00000000 to 11111111 in binary.
Since the internet must accommodate networks of all sizes, an addressing scheme
for a range of networks exists based on how the octets in an IP address are broken
down. You can determine based on the three high-order or left-most bits in any
given IP address which of the five different classes of networks, A to E, the
address falls within.
(Class D networks are reserved for multicasting, and Class E networks not used on
the internet because they are reserved for research by the Internet Engineering
Task Force IETF.)
A Class A subnet mask reflects the network portion in the first octet and leaves
octets 2, 3, and 4 for the network manager to divide into hosts and subnets as
needed. Class A is for networks with more than 65,536 hosts.
A Class B subnet mask claims the first two octets for the network, leaving the
remaining part of the address, the 16 bits of octets 3 and 4, for the subnet and host
part. Class B is for networks with 256 to 65,534 hosts.
In a Class C subnet mask, the network portion is the first three octets with the hosts
and subnets in just the remaining 8 bits of octet 4. Class C is for smaller networks
with fewer than 254 hosts.
Class A: 255.0.0.0
Class B: 255.255.0.0
Class C: 255.255.255.0
You can determine the number and type of IP addresses any given local network
requires based on its default subnet mask.
An example of Class A IP address and subnet mask would be the Class A default
submask of 255.0.0.0 and an IP address of 10.20.12.2.
Subnetting is the technique for logically partitioning a single physical network into
multiple smaller sub-networks or subnets.
The standard modern network prefix, used for both IPv6 and IPv4, is Classless
Inter-Domain Routing (CIDR) notation. IPv4 addresses represented in CIDR
notation are called network masks, and they specify the number of bits in the prefix
to the address after a forward slash (/) separator. This is the sole standards-based
format in IPv6 to denote routing or network prefixes.
To assign an IP address to a network interface since the advent of CIDR, there are
two parameters: a subnet mask and the address. Subnetting increases routing
complexity, because there must be a separate entry in each connected router’s
tables to represent each locally connected subnet.
Some know how to calculate subnet masks by hand, but most use subnet mask
calculators. There are several types of network subnet calculators. Some cover a
wider range of functions and have greater scope, while others have specific
utilities. These tools may provide information such as IP range, IP address, subnet
mask, and network address.
Here are some of the most common varieties of IP subnet mask calculator:
Typically, although the phrase “subnet mask” is preferred, you might use
“IP/Mask” as a shorthand to define both the IP address and submask at once. In
this situation, the IP address is followed by the number of bits in the mask. For
example:
10.0.1.1/24
216.202.192.66/22
However, you do not mask the IP address, you mask the subnet
TCP configuration
Alternatively, a JGroups-based cluster can also work over TCP connections.
Compared with UDP, TCP generates more network traffic when the cluster size
increases. TCP is fundamentally a unicast protocol. To send multicast messages,
JGroups uses multiple TCP unicasts. To use TCP as a transport protocol, you
should define a TCP element in the JGroups Config element. Here is an example of
the TCP element.
<TCP start_port="7800"
bind_addr="192.168.5.1"
loopback="true"
down_thread="false" up_thread="false"/>