Bài giảng Computer Networks 1 (Mạng máy tính 1) - Lecture 7: Network Layer in the Internet - Phạm Trần Vũ
Lecture 7: Network Layer in the
Internet
Reference:
Chapter 5 - “C
Andrew S. Tanenbaum, 4th Edition, Prentice Hall, 2003.
2
Design Principles for Internet
• Look for a good
design; it need not be
perfect.
• Make sure it works.
• Keep it simple.
• Make clear choices.
• Exploit modularity.
• Expect heterogeneity.
Be strict when
sending and tolerant
• Avoid static options
and paramet
• Consider performance
and cost.
4
The IP Header
ꢀ Version: version of the protocol used
ꢀ IHL: header length (number of 32-bit words)
ꢀ Type of service: combination of reliability and speed, commonly
ignored by routers
ꢀ Total length: length of the datagram
ꢀ MF: more fragments
ꢀ Time-to-live: a time counter to limit the message lifetime
ꢀ Header checksum: of the header only
ꢀ Source and destination addresses: address of the source and
destination of the datagram
7
IP Address Classes
ꢀ Class A: 128 networks, 16 mil hosts each
ꢀ Class B: 16.384 networks, 64K hosts each
ꢀ Class C: 2 mil networks, 256 hosts each
ꢀ Class D: for multicast
ꢀ Class E: Reserved
10
Routing with Subnetting
ꢀ Routing to destination to an outside network
is done as usual
ꢀ Routing table adds more entries for routing
within the network
ꢁ
another subnet
ꢁ
(this-network, this-subnet, host): to route
message to a host within this-subnet
14
NAT – Network Address Translation
(2)
ꢀ
ꢀ
ꢀ
Use TCP or UDP header (source port field) of a
message to keep track of its outgoing
connection
A mapping table is used at the NAT box to
index
In coming miversed back
to original private IP and source port using the
index
17
ARP– The Address Resolution
Protocol
•
Used to map an IP addresses to data link layer
addresses, e.g. Ethernet addresses
Three interconnected /24 networks: two Ethernets and
an FDDI ring.
19
Tải về để xem bản đầy đủ
Bạn đang xem 20 trang mẫu của tài liệu "Bài giảng Computer Networks 1 (Mạng máy tính 1) - Lecture 7: Network Layer in the Internet - Phạm Trần Vũ", để tải tài liệu gốc về máy hãy click vào nút Download ở trên
File đính kèm:
bai_giang_computer_networks_1_mang_may_tinh_1_lecture_7_netw.pdf

