Familiar with Linux bosses, I'm puzzled by the question for a long time, I also baidu, but in the end still don't understand, is the figure of the three IP addresses, why don't the second and third IP agreement? Or the first IP do not match the second IP? Bosses will, can you explain it in detail? ,小弟在此感恩不尽!!!!!
CodePudding user response:
IP is X.X.X.X (V4), is made up of four bytes, each byte can take a value of 0-255,
Subnet is logically divided different IP into different groups, adopt the way called mask, also is 4 bytes, in binary is better understood, in the case of/24, said 24 1, 11111111, 1111111, 11111111, 00000000, the decimal is 255.255.255.0, so 10.0.0, X is a subnet, 10.0.1. X is another network,
10.0.0.200/24 is in the subnet 10.0.0, just and 10.0.0.1 within a network,
CodePudding user response:
The first IP screenshot is not complete, but should be a gateway, the second is your virtual machine model of NAT network segment, the third is your IP of this virtual machine
CodePudding user response:
May be the IP address has changed
CodePudding user response:
One is the host's IP, IP is a virtual machine, the host machine's virtual IP service for the virtual machine, finally is not the same as normal
CodePudding user response:
One is the gateway address, one is a sub segments, one is its own IP address