Computer network configuration-subnetting

1. The purpose of the experiment

  1. Use switches to logically divide the network;
  2. Carry out the design of dividing three different subnet strategies in the same network segment, and realize by setting the switch

2. Experimental tasks

The VLSM subnet division of the small local area network as shown in the figure requires the division of VLANs on the switch and the communication between VLANs can be realized. All PCs in the network can ping the server of the ISP network.

3. Introduction to the experimental principle

VLSM principle

In order to effectively use classless inter-domain routing (CIDR) and route summary (route summary) to control the size of the routing table, network administrators use advanced IP addressing technology. VLSM is a common method among them, which can hierarchize subnets. In order to make the most effective use of the existing address space.

4. Design code (or schematic diagram), simulation waveform and analysis

The network topology structure diagram of subnet division is as follows:

 

The switch (switch2) is configured as follows:

The PC-PT PC0 host address is configured as:

The PC-PT PC4 host address is configured as:

PC-PT PC0 host computer and PC-PT PC4 host network connection test:

4. Experimental conclusions and experience

Statement explanation:

  1. vlan + number: means to create a subnet.
  2. name+name: Represents the name of the subnet.
  3. switchport access mode: means to set the interface mode to Access mode; it can be abbreviated as swi acc mode.
  4. switchport access vlan 10: means adding the interface to VLAN 10; it can be abbreviated as swi acc vlan 10.
  5. int rang f0/1-24: It means to enter multiple interfaces at one time, which is convenient for configuration.
  6. show vlan: View the configuration of vlan; it can be abbreviated as sh vlan.
  • Note: The usage environment of the statement should correspond to the mode that the statement is applicable to. Generally speaking, it is used in the global configuration mode.

 

Guess you like

Origin blog.csdn.net/XZ_ROU/article/details/112861900