Download presentation
Presentation is loading. Please wait.
Published byAsher Dorsey Modified over 9 years ago
1
Networking and Internetworking Jenhui Chen Assistant Professor http://www.csie.cgu.edu.tw/jhchen
2
Networking issues for DS zPerformance yLatency yData transfer rate zScalability zReliability zSecurity yFirewall zMobility zQuality of service zMulticasting
3
Types of Network (1/2) zLocal Area Networks (LANs) zWide Area Networks (WANs) zMetropolitan Area Networks (MANs) zWireless Networks zInternetworks zNetwork Comparisons ySee the following table
4
Types of Network (2/2) RangeBandwidth (Mbps)Latency (ms) LAN1-2 kms10-10001-10 WANworldwide0.010-600100-500 MAN2-50 kms1-15010 Wireless LAN0.15-1.5 km2-115-20 Wireless WANworldwide0.010-2100-500 Internetworldwide0.010-2100-500
5
Network Principles zPacket Transmission zData Streaming zSwitching Schemes yBroadcast xEthernet, wireless networks yCircuit Switching yPacket Switching xStore-and-forward network yFrame Relay xBrings some of the advantages of circuit switching to packet-switching networks zProtocols
6
Conceptual layering of protocol software Layer n Layer 2 Layer 1 Message sent Message received Communication medium SenderRecipient
7
Encapsulation as it is applied in layered protocols Protocol layers
8
Protocol layers in the ISO Open Systems Interconnection (OSI) model
9
OSI protocol summary LayerDescriptionExamples ApplicationProtocols that are designed to meet the communication requirements of specific applications, often defining the interface to a service. HTTP, FTP,SMTP, CORBA IIOP PresentationProtocols at this level transmit data in a network representation that is independent of the representations used in individual computers, which may differ. Encryption is also performed in this layer, if required. Secure Sockets (SSL),CORBA Data Rep. SessionAt this level reliability and adaptation are performed, such as detection of failures and automatic recovery. TransportThis is the lowest level at which messages (rather than packets) are handled. Messages are addressed to communication ports attached to processes, Protocols in this layer may be connection-oriented or connectionless. TCP,UDP NetworkTransfers data packets between computers in a specific network. In a WAN or an internetwork this involves the generation of a route passing through routers. In a single LAN no routing is required. IP,ATM virtual circuits Data linkResponsible for transmission of packets between nodes that are directly connected by a physical link. In a WAN transmission is between pairs of routers or between routers and hosts. In a LAN it is between any pair of hosts. Ethernet MAC, ATM cell transfer, PPP PhysicalThe circuits and hardware that drive the network. It transmits sequences of binary data by analogue signalling, using amplitude or frequency modulation of electrical signals (on cable circuits), light signals (on fibre optic circuits) or other electromagnetic signals (on radio and microwave circuits). Ethernet base- band signalling,ISDN
10
Internetwork layers
11
Routing in a wide area network Hosts Links or local networks A DE B C 1 2 5 4 3 6 Routers
12
Routing tables for the network in Figure 3.7 Routings from DRoutings from E ToLinkCostToLinkCost A B C D E 3 3 6 local 6 1 2 2 0 1 A B C D E 4 4 5 6 2 1 1 1 0 Routings from ARoutings from BRoutings from C ToLinkCostToLinkCostToLinkCost A B C D E local 1 1 3 1 0 1 2 1 2 A B C D E 1 2 1 4 1 0 1 2 1 A B C D E 2 2 5 5 2 1 0 2 1
13
Pseudo-code for RIP routing algorithm Send: Each t seconds or when Tl changes, send Tl on each non-faulty outgoing link. Receive: Whenever a routing table Tr is received on link n: for all rows Rr in Tr { if (Rr.link | n) { Rr.cost = Rr.cost + 1; Rr.link = n; if (Rr.destination is not in Tl) add Rr to Tl; // add new destination to Tl else for all rows Rl in Tl { if (Rr.destination = Rl.destination and (Rr.cost < Rl.cost or Rl.link = n)) Rl = Rr; // Rr.cost < Rl.cost : remote node has better route // Rl.link = n : remote node is more authoritative }
14
Internetworking zRouters zBridges zHubs zSwitchs ySwitches perform a similar function to routers, but for local networks (normally Ethernet) only. zTunnelling
15
Simplified view of the QMW Computer Science network
16
Tunnelling for IPv6 migration AB IPv6 IPv6 encapsulated in IPv4 packets Encapsulators IPv4 network
17
TCP/IP layers Messages (UDP) or Streams (TCP) Application Transport Internet UDP or TCP packets IP datagrams Network-specific frames Message Layers Underlying network Network interface
18
Encapsulation in a message transmitted via TCP over an Ethernet Application message TCP header IP header Ethernet header Ethernet frame port TCP IP
19
The programmer's conceptual view of a TCP/IP Internet
20
Internet address structure, showing field sizes in bits
21
Decimal representation of Internet addresses
22
IP packet layout
23
IPv6 header layout
24
IPv6 embodies zAddress space: 128 bits (16 bytes) zRouting speed zReal-time and other special services zFuture evolution zMulticast and anycast zSecurity
25
The Mobile IP routing mechanism Sender Home Mobile host MH Foreign agent FA Internet agent First IP packet addressed to MH Address of FA returned to sender First IP packet tunnelled to FA Subsequent IP packets tunnelled to FA
26
TCP and UDP zUse of ports zUDP features zTCP features ySequencing yFlow control yRetransmission yBuffering
27
Firewall zService control zBehavior control
28
Firewall configurations
29
IEEE 802 network standards IEEE No.TitleReference 802.3CSMA/CD Networks (Ethernet)[IEEE 1985a] 802.4Token Bus Networks[IEEE 1985b] 802.5Token Ring Networks[IEEE 1985c] 802.6Metropolitan Area Networks[IEEE 1994] 802.11Wireless Local Area Networks[IEEE 1999]
30
Wireless LAN configuration
31
ATM protocol layers
32
ATM cell layout
33
Switching virtual paths in an ATM network
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.