Current location - Quotes Website - Team slogan - Linuxip doesn't work
Linuxip doesn't work
How to solve the problem that the network information of the main ip address displayed on the virtual machine is unavailable?

If you use Wi-Fi, go to Settings-Network-Click Wi-Fi- Select Advanced in the lower right corner and click "Manual". The same is true for wired network connections.

Linux22 port 22 can't connect?

1. Network problem. Try ping the ip of the target machine on the source machine. If you are connected, please look down. If there is no connection, please check the network problem.

2. Port 22 is filtered by the firewall. Please enter the following command to solve the problem: firewall-cmd-zone = public-add-port = 22/TCP-permanent # Add port firewall -cmd-reload # Restart the firewall.

Ping failed to reach the IP address. What does this mean?

Cause: Another computer has opened the firewall.

1, first find the control panel on the computer desktop and click enter, as shown in the figure below.

2. Then find System and Security in the control panel and click Enter, as shown in the figure below.

3, and then in the system and security, find the Windows firewall and click enter, as shown in the figure below.

4. Then in the menu bar on the left side of the Windows firewall, find to enable or close the Windows firewall, and click Enter, as shown in the figure below.

5. Then, in the custom network device, select the last item of private network settings and public network settings, and close the Windows firewall, as shown in the figure below.

Extended data:

The principle of table tennis:

1. Send a packet with a certain length to the specified network address. According to the protocol, if the specified network address exists, it will return packets of the same size. Of course, if you don't return at a specific time, you will "time out" and think that the specified network address does not exist.

2.ICMP protocol is sent through IP protocol, which is a connectionless and unreliable packet protocol. On Unix/Linux, serial numbers start counting from 0 and increase in turn. The ICMP serial number of Windowsping program is irregular.

3. The data packet of ICMP protocol in actual transmission: 20 bytes IP header +8 bytes ICMP header+1472 bytes data size >: 38 bytes.

4.ICMP message format: IP header (20 bytes) +8-bit type +8-bit code+16 checksum+(different types and code formats are different).

You can ping after the linux network is configured, but it will be disconnected after a while?

It has something to do with your ip configuration. You can use the installer to configure the network card information, and then restart the services servicenetworkrestart and ifconfig to check your network card configuration information. If you are skilled, you can also configure it manually.

What should I do if the VMware virtual machine can't connect to the Internet and get the IP automatically?

Three Internet connection settings of Vmware:

1, bridge: vmnet0 is used by default.

Set the ip of the virtual machine to the same network segment as the host, without using ip, and the rest are the same as the host:

For example, the host ip is 10.70.54.3 1 and the virtual machine ip is set to 10.70.54.22. Subnet mask, broadcast, gateway, DNS are all the same as hosts, which can realize virtual machines.

2.nat: vmnet8 is used by default.

Set the virtual machine to use dhcp to surf the Internet, choose to automatically obtain ip under windows, and start dhcp service under IP, linux.

You can also set it manually:

Ip and vmnet8 are set in the same network segment, and the gateway of vmnet8 can be found in the gateway of vmnet8 (/etc/VMware/vmnet8/NAT/NAT.conf), usually xxx.xxx.xxx.2

The network mask and broadcast settings are the same as vmnet8, and the dns settings are the same as the host.

For example, vmnet8ip:172.16.249.1GW:172.16.249.2.

Virtual machine settings: IP:172.16.249.100 GW:172.16.249.2.

3. Host only:

By default, vmnet 1 is used.