HUAWEI (27)–Vxlan_Multiple subnets exchange access with the same subnet

1. Topology Second, requirements PC1 and PC2 are in the same network segment Interworking between PC1 and PC2 at Layer 2 PC4 and PC5 are in the same network segment Layer 2 communication between PC4 and PC5 3. Configuration Configure PC1 and PC2 Configure PC4 and PC5 Configure LSW1 [Huawei]sysname LSW1 [LSW1] vlan 10 [LSW1-vlan10] […]

HUAWEI (28)–Vxlan_multi-subnet cross-subnet mutual access

1. Topology Second, requirements PC1 and PC2 are in the same network segment Interworking between PC1 and PC2 at Layer 2 PC4 and PC5 are in the same network segment Layer 2 communication between PC4 and PC5 CE1 acts as a Vxlan gateway to achieve cross-subnet mutual access 3. Configuration Configure PC1 and PC2 Configure […]

HJ18 identifies valid IP addresses and masks and performs classification statistics, and HJ39 judges whether two IPs belong to the same subnet [string, simulation]

Description Please analyze the IP address and the corresponding mask for classification and identification. It is required to classify according to A/B/C/D/E addresses, and illegal addresses and masks are classified separately. All IP addresses are divided into five categories: A, B, C, D, and E Class A addresses from 1.0.0.0 to 126.255.255.255; Class B addresses […]

Divide the subnet, and then use eNSP to configure static routing for the router, so that PCs can communicate

1. Experiment content 1. Divide the network segment 192.168.1.0/25 into four subnets as needed 2. Configure a static ip for the router so that PC1 and PC2 can ping through. 2. Experimental topology 3. Experimental process (1) Subnetting For a given subnet 192.168.1.0/25, it needs to be divided into 4 network segments according to topology […]

The linux c ioctl interface realizes the acquisition and setting of local IP and subnet mask

In daily development, the need to set up the local network cannot be avoided. Generally, we use the system interface for temporary IP modification, or open, rend write, and operate network files such as /etc/network/interface to achieve permanent IP modification, but Such a modification method is relatively low-end. In fact, there is a universal interface […]