The role and composition of IP address and subnet

1. Explain the role of IP address and subnet mask in one sentence each

IP address: is the logical address used to identify the network node.
Subnet mask: used to obtain the network address information of the remote host's IP address

2. What are the two parts of an IP address? What are their roles?

Network part: used to identify different network
hosts: used to identify specific hosts in a network

3. The instructor randomly assigns an IP address and subnet mask to find the number of available hosts in the network segment to which the IP belongs

192.168.10.0/24
254 available hosts

4. What are the three address ranges for private addresses?

A:10.0.0.0~10.255.255.255
B:172.16.0.0~172.31.255.255
C:192.168.0.0~192.168.255.255

5. The instructor randomly assigns an IP address and subnet mask to find the number of available networks in the network segment to which the IP belongs

202.106.1.0/25
2 available networks

6. The instructor randomly assigns an IP address and subnet mask to find the network ID of the network segment that the IP belongs to

128.16.32.0/19
network id: 128.16.32.0

7. What basic IP address information can be viewed with the "ipconfig" command?

IP address, subnet mask and default gateway

8. Under what circumstances do computers in the LAN need to set the default gateway?

If you are staying in a specific LAN, you will need to set a default gateway to access the Internet. For example, when some government agencies handle internal affairs, they need a specific LAN to access the Internet. At this time, you must set the default gateway.

9. What is the command to configure the IP address (192.168.1.0/24) for the F0/0 interface of the router?

Conf t
Int f0/0
IP add 192.168.1.0 255.255.255.0

10. Write the commands for configuring the IP address of the switch in turn

Conf t
Int vlan 1
Ip add ip_address subnet_mask
No shutdown

Guess you like

Origin blog.51cto.com/15070904/2595411