Network Technology Learning Note 3-Network Layer

Source: Internet
Author: User

The network layer refers to data transmission between networks. when data is uploaded and transmitted in different subnets, the MAC address cannot be used for Broadcast Transmission. routes and layer-3 IP addresses are required to ensure communication.

Network Layer tasks: 1. Network Addressing 2. Route Selection 3. Exchange Transmission
1. Network Addressing

The IP address is the network layer address, the IP address is the routing service, and the route is selected based on the IP address. Why not use a MAC address, even if the IP address of each device is globally unique?
Because Mac is not layered, it is only suitable for broadcast mode and is not suitable for routing. The addresses that can be routed must have unicast mode and hierarchical structure.

IP address specification: IPv4 IPv6
IPv4: 32-bit W. x. y. Z Network number + host number a, B, c, d, e address

Unreasonable, resulting in a waste of network numbers

If the network number is the same, it indicates that the same subnet does not require routing and broadcast addressing is required.
Unicast, broadcast, and Multicast
Broadcast address: if z = 255 is sent to this address, it is broadcast to the whole subnet.
Multicast: send to a group (Class D is used for multicast addresses)

Host number of IP address 0,127,255
Loopback address 127.0.0.1

Valid address: Reserved address (address never used on the Internet, which can be used on a LAN)

1. Pure routing, which is equivalent to directly attaching to the public network must be a legal IP Address
2. the routing + NAT or proxy can be an Invalid Address.
Translation of NAT addresses (tampering with IP packets to change invalid addresses into valid addresses)
Proxy servers (for you to download and access the internet) are not transparent to users and some applications are not used yet.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.