Edit File/etc/sysconfig/network-scripts/ifcfg-eth0 Reference: Device=eth0//device name, do not modify bootproto=static//Do not modify broadcast= 10.10.22.255//broadcast address, generally the last ipipaddr=10.10.22.145 of the network segment//IP address netmask=255.255.255.0//Subnet mask network=10.10.22.0// Network segment Address Onboot=yes//Do not modify type=ethernet//Do not modify Note: Ifcfg-eth0 is the first card, Ifcfg-eth1 is the second NIC, and so on
According to the previous article modified the IP address, but still ping different network segment (192.168.58.*), the format of HDFs when prompted 192.168.106.1
I was thinking. But can not change, network management and subnet mask, I have no subnet mask on the WIN10, but the expected officer, change to 192.168.58.2 can ping fun, originally although the same network management, but IP and network management does not agree to the network segment, haha
, why the suffix is not. 1, because the virtual network card IP is 192.168.58.1, in the virtual and network settings in the NAT mode of the management is. 2.
Linux permanently changes eth0 IP address after still pinging does not pass