早教吧 育儿知识 作业答案 考试题库 百科 知识分享

大学关于tcpip的英文试题网络高手来InaclassAsubnet,weknowtheIPaddressofoneofthehostsandthesubnetmaskasgivenbelow:IPAddress:25.34.12.56Subnetmask:255.255.248.0Whatisthefirstaddress(subnetaddress)?Whatisthe

题目详情
大学关于tcp ip的英文试题网络高手来
In aclass A subnet, we know the IP address of one of the hosts and the subnet maskas given below:
IP Address: 25.34.12.56 Subnet mask: 255.255.248.0
What is the first address (subnet address)?What is the last address? How many addresses can be available to the hosts?
An organization is granted the block211.17.180.0/24. The administrator wants to create 32 subnets.
a. Find the subnet mask.
b. Find the number of addresses in eachsubnet.
c. Find the first and the last address inthe first subnet.
d. Find the first and the last address inthe last subnet (subnet 32).
简单说下做法最好 3Q3Q3Q3Q!!!!!!!!!!!!!!!!!!分全给
▼优质解答
答案和解析
上面题给了一个子网25.34.12.56掩码255.255.248.0,第一问求子网号;第二问求最后一个地址也就是广播地址;第三问问容纳的IP数量。
1、子网号:25.34.8.0 256-248=8则块大小为8,则第三段每8个地址分为一个子网,如25.34.0.0、25.45.8.0、25.34.16.0。该段内第一个地址就是网络号。
2、广播地址:25.34.15.255,该段内最后一个地址就是广播地址。
3、将掩码转为二进制,看主机位;2的主机位次方-2=可用IP数量。本题中答案为2的11次方-2。
下面题目是一个单位申请了一个地址块,管理员想分32个子网,a算子网掩码;b每个子网内地址数;c第一个子网内第一个和最后一个IP;d最后一个子网内第一个和最后一个IP。
这个题目是非常典型的子网划分,搜下子网划分教程一大把,哪里有不懂追问或私信。给你个公式会用到:
每个子网需要划分Y个IP地址,并且满足2N≥ Y+2 ≥ 2N-1,则主机号位数为N,子网掩码位数为32-N。需要划分X个子网,每个子网包括尽可能多的主机,并且满足2M≥X≥2M-1 ,则子网号位数为M。其中M和N为次方,这里打不出来。