আমার পঠিত ব্লগ সমুহ

CCNA/Networking লেবেলটি সহ পোস্টগুলি দেখানো হচ্ছে৷ সকল পোস্ট দেখান
CCNA/Networking লেবেলটি সহ পোস্টগুলি দেখানো হচ্ছে৷ সকল পোস্ট দেখান

বৃহস্পতিবার, ১৪ জুন, ২০১২

OSI 7 LAYER MODEL(Simply stated and discussed)


OSI 7 LAYER MODEL
The OSI, or Open System Interconnection, model defines a networking framework for implementing protocols in seven layers. Control is passed from one layer to the next, starting at the application layer in one station, proceeding to the bottom layer, over the channel to the next station and back up the hierarchy.
Easy Way to Remember the OSI 7 Layer Model
All People Seem to Need Data Processing or Please Do Not Throw Sausage Pizza Away

Special thanks to M. Watkins
Application(Layer 7) This layer supports application and end-user processes. Communication partners are identified, quality of service is identified, user authentication and privacy are considered, and any constraints on data syntax are identified. Everything at this layer is application-specific. This layer provides application services for file transfers, e-mail, and other network software services.

Presentation(Layer 6) This layer provides independence from differences in data representation (e.g., encryption) by translating from application to network format, and vice versa. This layer formats and encrypts data to be sent across a network, providing freedom from compatibility problems. It is sometimes called the syntax layer.

Session(Layer 5) This layer establishes, manages and terminates connections between applications. The session layer sets up, coordinates, and terminates conversations, exchanges, and dialogues between the applications at each end. It deals with session and connection coordination.

Transport(Layer 4) This layer provides transparent transfer of data between end systems, or hosts, and is responsible for end-to-end error recovery and flow control. It ensures complete data transfer.

Network(Layer 3) This layer provides switching and routing technologies, creating logical paths, known as virtual circuits, for transmitting data from node to node. Routing and forwarding are functions of this layer, as well as addressing, internetworking, error handling, congestion control and packet sequencing.

Data Link(Layer 2) At this layer, data packets are encoded and decoded into bits. It furnishes transmission protocol knowledge and management and handles errors in the physical layer, flow control and frame synchronization. The data link layer is divided into two sublayers: The Media Access Control (MAC) layer and the Logical Link Control (LLC) layer. The MAC sublayer controls how a computer on the network gains access to the data and permission to transmit it. The LLC layer controls frame synchronization, flow control and error checking.

Physical(Layer 1) This layer conveys the bit stream - electrical impulse, light or radio signal -- through the network at the electrical and mechanical level. It provides the hardware means of sending and receiving data on a carrier, including defining cables, cards and physical aspects.


OSI Layer Model for concentrators
Hubs/Repeaters are found in the Physical Layer

Switches /Bridges/Wireless Access Point are found in the Data Link Layer

Routers are found in the Network Layer

Gateway are found in All 7 of the OSI Layers
Brouter are found in both the Data Link and Network Layer 

OSI OSI 7 Layer Model
7. Application Layer - DHCP, DNS, FTP, HTTP, IMAP4, NNTP, POP3, SMTP, SNMP, SSH, TELNET and NTPmore)
6. Presentation layer – SSL, WEP, WPA, Kerberos,
5. Session layer – Logical Ports 21, 22, 23, 80 etc…
4. Transport - TCP, SPX and UDPmore)
3. Network - IPv4, IPV6, IPX, OSPF, ICMP, IGMP and ARPMP
2. Data Link- 802.11 (WLAN), Wi-Fi, WiMAX, ATM, Ethernet, Token Ring, Frame Relay, PPTP, L2TP and ISDN-ore)
1. Physical-Hubs, Repeaters, Cables, Optical Fiber, SONET/SDN,Coaxial Cable, Twisted Pair Cable and Connectors (more)

সিসিএন এ অভিযান :: নেটওয়ার্কিং এ ক্যারিয়ার করতে আগ্রহী, শুধু তাদের জন্য – নেটওয়ার্ক পরিচিতি [অভিযান-০৩]


সিসিএনএ অভিজান একটি 3 পর্বের চেইন টিউন। এটি এই চেইন টিউনের 3 তম পর্ব

ওএসআই মডেল

osi model সিসিএন এ অভিযান :: নেটওয়ার্কিং এ ক্যারিয়ার করতে 
আগ্রহী, শুধু তাদের জন্য – নেটওয়ার্ক পরিচিতি [অভিযান ০৩] | Techtunes
ওএসআই মডেল কি?
কম্পিউটার ও অন্যান্য নেটওয়ার্কিং ডিভাইসের মধ্যে যোগাযোগ কীভাবে গড়ে উঠবে তা নির্দেশ করে ওএসআই মডেল।
ওএসআই মডেলকে সাতটি লেয়ার বা স্তরে ভাগ ভাগ করা হয়। এর স্তরসমূহ হলো :
  • এপ্লিকেশন
  • প্রেজেন্টেশন
  • সেশন
  • ট্রান্সপোর্ট
  • নেটওয়ার্ক
  • ডাটালিংক
  • ফিজিক্যাল
এপ্লিকেশন লেয়ার :
এটি হলো ওএসআই মডেলের সপ্তম লেয়ার। এপ্লিকেশন লেয়ার ইউজার ইন্টারফেস প্রদান করে এবং নেটওয়ার্ক ডাটা প্রসেস করে।এপ্লিকেশন লেয়ার যে কাজ গুলো করে থাকে রিসোর্স শেয়ারিং, রিমোট ফাইল একসেস, ডিরেক্টরী সার্ভিস ইত্যাদি। এপ্লিকেশন লেয়ারের কিছু প্রটোকল এর পোর্ট এড্রেস দেওয়া হলো
প্রটোকল এফটিপি টিএফটিপি টেলনেট ডিএইচসিপি ডিএনএস পপ আইম্যাপ এসএমটিপি এইচটিটিপি
পোর্ট এড্রেস ২০/২১ ৬৯ ২৩ ৬৭/৬৮ ৫৩ ১১০ ১৪৩ ২৫ ৮০
প্রেজেন্টেশন লেয়ার :
এই লেয়ার নেটওয়ার্ক সার্ভিসের জন্য ডাটা ট্রান্সলেটর হিসেবে কাজ করে। এই লেয়ার যে কাজ গুলো করে থাকে ডাটা কনভার্শন,ডাটা কমপ্রেশন, ডিক্রিপশন ইত্যাদি। এই লেয়ারে ব্যবহিত ডাটা ফরম্যাট গুলো হলো .জেপিজি, .এমপিইজি ইত্যাদি।
সেশন লেয়ার :
সেশন লেয়ারের কাজ হলো উৎস এবং গন্তব্য ডিভাইসের মধ্যে সংযোগ গড়ে তোলা , সেই সংযোগ কন্ট্রোল করে এবং প্রয়োজন শেষে সংযোগ বিচ্ছিন্ন করা। ডাটা পাঠানোর জন্য ৩ ধরনের কন্ট্রোল ব্যবহার করা হয় ।
সিম্পলেক্স : সিম্পলেক্স এ ডাটা একদিকে প্রবাহিত হয়।
হাফ ডুপ্লেক্স :  হাফ ডুপ্লেক্স পদ্ধতিতে একদিকের ডাটা প্রবাহ শেষ হলে অন্যদিকের ডাটা অন্য দিকের ডাটা প্রবাহিত হয়ে থাকে।
ফুল ডুপ্লেক্স : ফুল ডুপ্লেক্স পদ্ধতিতে একইসাথে উভয়দিকে ডাটা প্রবাহিত হতে পারে।
ট্রান্সপোর্ট লেয়ার :
ওএসআই মডেলের চতুর্থ লেয়ার ট্রান্সপোর্ট লেয়ার । এই লেয়ারের কাজ হলো সেশন লেয়ারের কাছ থেকে পাওয়া পাওয়া ডাটা নির্ভরযোগ্যভাবে অন্য ডিভাইসে পৌছানো নিশ্চিত করে। এই লেয়ারে ডাটা পৌছানোর জন্য দু’ধরনের ট্রান্সমিশন ব্যবহার করে:
কানেকশন ওরিয়েন্টেড
কানেকশন ওরিয়েন্টেড এ ডাটা পাঠানোর আগে প্রেরক গ্রাহক এর সাথে একটি একুনলেজ সিগন্যাল এর মাধ্যাম কানেকশন তৈরি করে থাকে। ইহা টিসিটি এর ক্ষেত্রে ঘটে থাকে।
connection oriented সিসিএন এ অভিযান :: নেটওয়ার্কিং এ ক্যারিয়ার 
করতে আগ্রহী, শুধু তাদের জন্য – নেটওয়ার্ক পরিচিতি [অভিযান ০৩] | 
Techtunes
কানেকশনলেস
কানেকশনলেস ওরিয়েন্টেড এ ডাটা পাঠানোর আগে প্রেরক গ্রাহক এর সাথে কোন একুনলেজ সিগন্যাল এর মাধ্যাম কানেকশন তৈরি করে থাকে না। ইহা ইউডিপি এর ক্ষেত্রে ঘটে থাকে।
নেটওয়ার্ক লেয়ার :
নেটওয়ার্ক লেয়ারের কাজ হলো এড্রেসিং ও প্যাকেট ডেলিভারি। এই লেয়ারে ডাটা প্যাকেটে নেটওয়ার্ক এড্রেস যোগ করে এনক্যাপসুলেশনের মাধ্যমে।এই লেয়ারে রাউটার ব্যবহিত হয়ে থাকে এবং রাউটিং টেবিল তৈরি করে থাকে।
ডাটালিংক লেয়ার :
এটি হলো ওএসআই মডেলের ২য় লেয়ার। ডাটালিংক লেয়ারের কাজ হলো ফিজিক্যাল লেয়ারের মাধ্যমে এক ডিভাইস থেকে আরেক ডিভাইসে ডাটাগ্রামকে ক্রটিমুক্তভাবে প্রেরণ করা। এই লেয়ার দুটি ডিভাইসের মধ্যে লজিক্যাল লিংক তৈরি করে।  এই লেয়ারে ডাটাকে ফ্রেম এ পরির্বতন করে।
ফিজিক্যাল লেয়ার :
ওএসআই মডেলের সর্ব নীচের লেয়ার হলো ফিজিক্যাল লেয়ার । এই লেয়ার ঠিক করে কোন পদ্ধতিতে এক ডিভাইসের সাথে আরেক ডিভাইসে সিগন্যাল ট্রান্সমিট হবে, ইলেকট্রিক সিগন্যাগ বা ডাটা বিট ফরম্যাট কি হবে ইত্যাদি। এই লেয়ারে ডাটা বিট টু বিট ট্রান্সফার হয়ে থাকে। এই লেয়ারে ব্যবহিত ডিভাইস গুলো হলো হাব, সুইজ ইত্যাদি।

বুধবার, ১৩ জুন, ২০১২

Types of Networks LAN MAN WAN CN VPN SAN Internet Extranet Intranet (CCNA/Networking)


A network is basically all of the components (hardware and software) involved in connecting computers across small and large distances. Networks are used to provide easy access to information, thus increasing productivity for users.

benefits of networking

There are lots of advantages from build up a network, but the three big facts are-
File Sharing
From sharing files you can view, modify, and copy files stored on a different computer on the network just as easily as if they were stored on your computer.
Resource Sharing
Resources such as printers, fax machines, Storage Devices (HDD, FDD and CD Drives), Webcam, Scanners, Modem and many more devices can be shared.
Program Sharing
Just as you can share files on a network, you can often also share program on a network. For example, if you have the right type of software license, you can have a shared copy of Microsoft Office, or some other program, and keep it on the network server, from where it is also run

Types of Networks

Local Area Networks

Local area networks (LANs) are used to connect networking devices that are in a very close geographic area, such as a floor of a building, a building itself, or a campus environment.

Wide Area Networks

Wide area networks (WANs) are used to connect LANs together. Typically, WANs are used when the LANs that must be connected are separated by a large distance.

Metropolitan Area Networks

A metropolitan area network (MAN) is a hybrid between a LAN and a WAN.

Storage Area Networks

Storage area networks (SANs) provide a high-speed infrastructure to move data between storage devices and file servers.
Advantage
  • Performance is fast.
  • Availability is high because of the redundancy features available.
  • Distances can span up to 10 kilometers.
  • Management is easy because of the centralization of data resources.
  • Overhead is low (uses a thin protocol).
Disadvantage of SANs is their cost.

Content Networks

Content networks (CNs) were developed to ease users' access to Internet resources.
Companies deploy basically two types of CNs:
  • caching downloaded Internet information
  • Distributing Internet traffic loads across multiple servers

Intranet

An intranet is basically a network that is local to a company. In other words, users from within this company can find all of their resources without having to go outside of the company. An intranet can include LANs, private WANs and MANs,

Extranet

An extranet is an extended intranet, where certain internal services are made available to known external users or external business partners at remote locations.

Internet

An internet is used when unknown external users need to access internal resources in your network. In other words, your company might have a web site that sells various products, and you want any external user to be able to access this service.

VPN

A virtual private network (VPN) is a special type of secured network. A VPN is used to provide a secure connection across a public network, such as an internet. Extranets typically use a VPN to provide a secure connection between a company and its known external users or offices.
Authentication is provided to validate the identities of the two peers.
Confidentiality provides encryption of the data to keep it private from prying eyes.
Integrity is used to ensure that the data sent between the two devices or sites has not been tampered with.

10BaseT 10BaseF 10Base2 5-4-3 rule 10Base5 100BaseFX 100BaseT4 100BaseTX (CCNA) & cables speed


IEEE shorthand identifiers, such as 10Base5, 10Base2, 10BaseT, and 10BaseF include three pieces of information:

  • The number 10: At the front of each identifier, 10 denotes the standard data transfer speed over these media - ten megabits per second (10Mbps).
  • The word Base: Short for Baseband, this part of the identifier signifies a type of network that uses only one carrier frequency for signaling and requires all network stations to share its use.
  • The segment type or segment length: This part of the identifier can be a digit or a letter:
  • Digit - shorthand for how long (in meters) a cable segment may be before attenuation sets in. For example, a 10Base5 segment can be no more than 500 meters long.
  • Letter - identifies a specific physical type of cable. For example, the
  • T at the end of 10BaseT stands for twisted-pair.

10BaseT

One of the most common types of Ethernet in use today is 10BaseT. This particular implementation uses four-pair UTP wiring (Cat3 or higher, but most commonly you will see Cat5) using RJ-45 connectors. Each cable is connected from each network device to a central hub in a physical star topology. Within the hub, the signals are repeated and forwarded to all other nodes on the network because it is a logical bus topology. Older network interface cards are configured with jumpers to set addresses and interrupts.
Today's network interface cards can be managed through a diagnostic program, or automatically configure themselves through plug and play technology. There is a limit of 1024 devices on an Ethernet segment, plus you can have a maximum of 1024 network segments. A UTP cable has a maximum distance of 100 meters, which is equivalent to 328 feet.

10BaseF

10BaseF is an implementation of Ethernet 802.3 over fiber optic cabling. 10BaseF offers only 10 Mbps, even though the fiber optic media has the capacity for much faster data rates. One of the implementations of 10BaseF is to connect two hubs as well as connecting hubs to workstations. The best time to use 10BaseF is in the rewiring of a network from copper to fiber optic, when you need an intermediate protocol using the new wiring. 10BaseF is not often a permanent solution because the data rate is so low and the cabling so expensive in comparison to using UTP.

10Base2

10Base2, also called ThinNet, is one of the two Ethernet specifications that use coaxial cable. (One of the best ways to remember that10Base2 is ThinNet, and 2 is smaller than 10Base5, which is ThickNet.) One of the most important issues to remember in an Ethernet coax wiring scheme is the 5-4-3 rule,
5-4-3 rule
which states that you can have up to five cable segments, connected by four repeaters, with no more than three of these segments being mixing segments. In the days of coaxial cable networks, this meant that you could have up to three mixing segments of 500 or 185 meters each (for 10Base5 and 10Base2, respectively) populated with multiple computers and connected by two repeaters. You could also add two additional repeaters to extend the network with another two cable segments of 500 or 185 meters each, as long as these were link segments connected directly to the next repeater in line, with no intervening computers,
A 10Base2 network could therefore span up to 925 meters and a 10Base5 network up to 2,500 meters which states that there can only be 5 segments in a series and 4 repeaters between these 5 segments, although only 3 of the segments can be populated with devices. 10Base2 uses BNC connectors and is implemented as both a physical and logical bus topology using RG-58 cabling.
The minimum distance for cables between workstations must be at least a half-meter. Drop cables should not be used to connect a BNC connector to the network interface card (NIC) because this will cause signaling problems unless the NIC is terminated. 10Base2 ThinNet segments cannot be longer than 185 meters, although it is often exaggerated to 200 meters, and you can't put more than 30 devices on each populated segment. The entire cabling scheme, including all five segments, can't be longer than 925 meters.

10Base5

10Base5 is nearly identical to 10Base2, except that it uses a different type of cabling and media connector. 10Base5 is known as ThickNet because it uses the RG-8 coaxial cable. It requires an external transceiver to attach to the network interface card on each device. The transceiver is a device that translates the workstation's digital signal to a baseband cabling format. ThinNet and UTP network interface cards have built-in transceivers. Only 10Base5 ThickNet network interfaces use external transceivers. In the 10Base5 configuration, the NIC attaches to the external transceiver using an AUI connector. The transceiver then clamps into the ThickNet cabling, which is why it is usually called a vampire tap. 10Base5 can also use BNC connectors. For 10Base5, the following rules apply: First the 5-4-3 rule applies to ThickNet just as it did to ThinNet. In addition, the minimum cable distance between each transceiver is 2.5 meters. The maximum network segment length is 500 meters, which is where 10Base5 gets the "5" in its name. The entire set of five segments cannot exceed 2,500 meters. You can have 100 devices on a 10Base5 network segment.

100BaseFX

100BaseFX is simply Fast Ethernet over fiber. Originally, the specification was known as 100Base-X over CDDI (Copper Data Digital Interface) or FDDI (Fiber Data Digital Interface). Because the signaling is so vastly different, these two technologies were split into 100BaseFX and 100BaseTX. 100BaseFX runs over multimode fiber. There are two types of fiber in use. Multimode fiber optic cables use LEDs to transmit data and are thick enough that the light signals bounce off the walls of the fiber. The dispersion of the signal limits the length of multimode fiber. Single mode fiber optic cables use injected lasers to transmit the data along fiber optic cable with an extremely small diameter. Because the laser signal can travel straight without bouncing and dispersing, the signal can travel much farther than multimode.

100BaseT4

100BaseT4 was the specification created to upgrade 10BaseT networks over Cat3 wiring to 100 Mbps without having to replace the wiring. Using four pairs of twisted pair wiring, two of the four pairs are configured for half-duplex transmission (data can move in only one direction at a time). The other two pairs are configured as simplex transmission, which means data moves only in one direction on a pair all the time.

100BaseTX

100BaseTX, Fast Ethernet, transmits data at 100 Mbps. Leveraging the existing IEEE 802.3u standard rules, Fast Ethernet works nearly identically to 10BaseT, including that it has a physical star topology using a logical bus. 100BaseTX requires Cat5 UTP.

Gigabit Ethernet

The fastest form of Ethernet is currently Gigabit Ethernet, also known as 1000BaseT over Cat5 or highergrade cable, using all four pairs of the cable. It uses a physical star topology with logical bus. There is also 1000BaseF, which runs over multimode fiber optic cabling. Data transmission is full-duplex, but half-duplex is also supported.

1.3 Specify the characteristics (For example: speed, length, topology, and cable type) of the following cable standards:

  • 10BASE-T and 10BASE-FL
  • 100BASE-TX and 100BASE-FX
  • 1000BASE-T, 1000BASE-CX, 1000BASE-SX and 1000BASE-LX
  • 10 GBASE-SR, 10 GBASE-LR and 10 GBASE-ER

Summary Table

Designation
Supported Media
Maximum Segment Length
Transfer Speed
Topology
10Base-5Coaxial500m10MbpsBus
10Base-2ThinCoaxial (RG-58 A/U)185m10MbpsBus
10Base-TCategory3 or above unshielded twisted-pair (UTP)100m10MbpsStar,using either simple repeater hubs or Ethernet switches
1Base-5Category3 UTP, or above100m1MbpsStar,using simple repeater hubs
10Broad-36Coaxial(RG-58 A/U CATV type)3600m10MbpsBus(often only point-to-point)
10Base-FLFiber-optic- two strands of multimode 62.5/125 fiber2000m (full-duplex)10MbpsStar(often only point-to-point)
100Base-TXCategory5 UTP100m100MbpsStar,using either simple repeater hubs or Ethernet switches
100Base-FXFiber-optic- two strands of multimode 62.5/125 fiber
412 meters (Half-Duplex)
2000 m (full-duplex)
100 Mbps
(200 Mb/s full-duplex mode)
Star(often only point-to-point)
1000Base-SXFiber-optic- two strands of multimode 62.5/125 fiber260m1GbpsStar,using buffered distributor hub (or point-to-point)
1000Base-LXFiber-optic- two strands of multimode 62.5/125 fiber or monomode fiber440m (multimode) 5000 m (singlemode)1GbpsStar,using buffered distributor hub (or point-to-point)
1000Base-CXTwinax,150-Ohm-balanced, shielded, specialty cable25m1GbpsStar(or point-to-point)
1000Base-TCategory5100m1GbpsStar

802.5 (token ring)

The IEEE 802.5 Token Ring standards define services for the OSI physical layer and the MAC sublayer of the data link layer. Token Ring computers are situated on a continuous network loop. A Token Ring controls access to the network by passing a token, from one computer to the next. Before they can transmit data they must wait for a free token, thus token passing does not allow two or more computers to begin transmitting at the same time.
  • Token Ring has some major advantages over Ethernet:
  • The maximum frame size for Token Ring is 4k, which is much more efficient that the small Ethernet maximum.
  • Token Ring has long-distance capability.
  • Every station in the ring is guaranteed access to the token at some point; thus, every station can transmit data.
  • Error detection and recovery techniques are also enhanced in a Token Ring environment by using a monitor function normally controlled by a server. For example, if the token is lost or corrupted, the protocol provides a mechanism to generate a new token after a specified time interval has elapsed.
Media
MAC Method
Signal Propagation Method
Speed
Topologies
Maximum Connections
Twisted-pair(various types)Token passingForwarded from device to device (or port to port on a hub) in a closed loop4Mbps

16 Mbps
Ring

Star-using Token Ring repeater hubs
255nodes per segment

802.11b (wireless)

802.11b is a wireless Ethernet technology operating at 11MB. 802.11b devices use Direct Sequence Spread Spectrum (DSSS) radio technology operating in the 2.4GHz frequency band. An 802.11b wireless network consists of wireless NICs and access points. Access points act as wireless hubs to link multiple wireless NICs into a single subnet. Access points also have at least one fixed Ethernet port to allow the wireless network to be bridged to a traditional wired Ethernet network.. Wireless and wired devices can coexist on the same network. 802.11b devices can communicate across a maximum range of 50-300 feet from each other.

FDDI networking technologies

Fiber Distributed Data Interface, shares many of the same features as token ring, such as a token passing, and the continuous network loop configuration. But FDDI has better fault tolerance because of its use of a dual, counter-rotating ring that enables the ring to reconfigure itself in case of a link failure. FDDI also has higher transfer speeds, 100 Mbps for FDDI, compared to 4 - 16 Mbps for Token Ring. Unlike Token Ring, which uses a star topology, FDDI uses a physical ring. Each device in the ring attaches to the adjacent device using a two stranded fiber optic cable. Data travels in one direction on the outer strand and in the other direction on the inner strand. When all devices attached to the dual ring are functioning properly, data travels on only one ring. FDDI transmits data on the second ring only in the event of a link failure.
Media
MAC Method
Signal Propagation Method
Speed
Topologies
Maximum Connections
Fiber-opticToken passingForwardedfrom device to device (or port to port on a hub) in a closed loop100 MbpsDouble ringStar500 nodes

Main features of 802.2 Logical Link Control 802.3 Ethernet 802.5 token ring 802.11 (CCNA)


  • Access method
  • CSMA / CD (Carrier Sense Multiple Access / Collision Detection)
  • CSMA / CA (Carrier Sense Multiple Access/Collision Avoidance)
  • Topology
  • Media
  • Speed

Gaining Access to the Media

Media access methods are independent of the physical and logical topologies. You will find that there are usually just a few combinations that seem to work well, however. Media access methods are simply the rules that govern how a device can submit data to the network. Each access method will have a different effect on network traffic.

Contention as a Method of Media Access

Contention, often called random access, is the media access method that acts as an open door to anyone who wants to walk in. Two types of contention methods exist for media access; they are similar, but a single difference between them changes how efficiently they operate. They are:
  • CSMA/CD (Carrier Sense Multiple Access / Collision Detection)
  • CSMA/CA (Carrier Sense Multiple Access/Collision Avoidance)

CSMA/CD

In a traditional, or hub-based, Ethernet environment, only one NIC can successfully send a frame at a time. All NICs, however, can simultaneously listen to information on the wire. Before an Ethernet NIC puts a frame on the wire, it will first sense the wire to ensure that no other frame is currently on the wire. If the cable uses copper, the NIC can detect this by examining the voltage levels on the wire. If the cable is fiber, the NIC can detect this by examining the light frequencies on the wire. The NIC must go through this sensing process, since the Ethernet medium supports

multiple access

another NIC might already have a frame on the wire. If the NIC doesn't sense a frame on the wire, it will transmit its own frame; otherwise, if a frame is found on the wire, the NIC will wait for the completion of the transmission of the frame and then transmit its own frame.

Collision Detection

If two or more devices simultaneously sense the wire and see no frame, and each places its frame on the wire, a collision will occur. In this situation, the voltage levels on a copper wire or the light frequencies on a piece of fiber get messed up. For example, if two NICs attempt to put the same voltage on an electrical piece of wire, the voltage level will be different from that of only one device. Basically, the two original frames become unintelligible (or indecipherable). The NICs, when they place a frame on the wire, examine the status of the wire to ensure that a collision does not occur: this is the collision detection mechanism of CSMA/CD.
If the NICs see a collision for their transmitted frames, they have to resend the frames. In this instance, each NIC that was transmitting a frame when a collision occurred creates a special signal, called a jam signal on the wire. It then waits a small random time period, and senses the wire again. If no frame is currently on the wire, the NIC will then retransmit its original frame. The time period that the NIC waits is measured in microseconds, a delay that can't be detected by a human. Likewise, the time period the NICs wait is random to help ensure a collision won't occur again when these NICs retransmit their frames. The more devices you place on an Ethernet segment, the more likely you will experience collisions. If you put too many devices on the segment, too many collisions will occur, seriously affecting your throughput. Therefore, you need to monitor the number of collisions on each of your network segments. The more collisions you experience, the less throughput you will get.

CSMA/CA

WLANs use a mechanism called Carrier Sense, Multiple Access/Collision Avoidance (CSMA/CA). Unlike Ethernet, it is impossible to detect collisions in a wireless medium. In a WLAN, a device cannot simultaneously send or receive and thus cannot detect a collision: it can only do one or the other. To avoid collisions, a device will use Ready-to-Send (RTS) and Clear-to-Send (CTS) signals. When a device is ready to transmit, it first senses the airwaves for a current signal. If there is none, it generates an RTS signal, indicating that data is about to send. It then sends its data and finishes by sending a CTS signal, indicating that another wireless device can now transmit.

Ethernet (802.3) and LLC (802.2)

There are two ways that specifications become standards. One is through standardized development, and the other is through common usage of a proprietary specification, where the usage becomes so prevalent that the specification is adopted as a standard. Ethernet is the latter. The IEEE was not the first to develop Ethernet. That honor goes to the research and development efforts of three companies in the 1970s: Digital, Intel, and Xerox, which were known collectively as DIX. Later on, the IEEE based its 802.3 standard on the DIX specification. In return, DIX updated its implementation to match the small changes made by the IEEE.
Nowadays, Ethernet is used for these and several other specifications. Ethernet 802.3 is generally implemented in conjunction with 802.2. The system uses the CSMA/CD media access method, with a logical bus topology. Physically, Ethernet can be either a star or a bus. It can use copper coaxial cabling, UTP, and fiber optics. Since Ethernet uses the broadcast system of a bus topology, each node receives every data message and examines the frame header to see whether the message is meant to be received by it. If not, the frames are discarded; if so, the frames are passed on to upper layer protocols so that the receiving application can act on them.
Data Link LayerNameIEEE StandardDescription
Top partLogical Link Control (LLC)802.2
Defines how to multiplex multiple network layer protocols in the data link layer frame, which doesn't have to be Ethernet. LLC is performed in software.
Bottom partMedia Access Control (MAC)802.3
Defines how information is transmitted in an Ethernet environment and defines the framing, MAC addressing, and mechanics as to how Ethernet works. MAC is performed in hardware.

Function of TCP UDP protocols DNS NAT ICS WINS SNMP NFS SMB AFP ISDN FDDI (CCNA)


The Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP) are used to transmit network data to and from server and client applications. The main difference between the two protocols is that TCP uses a connection-oriented transport, while UDP uses a connectionless type of communication. When the TCP protocol is used, a special connection is opened up between two network devices, and the channel remains open to transmit data until it is closed.

On the other hand, a UDP transmission does not make a proper connection and merely broadcasts its data to the specified network address without any verification of receipt. For certain types of applications and services, a TCP connection makes more sense, while other types are more efficiently provided by UDP communication. The advantage of TCP is that the transmission is much more reliable because it uses acknowledgement packets to ensure delivery. The advantage of UDP is that there is no connection, so it is much faster without all the checks and acknowledgements going on, but is also less reliable. In Table some common TCP/IP applications are shown with the type of protocol they use.
ProtocolCommon Port
FTP (File Transfer Protocol)20, 21
SSH (Secure Shell)22
Telnet23
SMTP (Simple Mail Transfer Protocol)25
DNS (Domain Name Service)53
TFTP (Trivial File Transfer Protocol)69
HTTP (Hypertext Transfer Protocol)80
POP3 (Post Office Protocol version 3)110
NNTP (Network News Transport Protocol)119
NTP (Network Time Protocol)123
IMAP4 (Internet Message Access Protocol version 4)143
HTTPS (Hypertext Transfer Protocol Secure)443

DNS

TCP/IP networks communicate with hosts using their IP addresses. It would be very difficult for someone to have to memorize the different IP addresses for the hosts they want to connect to on the network. A Domain Name Service (DNS) makes it easier to identify a host by a domain name. A domain name uses words rather than numbers to identify Internet hosts. Suppose you want to connect to the CompTIA Web site by using your Web browser. You would enter
http://www.comptia.org
In the address bar to go to the Comp TIA Web page. www.comptia.org would be a common name used for a numerical IP address. You could use 216.119.103.72 instead, but www.comptia.org is easier to remember. A DNS server translates these addresses. Your Web browser asks the TCP/IP protocol to ask the DNS server for the IP address of www.comptia.org. When the browser receives the address, it connects to the Web site. Remember that DNS stands for Domain Name System (or Domain Name Service) and that a DNS server translates domain names into their IP addresses.

NAT (Network Address Translation)

NAT translates one IP address to another. This can be a source address or a destination address. Two basic implementations of NAT can be used: static and dynamic

Static NAT

With static NAT, a manual translation is performed by an address translation device, translating one IP address to a different one. Typically, static NAT is used to translate destination IP addresses in packets as they come into your network, but you can translate source addresses also.

Dynamic NAT

With static address translation, you need to build the translations manually. If you have 1000 devices, you need to create 1000 static entries in the address translation table, which is a lot of work. Typically, static translation is done for inside resources that outside people want to access. When inside users access outside resources, dynamic translation is typically used. In this situation, the global address assigned to the internal user isn’t that important, since outside devices don’t directly connect to your internal users—they just return traffic to them that the inside user requested.

ICS (Internet Connection Sharing)

ICS (Internet Connection Sharing) is a built-in feature of Windows 98 Second Edition, Windows 2000, Windows Me, and Windows Xp. ICS provides networked computers with the capability to share a single connection to the Internet. Multiple users can use ICS to gain access to the Internet through a single connection by using Dial-Up Networking or local networking.

WINS (Windows Internet Name Service)

While DNS resolves host names to IP addresses, WINS resolves NetBIOS names to IP addresses. Windows Internet Name Service provides a dynamic database of IP address to NetBIOS name resolution mappings. WINS, determines the IP address associated with a particular network computer. This is called name resolution. WINS supports network client and server computers running Windows. WINS uses a distributed database that is automatically updated with the names of computers currently available and the IP address assigned to each one. DNS is an alternative for name resolution suitable for network computers with fixed IP addresses.

SNMP (Simple Network Management Protocol)

Simple Network Management Protocol, is a TCP/IP protocol for monitoring networks and network components. SNMP uses small utility programs called agents to monitor behavior and traffic on the network, in order to gather statistical data. These agents can be loaded onto managed devices such as hubs, NIC's, servers, routers, and bridges. The gathered data is stored in a MIB (management information base). To collect the information in a usable form, a management program console polls these agents and downloads the information from their MIB's, which then can be displayed as graphs, charts and sent to a database program to be analyzed.

NFS (Network File System)

Network File System (NFS) is a distributed file system that allows users to access files and directories located on remote computers and treat those files and directories as if they were local.

Zeroconf (Zero configuration)

Zero Configuration Networking is a set of techniques that automatically create a usable IP network without configuration or special servers. This allows unknowledgeable users to connect computers, networked printers, and other items together and expect them to work automatically. Without Zeroconf or something similar, a knowledgeable user must either set up special servers, like DHCP and DNS, or set up each computer's network settings manualy.
Zeroconf currently solves three problems :
  • Choose numeric network addresses for networked items
  • Figure out which computer has a certain name
  • Figure out where to get services, like printing.

SMB (Server Message Block)

A file-sharing protocol designed to allow networked computers to transparently access files that reside on remote systems over a variety of networks. The SMB protocol defines a series of commands that pass information between computers. SMB uses four message types: session control, file, printer, and message. It is mainly used by Microsoft Windows equipped computers. SMB works through a client-server approach, where a client makes specific requests and the server responds accordingly. One section of the SMB protocol is specifically for filesystem access, such that clients may make requests to a file server. The SMB protocol was optimised for local subnet usage, but one could use it to access different subnets across the Internet on which MS Windows file-and-print sharing exploits usually focus. Client computers may have their own hard disks, which are not publicly shared, yet also want access to the shared file systems and printers on the server, and it is for this primary purpose that SMB is best known and most heavily used.

AFP (Apple File Protocol)

The file sharing protocol used in an AppleTalk network. In order for non-Apple networks to access data in an AppleShare server, their protocols must translate into the AFP language. AFP versions 3.0 and greater rely exclusively on TCP/IP (port 548 or 427) for establishing communication, supporting AppleTalk only as a service discovery protocol. The AFP 2.x family supports both TCP/IP and AppleTalk for communication and service discovery.

LPD (Line Printer Daemon) and Samba)

LPD is the primary UNIX printing protocol used to submit jobs to the printer. The LPR component initiates commands such as "print waiting jobs," "receive job," and "send queue state," and the LPD component in the print server responds to them. The most common implementations of LPD are in the official BSD UNIX operating system and the LPRng project. The Common Unix Printing System (or CUPS), which is more common on modern Linux distributions, borrows heavily from LPD. Unix and Mac OS X Servers use the Open SourceSAMBA to provide Windows users with Server Message Block (SMB) file sharing.

WAN (Wide Area Networks) technologies:

Circuit-switched

services provide a temporary connection across a phone circuit. In networking, these are typically used for backup of primary circuits and for temporary boosts of bandwidth.

dedicated circuit

dedicated circuit is a permanent connection between two sites in which the bandwidth is dedicated to that company’s use. These circuits are common when a variety of services, such as voice, video, and data, must traverse the connection and you are concerned about delay issues with the traffic and guaranteed bandwidth.

Cell-switched

cell-switched services can provide the same features that dedicated circuits offer. Their advantage over dedicated circuits is that a single device can connect to multiple devices on the same interface. The downside of these services is that they are not available at all locations, they are difficult to set up and troubleshoot, and the equipment is expensive when compared to equipment used for dedicated circuits.

Packet switching

Packet-switched services are similar to cell-switched services. Whereas cell-switched services switch fixed-length packets called cells, packet-switched services switch variable-length packets. This feature makes them better suited for data services, but they can nonetheless provide some of the QoS features that cell-switched services provide. Packet switching offers more efficient use of a telecommunication provider's network bandwidth. With packet switching, the switching mechanisms on the network route each data packet from switch to switch individually over the network using the best-available path. Any one physical link in a packet-switched network can carry packets from many different senders and for many different destinations. Where as in a circuit switched connection, the bandwidth is dedicated to one sender and receiver only.

ISDN (Integrated Services Digital Network)

Integrated Services Digital Network adapters can be used to send voice, data, audio, or video over standard telephone cabling. ISDN adapters must be connected directly to a digital telephone network. ISDN adapters are not actually modems, since they neither modulate nor demodulate the digital ISDN signal. Like standard modems, ISDN adapters are available both as internal devices that connect directly to a computer's expansion bus and as external devices that connect to one of a computer's serial or parallel ports. ISDN can provide data throughput rates from 56 Kbps to 1.544 Mbps using a T1 service. ISDN hardware requires a NT (network termination) device, which converts network data signals into the signaling protocols used by ISDN. Some times, the NT interface is included, or integrated, with ISDN adapters and ISDN-compatible routers. In other cases, an NT device separate from the adapter or router must be implemented. ISDN works at the physical, data link, network, and transport layers of the OSI Model.

FDDI (Fiber Distributed Data Interface)

Fiber Distributed Data Interface, shares many of the same features as token ring, such as a token passing, and the continuous network loop configuration. But FDDI has better fault tolerance because of its use of a dual, counter-rotating ring that enables the ring to reconfigure itself in case of a link failure. FDDI also has higher transfer speeds, 100 Mbps for FDDI, compared to 4 - 16 Mbps for Token Ring. Unlike Token Ring, which uses a star topology, FDDI uses a physical ring. Each device in the ring attaches to the adjacent device using a two stranded fiber optic cable. Data travels in one direction on the outer strand and in the other direction on the inner strand. When all devices attached to the dual ring are functioning properly, data travels on only one ring. FDDI transmits data on the second ring only in the event of a link failure.
MediaMAC MethodSignal Propagation MethodSpeedTopologiesMaximum Connections
Fiber-opticToken passingForwarded from device to device (or port to port on a hub) in a closed loop100 MbpsDouble ring Star500 nodes

T1 (T Carrier level 1)

A 1.544 Mbps point to point dedicated, digital circuit provided by the telephone companies. T1 lines are widely used for private networks as well as interconnections between an organizations LAN and the telco. A T1 line uses two pairs of wire one to transmit, and one to receive. and time division multiplexing (TDM) to interleave 24 64-Kbps voice or data channels. The standard T1 frame is 193 bits long, which holds 24 8-bit voice samples and one synchronization bit with 8,000 frames transmitted per second. T1 is not restricted to digital voice or to 64 Kbps data streams. Channels may be combined and the total 1.544 Mbps capacity can be broken up as required.

T3 (T Carrier level 3)

A T3 line is a super high-speed connection capable of transmitting data at a rate of 45 Mbps. A T3 line represents a bandwidth equal to about 672 regular voice-grade telephone lines, which is wide enough to transmit real time video, and very large databases over a busy network. A T3 line is typically installed as a major networking artery for large corporations, universities with high-volume network traffic and for the backbones of the major Internet service providers.

OCx (Optical Carrier)

Optical Carrier, designations are used to specify the speed of fiber optic networks that conforms to the SONET standard.
LevelSpeed
OC-151.85
Mbps
OC-3155.52
Mbps
OC-12622.08
Mbps
OC-241.244
Gbps
OC-482.488
Gbps

X.25

X.25 is a network layer protocol that runs across both synchronous and asynchronous physical circuits, providing a lot of flexibility for your connection options. X.25 was actually developed to run across unreliable medium. It provides error detection and correction, as well as flow control, at both the data link layer (by LAPB) and the network layer (by X.25). In this sense, it performs a function similar to what TCP, at the transport layer, provides for IP. Because of its overhead, X.25 is best delegated to asynchronous, unreliable connections. If you have a synchronous digital connection, another protocol, such as Frame Relay or ATM, is much more efficient. An X.25 network transmits data with a packet-switching protocol, bypassing noisy telephone lines. This protocol relies on an elaborate worldwide network of packet-forwarding nodes that can participate in delivering an X.25 packet to its designated address.

Internet access technologies:

xDSL (Digital Subscriber Line)

xDSL is a term referring to a variety of new Digital Subscriber Line technologies. Some of these varieties are asymmetric with different data rates in the downstream and upstream directions. Others are symmetric. Downstream speeds range from 384 Kbps (or "SDSL") to 1.5-8 Mbps (or "ADSL").

Asymmetric Digital Subscriber Line (ADSL)

A high-bandwidth digital transmission technology that uses existing phone lines and also allows voice transmissions over the same lines. Most of the traffic is transmitted downstream to the user, generally at rates of 512 Kbps to about 6 Mbps.

Broadband Cable (Cable modem)

Cable modems use a broadband connection to the Internet through cable television infrastructure. These modems use frequencies that do not interfere with television transmission.

POTS / PSTN

(Plain Old Telephone Service / Public Switched Telephone Network) POTS / PSTN use modem's, which is a device that makes it possible for computers to communicate over telephone lines. The word modem comes from Modulate and Demodulate. Because standard telephone lines use analog signals, and computers digital signals, a sending modem must modulate its digital signals into analog signals. The computers modem on the receiving end must then demodulate the analog signals into digital signals. Modems can be external, connected to the computers serial port by an RS-232 cable or internal in one of the computers expansion slots. Modems connect to the phone line using standard telephone RJ-11 connectors.

Wireless

A wireless network consists of wireless NICs and access points. NICs come in different models including PC Card, ISA, PCI, etc. Access points act as wireless hubs to link multiple wireless NICs into a single subnet. Access points also have at least one fixed Ethernet port to allow the wireless network to be bridged to a traditional wired Ethernet network, such as the organization’s network infrastructure. Wireless and wired devices can coexist on the same network.
  • WLAN (Wireless Local Area Network) A group of computers and associated devices that communicate with each other wirelessly.
  • WPA (Wi-Fi Protected Access) A security protocol for wireless networks that builds on the basic foundations of WEP. It secures wireless data transmission by using a key similar to WEP, but the added strength of WPA is that the key changes dynamically. The changing key makes it much more difficult for a hacker to learn the key and gain access to the network.
  • WPA2 (Wi-Fi Protected Access 2) WPA2 is the second generation of WPA security and provides a stronger encryption mechanism through Advanced Encryption Standard (AES), which is a requirement for some government users.
  • WPA-Personal A version of WPA that uses long and constantly changing encryption keys to make them difficult to decode.
  • WPA-Enterprise A version of WPA that uses the same dynamic keys as WPA-Personal and also requires each wireless device to be authorized according to a master list held in a special authentication server.