Title: Networking and Internetworking
1Networking and Internetworking
- Jenhui Chen
- Assistant Professor
- http//www.csie.cgu.edu.tw/jhchen
2Networking issues for DS
- Performance
- Latency
- Data transfer rate
- Scalability
- Reliability
- Security
- Firewall
- Mobility
- Quality of service
- Multicasting
3Types of Network (1/2)
- Local Area Networks (LANs)
- Wide Area Networks (WANs)
- Metropolitan Area Networks (MANs)
- Wireless Networks
- Internetworks
- Network Comparisons
- See the following table
4Types of Network (2/2)
Range
Bandwidth (Mbps)
Latency (ms)
LAN
1-2 kms
10-1000
1-10
WAN
worldwide
0.010-600
100-500
MAN
2-50 kms
1-150
10
Wireless LAN
0.15-1.5 km
2-11
5-20
Wireless WAN
worldwide
0.010-2
100-500
Internet
worldwide
0.010-2
100-500
5Network Principles
- Packet Transmission
- Data Streaming
- Switching Schemes
- Broadcast
- Ethernet, wireless networks
- Circuit Switching
- Packet Switching
- Store-and-forward network
- Frame Relay
- Brings some of the advantages of circuit
switching to packet-switching networks - Protocols
6Conceptual layering of protocol software
Message received
Message sent
Layer n
Layer 2
Layer 1
Communication
Sender
Recipient
medium
7Encapsulation as it is applied in layered
protocols
Protocol layers
8Protocol layers in the ISO Open Systems
Interconnection (OSI) model
9OSI protocol summary
10Internetwork layers
11Routing in a wide area network
12Routing tables for the network in Figure 3.7
13Pseudo-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 lt Rl.cost or Rl.link n)) Rl Rr //
Rr.cost lt Rl.cost remote node has better
route // Rl.link n remote node is more
authoritative
14Internetworking
- Routers
- Bridges
- Hubs
- Switchs
- Switches perform a similar function to routers,
but for local networks (normally Ethernet) only. - Tunnelling
15Simplified view of the QMW Computer Science
network
16Tunnelling for IPv6 migration
17TCP/IP layers
18Encapsulation in a message transmitted via TCP
over an Ethernet
19The programmer's conceptual view of a TCP/IP
Internet
20Internet address structure, showing field sizes
in bits
21Decimal representation of Internet addresses
22IP packet layout
23IPv6 header layout
24IPv6 embodies
- Address space 128 bits (16 bytes)
- Routing speed
- Real-time and other special services
- Future evolution
- Multicast and anycast
- Security
25The Mobile IP routing mechanism
Sender
Subsequent IP packets
Mobile host MH
tunnelled to FA
Address of FA
returned to sender
First IP packet
addressed to MH
Internet
Foreign agent FA
Home
First IP packet
agent
tunnelled to FA
26TCP and UDP
- Use of ports
- UDP features
- TCP features
- Sequencing
- Flow control
- Retransmission
- Buffering
27Firewall
- Service control
- Behavior control
28Firewall configurations
29IEEE 802 network standards
30Wireless LAN configuration
31ATM protocol layers
32ATM cell layout
33Switching virtual paths in an ATM network