04地址管理及子网划分.ppt
文本预览下载声明
端到端的通信的唯一的编址方式 路径的选择是基于IP编址的 目前应用于网络的主要是IPv4 少数网络被保留用做私有地址,这些地址不能出现在互联网上. 包括以下地址: 1、A类地址中:10.0.0.0到10.255.255.255 2、B类地址中:172.16.0.0到172.31.255.255 3、C类地址中:192.168.0.0到192.168.255.255 1、IP地址127.x.x.x :本地回环(loopback)测试地址 2、169.254.x.x microsoft reserved 3、广播地址:255.255.255.255 4、IP地址0.0.0.0:代表任何网络 5、节点号全为0(二进制):代表某个网段的任何主机地址 6、节点号全为1(二进制):代表该网段的所有主机 1、连续的最大值1跟最小值0。 2、连续的1确定网络ID。 3、连续的0确定主机ID。 4、子网掩码可定制。 缺省情况下—子网不被使用 网络号向外扩展了8位 网络号向外扩展10位 也称网络前缀标记法。 IP:10.217.123.7/20 表示:其子网掩码有20个连续的1,用来确定网络ID;余下的必须是0,用来确定主机ID。 为能更好的利用B类和C类地址空间 不再遵从A,B,C类地址的缺省子网掩码 192.168.0.1 subnet mask 255.255.255.0192.168.0.1/24 只是一种新的Net ID的表示法 Superneting 借用网络ID建立Host ID 子网号 = 172.16.2.0 主机地址 = 172.16.2.1–172.16.2.254 广播地址 = 172.16.2.255 8位被子网化 子网号 = 192.168.5.120 主机地址 = 192.168.5.121–192.168.5.126 广播地址 = 192.168.5.127 5位被子网化 通过完成本章学习, 你可以完成以下任务 能够了解网络地址的分类及特殊的IP地址 能够理解子网掩码的作用 能够找出子网的可用地址,网路号和广播地址 能够对企业网络进行地址规划 思考: 1、 将一个C类网络192.168.10.0划分多个子网,每个子网要求22台主机,最多划分多少个子网,子网掩码是多少? 2、你们公司得到了一个网络号210.174.84.0,你准备用路由器把这个子网进行进一步拆分,拆分后每个子网最多45台主机。请选择子网掩码。 3、你们公司得到一个IP地址段145.34.0.0,现在你们公司需要56个子网,每个子网最多需要800台主机。请选择子网掩码。 4、主机A的IP地址为172.16.1.25/29,主机B的IP地址为172.16.1.33/29,请判断主机A与主机B是否在同一子网内? Purpose: This figure shows how the router determines an address when subnetting is used. Emphasize: This example makes a Class B address space look like a collection of Class C address spaces. Now the logical AND allows us to extract the subnet number as well as the assigned network number. An exercise follows that tests the students’ understanding of subnet masks. Purpose: This figure shows how the router determines an address when subnetting is used. Emphasize: This example is different from the previous example in that the the subnet and host are divided within an octet. Transition: An exercise follows that tests the students’ understanding of subnet masks. Layer 1 of 2: Purpose: This exercise is for the students to take the given IP addresses and associated subnet mask
显示全部