Docsity

Understanding Network Services & Topologies: Packet & Circuit Switching, Essays (high school) of Computer science

Toggle sidebar
bg1
Sec----B
Q:1
Network service
In computer networking, a network service is an application running at the network application layer and above, that provides data
storage, manipulation, presentation, communication or other capability which is often implemented using a client-server or peer-to-peer
architecture based on application layer network protocols.
Each service is usually provided by a server component running on one or more computers (often a dedicated server computer offering
multiple services) and accessed via a network by client components running on other devices. However, the client and server
components can both be run on the same machine.
Clients and servers will often have a user interface, and sometimes other hardware associated with them.
Examples[edit]
Examples are the Domain Name System (DNS) which translates domain names to Internet protocol (IP) addresses and the Dynamic
Host Configuration Protocol (DHCP) to assign networking configuration information to network hosts. Authentication servers identify and
authenticate users, provide user account profiles, and may log usage statistics.
E-mail, printing and Network file system services are common services on local area networks. They require users to have permissions
to access the shared resources.
Other network services include:
•Directory services
•e-Mail
•File sharing
•Instant messaging
•Online game
•Printing
•File server
•Voice over IP
•Video on demand
•Video telephony
•World Wide Web
•Simple Network Management Protocol
•Time service
•Wireless sensor network
Application layer[edit]
In computer network programming, the application layer is an abstraction layer reserved for communications protocols and methods
designed for process-to-process communications across an Internet Protocol (IP) computer network. Application layer protocols use the
underlying transport layer protocols to establish host-to-host connections for network services.
TCP-IP network services[edit]
Port numbers[edit]
Main article: List of TCP and UDP port numbers
Many Internet Protocol-based services are associated with a particular well-known port number which is standardized by the Internet
technical governance.
For example World-Wide-Web servers operate on port 80, and email relay servers usually listen on port 25.
TCP versus UDP[edit]
pf3
pf4
pf5

Partial preview of the text

Download Understanding Network Services & Topologies: Packet & Circuit Switching and more Essays (high school) Computer science in PDF only on Docsity!

Sec----B

Q:

Network service

In computer networking, a network service is an application running at the network application layer and above, that provides data storage, manipulation, presentation, communication or other capability which is often implemented using a client-server or peer-to-peer architecture based on application layer network protocols.

Each service is usually provided by a server component running on one or more computers (often a dedicated server computer offering multiple services) and accessed via a network by client components running on other devices. However, the client and server components can both be run on the same machine.

Clients and servers will often have a user interface, and sometimes other hardware associated with them.

Examples[edit]

Examples are the Domain Name System (DNS) which translates domain names to Internet protocol (IP) addresses and the Dynamic Host Configuration Protocol (DHCP) to assign networking configuration information to network hosts. Authentication servers identify and authenticate users, provide user account profiles, and may log usage statistics.

E-mail, printing and Network file system services are common services on local area networks. They require users to have permissions to access the shared resources.

Other network services include:

• Directory services

• e-Mail

• File sharing

• Instant messaging

• Online game

• Printing

• File server

• Voice over IP

• Video on demand

• Video telephony

• World Wide Web

• Simple Network Management Protocol

• Time service

• Wireless sensor network

Application layer[edit]

In computer network programming, the application layer is an abstraction layer reserved for communications protocols and methods designed for process-to-process communications across an Internet Protocol (IP) computer network. Application layer protocols use the underlying transport layer protocols to establish host-to-host connections for network services.

TCP-IP network services [edit] Port numbers [edit] Main article: List of TCP and UDP port numbers

Many Internet Protocol-based services are associated with a particular well-known port number which is standardized by the Internet technical governance.

For example World-Wide-Web servers operate on port 80, and email relay servers usually listen on port 25.

TCP versus UDP [edit]

Different services use different packet transmission techniques.

In general, packets that must get through in the correct order, without loss, use TCP, whereas real time services where later packets are more important than older packets use UDP.

For example, file transfer requires complete accuracy and so is normally done using TCP, and audio conferencing is frequently done via UDP, where momentary glitches may not be noticed.

UDP lacks built-in network congestion avoidance and the protocols that use it must be extremely carefully designed to prevent network collapse.

References[edit]

See also[edit]

• Internet hosting service

• Web hosting service

• DNS hosting service

• E-mail hosting service

Q:

A rack-mounted 24-port 3Comswitch

Form factors [edit]

• Desktop, not mounted in an enclosure, typically intended to be used in a home or office environment outside a wiring closet.

• Rack-mounted, a switch that mounts in an equipment rack.

• Chassis, with swappable module cards.

• DIN rail–mounted, normally seen in industrial environments.

Configuration options [edit]

• Unmanaged switches – these switches have no configuration interface or options. They are plug and play. They are typically

the least expensive switches, and therefore often used in a small office/home office environment. Unmanaged switches can be desktop or rack mounted.

• Managed switches – these switches have one or more methods to modify the operation of the switch. Common management

methods include: a command-line interface(CLI) accessed via serial console, telnet or Secure Shell, an embedded Simple Network Management Protocol (SNMP) agent allowing management from a remote console or management station, or a web interface for management from a web browser. Examples of configuration changes that one can do from a managed switch include: enabling features such as Spanning Tree Protocol or port mirroring, setting port bandwidth, creating or modifying virtual LANs (VLANs), etc. Two sub-classes of managed switches are marketed today:

• Smart (or intelligent) switches – these are managed switches with a limited set of management features. Likewise

"web-managed" switches are switches which fall into a market niche between unmanaged and managed. For a price much lower than a fully managed switch they provide a web interface (and usually no CLI access) and allow configuration of basic settings, such as VLANs, port-bandwidth and duplex.[20]

• Enterprise managed (or fully managed) switches – these have a full set of management features, including CLI,

SNMP agent, and web interface. They may have additional features to manipulate configurations, such as the ability to display, modify, backup and restore configurations. Compared with smart switches, enterprise switches have more features that can be customized or optimized, and are generally more expensive than smart switches. Enterprise switches are typically found in networks with larger number of switches and connections, where centralized management is a significant savings in administrative time and effort. A stackable switch is a version of enterprise- managed switch.

A couple of managed D-Link Gigabit Ethernet rackmount switches, connected to the Ethernet ports on a few patch panels using Category 6patch cables (all equipment is installed in a standard 19-inch rack)

• Turn particular port range on or off

• Link bandwidth and duplex settings

Main Advantage: In a star network, one malfunctioning node doesn't affect the rest of the network. Main Disadvantage: If the central computer fails, the entire network becomes unusable.

3. Bus Topology Bus Topology : In networking a bus is the central cable -- the main wire -- that connects all devices on a local-area network (LAN). It is also called the backbone. This is often used to describe the main network connections composing the Internet. Bus networks are relatively inexpensive and easy to install for small networks. Ethernetsystems use a bus topology.

Main Advantage: It's easy to connect a computer or device and typically it requires less cable than a star topology. Main Disadvantage: The entire network shuts down if there is a break in the main wire and it can be difficult to identify the problem if the network shuts down.

4. Ring Topology

Ring Topology : A local-area network (LAN) whose topology is a ring. That is, all of the nodes are connected in a closed loop. Messages travel around the ring, with each node reading those messages addressed to it. Main Advantage: One main advantage to a ring network is that it can span larger distances than other types of networks, such as bus networks, because each node regenerates messages as they pass through it.

5. Tree Topology Tree Topology : This is a "hybrid" topology that combines characteristics of linear bus and star topologies. In a tree network, groups of star-configured networks are connected to a linear bus backbone cable.

Main Advantage: A Tree topology is a good choice for large computer networks as the tree topology "divides" the whole network into parts that are more easily manageable. Main Disadvantage: The entire network depends on a central hub and a failure of the central hub can cripple the whole network.

Q:

Packet Switching & Circuit Switching There are mainly two methodologies for transmitting data over the computer network – 1. Packet Switching and 2. Circuit Switching. Packet Switching : A digital networking communications method that groups all transmitted data – regardless of content, type, or structure – into suitably sized blocks, called packet. In packet-switching, the packets are sent towards the destination irrespective of each other. Each packet has to find its own route to the destination. There is no predetermined path; the decision as to which node to hop to in the next step is taken only when a node is reached. Each packet finds its way using the information it carries, such as the source and destination IP addresses. If a packet switch does not have enough resources, it sends a Connect Reject and the Connection Establishment Fails.

Advantage of Packet Switching: More efficient use of overall network bandwidth due to flexibility in routing the smaller packets over shared links. Packet switching networks are often cheaper to build as less equipment is needed given this ability to share. Another benefit of packet switching is known as “pipelining”. Disadvantage of Packet Switching: Longer delays in receiving messages due to the time required to package and route packets. For many applications, delays are not long enough to be significant, but for high-performance applications like real-time video, additional data compression and QoS technology is often required to achieve the required performance levels. Potential for network security risks due to the use of shared physical links. Protocols and other related elements on packet switching networks must designed with the appropriate security precautions. Circuit Switching : Circuit-switched is a type of network in which a physical path is obtained for and dedicated to a single connection between two end-points in the network for the duration of the connection. Ordinary voice phone service is circuit-switched. The telephone company reserves a specific physical path to the number you are calling for the duration of your call. During that time, no one else can use the physical lines involved. Traditional PSTN phone system uses circuit switching while VoIP uses packet switching. Difference Between Packet and Circuit Switching : Packet Switching Circuit Switching Variable rate data stream(packed) over a shared connection Constant rate data stream(packed) over some dedicated connection characterized by a fee per unit of information. characterized by a fee per time unit of connection time, even when no data is transferred Low reliable , subject to congestion Highly reliable

There are 2 modes of Packet switching –

1. Connectionless Packet Switching / Datagram Switching.

2. Connection Oriented Packet Switching / Virtual Circuit Switching.

Connectionless Packet Switching / Datagram Switching : Transmission of packets are made on Per-Packet basis.

1. Each packet routes individually.

2. Packets may route in different paths and sometimes may be out of order.

3. Each packet contains the complete addressing of their routed paths sometimes of sequence number of the packet.

4. The packets may arrive at the destination machine in an order different from the transmission order.

5. Routers in Connectionless switching network maintain a simple but long routing table that contains two columns

  • Destination Address and Output Port. Example : Ethernet , IP , UDP. Connection Oriented Packet Switching / Virtual Circuit Switching : Transmission of packets are made on Per-Packet basis.

1. Transmission of packets from a source machine to a destination machine is done on a per source‐

destination pair basis, meaning that all packets from the same source going to the same destination are transmitted over the same routes and through the same routers

2. Different packet reached their destination in order.

3. Having almost constant delay in packet transmission.

4. The packets include a connection identifier rather than address information. This identifier is changed every time when the packet is

transmitted. Address information is only transferred to each node during a connection set-up phase, when the route to the destination is discovered and an entry is added to the switching table in each network node through which the connection passes Example : X.25 , Frame Relay VCI (Virtual Circuit Identifier) are local to each switch or link.

  1. more VC can be assigned
  2. searching for an unused VCI is simple The format of the Virtual Circuit Switching Table has four columns – Input Port Input VCI Output Port Output VCI

Advantages of Virtual Circuit Switching :