Understanding Network Addressing 389■ IPv6 includes a new feature, kno dịch - Understanding Network Addressing 389■ IPv6 includes a new feature, kno Việt làm thế nào để nói

Understanding Network Addressing 38

Understanding Network Addressing 389
■ IPv6 includes a new feature, known as stateless address auto-confi guration (SLAAC),
which simplifi es initial network setup. This feature is similar in some ways to the
Dynamic Host Confi guration Protocol (DHCP) that’s commonly used on IPv4.
(DHCP can also be used on IPv6; which works best depends on the local network’s
confi guration.)
■ IPv6 originated the Internet Protocol Security (IPsec) tools, which can improve the
security of Internet connections. IPsec has since been back-ported to IPv4.
■ IPv6 has streamlined some data structures, enabling quicker processing by routers.
More obscure differences also exist. Check http://en.wikipedia.org/wiki/IPv6 or
http://www.ipv6forum.com for detailed information about IPv6.
IPv6 is starting to emerge as a real networking force in many parts of the world. The
United States, though, is lagging behind on IPv6 deployment. The Linux kernel includes
IPv6 support, and most distributions now attempt to automatically confi gure IPv6
networking in addition to IPv4. Chances are that by the time the average offi ce will need
IPv6, it will be standard. Confi guring a system for IPv6 is somewhat different from
confi guring it for IPv4, which is what this chapter emphasizes.
Understanding Network Addressing
In order for one computer to communicate with another over a network, the computers
need to have some way to refer to each other. The basic mechanism for doing this is
provided by a network address, which can take several different forms, depending on the
type of network hardware, protocol stack, and so on. Large and routed networks pose
additional challenges to network addressing, and TCP/IP provides answers to these
challenges. Finally, to address a specifi c program on a remote computer, TCP/IP uses a
port number, which identifi es a specifi c running program, something like the way a telephone
extension number identifi es an individual in a large company. The following sections
describe all these methods of addressing.
Using Network Addresses
Consider an Ethernet network. When an Ethernet frame leaves one computer, it’s normally
addressed to another Ethernet card. This addressing is done using low-level Ethernet
features, independent of the protocol stack in question. Recall, however, that the Internet
is composed of many different networks that use many different low-level hardware
components. A user may have a dial-up telephone connection (through a serial port)
but connect to one server that uses Ethernet and another that uses Token Ring. Each of these
devices uses a different type of low-level network address. TCP/IP requires something more
c08.indd 389 11/12/12 12:12 PM
390 Chapter 8 ■ Configuring Basic Networking
to integrate across different types of network hardware. In total, three types of addresses
are important when you’re trying to understand network addressing: network hardware
addresses, numeric IP addresses, and text-based hostnames.
Addressing Hardware
One of the characteristics of dedicated network hardware such as Ethernet or Token Ring
cards is that they have unique hardware addresses, also known as Media Access Control
(MAC) addresses, programmed into them. In the case of Ethernet, these addresses are
6 bytes in length, and they’re generally expressed as hexadecimal (base 16) numbers
separated by colons. You can discover the hardware address for an Ethernet card by using
the ifconfig command. Type ifconfig ethn, where n is the number of the interface
(0 for the fi rst card, 1 for the second, and so on). You’ll see several lines of output, including
one like the following:
eth0 Link encap:Ethernet HWaddr 00:A0:CC:24:BA:02
This line tells you that the device is an Ethernet card and that its hardware address is
00:A0:CC:24:BA:02. What use is this, though? Certain low-level network utilities and
hardware use the hardware address. For instance, network switches use it to direct data
packets. The switch detects that a particular address is connected to a particular wire, and
so it sends data directed at that address only over the associated wire. The Dynamic Host
Confi guration Protocol (DHCP), which is described in the upcoming section “Confi guring
with DHCP,” is a means of automating the confi guration of specifi c computers. It has an
option that uses the hardware address to consistently assign the same IP address to a given
computer. In addition, advanced network diagnostic tools are available that let you
examine packets that come from or are directed to specifi c hardware addresses.
For the most part, though, you don’t need to be aware of a computer’s hardware address.
You don’t enter it in most utilities or programs. It’s important for what it does in general.
Linux identifies network hardware devices with type-specific codes. With
most distributions, Ethernet hardware is ethn, where n is a number from 0
up. The first Ethernet device is eth0, the second is eth1, and so on. (Fedora
uses a more complex Ethernet naming system, though.) Wireless devices
have names of the form wlann. Unlike most Linux hardware devices,
network devices don’t have entries in /dev; instead, low-level network
utilities take the device names and work with them directly.
Managing IP Addresses
Earlier, I said that TCP/IP, at least in its IPv4 incarnation, supports about 4 billion
addresses. This fi gure is based on the size of the IP address used in TCP/IP: 4 bytes
(32 bits). Specifi cally, 232 = 4,294,967,296. For IPv6, 16-byte (128-bit) addresses are used.
Not all of these addresses are usable; some are overhead associated with network
defi nitions, and some are reserved.
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
Understanding Network Addressing 389■ IPv6 includes a new feature, known as stateless address auto-confi guration (SLAAC),which simplifi es initial network setup. This feature is similar in some ways to theDynamic Host Confi guration Protocol (DHCP) that’s commonly used on IPv4.(DHCP can also be used on IPv6; which works best depends on the local network’sconfi guration.)■ IPv6 originated the Internet Protocol Security (IPsec) tools, which can improve the security of Internet connections. IPsec has since been back-ported to IPv4.■ IPv6 has streamlined some data structures, enabling quicker processing by routers.More obscure differences also exist. Check http://en.wikipedia.org/wiki/IPv6 orhttp://www.ipv6forum.com for detailed information about IPv6.IPv6 is starting to emerge as a real networking force in many parts of the world. TheUnited States, though, is lagging behind on IPv6 deployment. The Linux kernel includesIPv6 support, and most distributions now attempt to automatically confi gure IPv6networking in addition to IPv4. Chances are that by the time the average offi ce will needIPv6, it will be standard. Confi guring a system for IPv6 is somewhat different fromconfi guring it for IPv4, which is what this chapter emphasizes.Understanding Network AddressingIn order for one computer to communicate with another over a network, the computersneed to have some way to refer to each other. The basic mechanism for doing this isprovided by a network address, which can take several different forms, depending on thetype of network hardware, protocol stack, and so on. Large and routed networks poseadditional challenges to network addressing, and TCP/IP provides answers to thesechallenges. Finally, to address a specifi c program on a remote computer, TCP/IP uses aport number, which identifi es a specifi c running program, something like the way a telephoneextension number identifi es an individual in a large company. The following sectionsdescribe all these methods of addressing.Using Network AddressesConsider an Ethernet network. When an Ethernet frame leaves one computer, it’s normallyaddressed to another Ethernet card. This addressing is done using low-level Ethernetfeatures, independent of the protocol stack in question. Recall, however, that the Internetis composed of many different networks that use many different low-level hardwarecomponents. A user may have a dial-up telephone connection (through a serial port)but connect to one server that uses Ethernet and another that uses Token Ring. Each of thesedevices uses a different type of low-level network address. TCP/IP requires something morec08.indd 389 11/12/12 12:12 PM390 Chapter 8 ■ Configuring Basic Networkingto integrate across different types of network hardware. In total, three types of addressesare important when you’re trying to understand network addressing: network hardwareaddresses, numeric IP addresses, and text-based hostnames.
Addressing Hardware
One of the characteristics of dedicated network hardware such as Ethernet or Token Ring
cards is that they have unique hardware addresses, also known as Media Access Control
(MAC) addresses, programmed into them. In the case of Ethernet, these addresses are
6 bytes in length, and they’re generally expressed as hexadecimal (base 16) numbers
separated by colons. You can discover the hardware address for an Ethernet card by using
the ifconfig command. Type ifconfig ethn, where n is the number of the interface
(0 for the fi rst card, 1 for the second, and so on). You’ll see several lines of output, including
one like the following:
eth0 Link encap:Ethernet HWaddr 00:A0:CC:24:BA:02
This line tells you that the device is an Ethernet card and that its hardware address is
00:A0:CC:24:BA:02. What use is this, though? Certain low-level network utilities and
hardware use the hardware address. For instance, network switches use it to direct data
packets. The switch detects that a particular address is connected to a particular wire, and
so it sends data directed at that address only over the associated wire. The Dynamic Host
Confi guration Protocol (DHCP), which is described in the upcoming section “Confi guring
with DHCP,” is a means of automating the confi guration of specifi c computers. It has an
option that uses the hardware address to consistently assign the same IP address to a given
computer. In addition, advanced network diagnostic tools are available that let you
examine packets that come from or are directed to specifi c hardware addresses.
For the most part, though, you don’t need to be aware of a computer’s hardware address.
You don’t enter it in most utilities or programs. It’s important for what it does in general.
Linux identifies network hardware devices with type-specific codes. With
most distributions, Ethernet hardware is ethn, where n is a number from 0
up. The first Ethernet device is eth0, the second is eth1, and so on. (Fedora
uses a more complex Ethernet naming system, though.) Wireless devices
have names of the form wlann. Unlike most Linux hardware devices,
network devices don’t have entries in /dev; instead, low-level network
utilities take the device names and work with them directly.
Managing IP Addresses
Earlier, I said that TCP/IP, at least in its IPv4 incarnation, supports about 4 billion
addresses. This fi gure is based on the size of the IP address used in TCP/IP: 4 bytes
(32 bits). Specifi cally, 232 = 4,294,967,296. For IPv6, 16-byte (128-bit) addresses are used.
Not all of these addresses are usable; some are overhead associated with network
defi nitions, and some are reserved.
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Hiểu Mạng Giải quyết 389
■ IPv6 bao gồm một tính năng mới, được gọi là địa chỉ không quốc tịch tự động confi guration (SLAAC),
mà simplifi es thiết lập mạng ban đầu. Tính năng này cũng tương tự như trong một số cách để các
Dynamic Host confi guration Protocol (DHCP) được dùng phổ biến trên IPv4.
(DHCP cũng có thể được sử dụng trên IPv6; trong đó hoạt động tốt nhất phụ thuộc vào các mạng lưới địa phương
của. Confi guration)
■ IPv6 nguồn gốc các giao thức Internet Security (IPsec) công cụ, có thể cải thiện sự
an toàn của kết nối Internet. IPsec có kể từ khi được trở lại chuyển đến IPv4.
■ IPv6 đã sắp xếp một số cấu trúc dữ liệu, cho phép xử lý nhanh hơn bởi router.
Khác biệt khác che khuất cũng tồn tại. Kiểm tra http://en.wikipedia.org/wiki/IPv6 hoặc
http://www.ipv6forum.com để biết thông tin chi tiết về IPv6.
IPv6 là bắt đầu nổi lên như một lực lượng mạng thực sự ở nhiều nơi trên thế giới. Việc
Hoa Kỳ, mặc dù, là tụt lại phía sau trên triển khai IPv6. Các hạt nhân Linux bao gồm
hỗ trợ IPv6, và hầu hết các doanh nghiệp cố gắng tự động confi Hình vẽ IPv6
mạng ngoài IPv4. Cơ hội được rằng khi các ce offi trung bình sẽ cần
IPv6, nó sẽ được tiêu chuẩn. Confi guring một hệ thống cho IPv6 là hơi khác nhau từ
confi guring nó cho IPv4, đó là những gì chương này nhấn mạnh.
Hiểu Mạng Giải quyết
Để cho một máy tính để giao tiếp với nhau qua một mạng, các máy tính
cần phải có một số cách để truy xuất đến từng khác. Cơ chế cơ bản để làm điều này được
cung cấp bởi một địa chỉ mạng, có thể có nhiều hình thức khác nhau, tùy thuộc vào
loại hình phần cứng mạng, giao thức ngăn xếp, và như vậy. Các mạng lớn và định tuyến đặt ra
những thách thức bổ sung cho mạng lưới địa chỉ, và TCP / IP cung cấp câu trả lời cho những
thách thức. Cuối cùng, để giải quyết một chương trình c specifi trên một máy tính từ xa, TCP / IP sử dụng một
số cổng, đó identifi es một specifi c chạy chương trình, một cái gì đó giống như cách một điện thoại
số mở rộng identifi es một cá nhân trong một công ty lớn. Các phần sau đây
mô tả tất cả các phương pháp giải quyết.
Sử dụng địa chỉ mạng
Hãy xem xét một mạng Ethernet. Khi một khung Ethernet còn để lại một máy tính, nó thường
đề cập đến một card Ethernet. Điều này giải quyết được hoàn tất sử dụng Ethernet thấp cấp
tính năng, độc lập với các ngăn xếp giao thức trong câu hỏi. Nhớ lại, tuy nhiên, rằng Internet
là sáng tác của nhiều mạng khác nhau mà sử dụng nhiều phần cứng cấp thấp khác nhau
thành phần. Một người sử dụng có thể kết nối điện thoại dial-up (thông qua một cổng nối tiếp)
nhưng kết nối với một máy chủ có sử dụng Ethernet và một là sử dụng Token Ring. Mỗi của các
thiết bị sử dụng một loại khác nhau của địa chỉ mạng ở mức độ thấp. TCP / IP đòi hỏi một cái gì đó nhiều hơn
c08.indd 389 11/12/12 12:12
390 Chương 8 ■ Cấu hình mạng cơ bản
để tích hợp trên các loại khác nhau của phần cứng mạng. Tổng cộng, ba loại địa chỉ
quan trọng khi bạn đang cố gắng để hiểu được địa chỉ mạng: phần cứng
mạng, địa chỉ, địa chỉ IP dạng số, và tên máy dựa trên văn bản.
Giải quyết phần cứng
Một trong những đặc điểm của phần cứng mạng chuyên dụng như Ethernet hoặc Token Ring
thẻ là họ có địa chỉ phần cứng duy nhất, còn được gọi là Media Access Control
(MAC) địa chỉ, lập trình vào chúng. Trong trường hợp của Ethernet, những địa chỉ là
6 byte chiều dài, và nói chung là họ đang thể hiện như hệ thập lục phân (cơ sở 16) số
cách nhau bằng dấu hai chấm. Bạn có thể khám phá các địa chỉ phần cứng cho một card Ethernet bằng cách sử dụng
lệnh ifconfig. Loại ifconfig ethn, trong đó n là số lượng các giao diện
(0 cho thẻ đầu tiên fi, 1 cho phần thứ hai, và như vậy). Bạn sẽ thấy một vài dòng đầu ra, bao gồm cả
một mặt hàng như sau:
eth0 Liên kết encap: Ethernet HWaddr 00: A0: CC: 24: BA: 02
dòng này cho rằng thiết bị này là một thẻ Ethernet và địa chỉ phần cứng của nó là
00 : A0: CC: 24: BA: 02. Sử dụng những gì là điều này, mặc dù? Một số tiện ích mạng cấp thấp và
phần cứng sử dụng các địa chỉ phần cứng. Ví dụ, mạng chuyển mạch sử dụng nó để dữ liệu trực tiếp
các gói tin. Việc chuyển đổi phát hiện rằng một địa chỉ cụ thể được kết nối với một dây đặc biệt, và
do đó, nó sẽ gửi dữ liệu trực tiếp tại địa chỉ đó chỉ qua dây dẫn có liên quan. Dynamic Host
confi guration Protocol (DHCP), được mô tả trong phần sắp tới "confi guring
với DHCP," là một phương tiện của tự động hoá guration confi của máy tính c specifi. Nó có một
tùy chọn có sử dụng các địa chỉ phần cứng để luôn gán địa chỉ IP cho một cho
máy tính. Ngoài ra, các công cụ mạng tiên tiến chẩn đoán là có sẵn cho phép bạn
kiểm tra các gói tin đến từ hoặc được hướng dẫn đến specifi địa chỉ phần cứng c.
Đối với hầu hết các phần, tuy nhiên, bạn không cần phải biết địa chỉ phần cứng của máy tính.
Bạn don ' t nhập nó trong hầu hết các tiện ích hoặc các chương trình. Điều quan trọng đối với những gì nó nói chung là.
Linux nhận diện các thiết bị phần cứng mạng với mã loại cụ thể. Với
hầu hết các bản phân phối, phần cứng Ethernet là ethn, trong đó n là một số từ 0
lên. Các thiết bị Ethernet đầu tiên là eth0, thứ hai là eth1, vv. (Fedora
sử dụng một hệ thống đặt tên Ethernet phức tạp hơn, mặc dù.) Các thiết bị không dây
có tên của các hình thức wlann. Không giống như hầu hết các thiết bị phần cứng Linux,
thiết bị mạng không có các mục trong / dev; thay vào đó, mạng lưới cấp thấp
tiện ích mang tên thiết bị và làm việc trực tiếp với họ.
Giám IP Addresses
Trước đó, tôi đã nói rằng TCP / IP, ít nhất là trong thân IPv4 của nó, hỗ trợ khoảng 4 tỷ
địa chỉ. Hình vẽ fi này được dựa trên kích thước của địa chỉ IP được sử dụng trong giao thức TCP / IP: 4 byte
(32 bit). Cally specifi, 232 = 4,294,967,296. Đối với IPv6, 16-byte (128-bit) địa chỉ được sử dụng.
Không phải tất cả các địa chỉ được sử dụng; một số được chi phí liên quan đến mạng
nitions Defi, và một số được bảo lưu.
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: