Linux permanently changes eth0 IP address after still pinging does not pass

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.