Home > other >  And the IP address and subnet mask of operation after get what
And the IP address and subnet mask of operation after get what

Time:10-02

Environment: I now public Ip is the
And my private IP network is the
Subnet mask and my private network IP Boolean and calculate what? (calculated not baidu to get the public IP)
Public IP at the beginning of 117, i.e., how to private IP network becomes the beginning of the 172? This is how to divide? Is giving us a public Ip after we will have to build any of our private network Ip?

CodePudding user response:

Because the ipv4 address is not enough, the public is just like 192, 172 a, b, a c,

CodePudding user response:

reference 1st floor dongwen250 response:
because the ipv4 address is not enough, the public is just like 192, 172 a, b, a c

Want to see, after I checked the information with the NAT technology of class a public IP into a class b IP 172 at the beginning of the private network

CodePudding user response:

Are you sure baidu to check the IP is hung on your machine or hang on your router or other device, AND the other IP AND mask, is diagonal validation, is your IP AND operation with the other side of the mask, the other IP AND operation with your mask, the same can be communication, of course this is a little small holes!

CodePudding user response:

reference jkydhe reply: 3/f
are you sure baidu to check the IP is hung on your machine or hang on your router or other equipment, AND other IP AND mask, is diagonal validation, is your IP AND operation with the other side of the mask, the other IP AND operation with your mask, the same can communication, of course this is a little small holes!

A bit complicated, not the whole understand, brother write related blog, to me to give you add a little visits

CodePudding user response:

You require the system to learn the knowledge of CCNA, especially IP infrastructure,
10
172
192
These three heading are private IP network, through NAT (network address translation) to the private network IP into public IP, there can be 1 to 1, more than 1 to convert (PAT),

Communication between the host packets encapsulation format: MAC destination MAC source - source IP destination IP,
this is a relation betweenHost will send packets, the other IP and mask for the and operation itself, it is concluded that the network identity, if the network identity is same in the same subnet, so the purpose of communication packet encapsulation MAC is the MAC of the destination IP,
If the network identity is different, the host encapsulated packets MAC MAC is the purpose of the gateway, when need to request the gateway forwarding packets, involving arp broadcast among this,
If the host if you do not set the gateway, it is cannot be accessed outside the subnet IP service, because it knows that the other party is not a subnet, but there were no gateway "guidance" it, so it would have been on the Internet to send ARP request MAC destination IP, destination IP will never be able to receive, then won't be able to wrap! Finally cause is unable to get to the Internet, the root cause is the host failed to send package is successful,

CodePudding user response:

Thank you very much, answer me a lot of confusion, blogs have also been reading these days,

CodePudding user response:

reference 5 floor jsjsboy reply:
you require the system to learn the knowledge of CCNA, especially IP infrastructure,
10
172
192
These three heading are private IP network, through NAT (network address translation) to the private network IP into public IP, there can be 1 to 1, more than 1 to convert (PAT),

Communication between the host packets encapsulation format: MAC destination MAC source - source IP destination IP,
this is a relation betweenHost will send packets, the other IP and mask for the and operation itself, it is concluded that the network identity, if the network identity is same in the same subnet, so the purpose of communication packet encapsulation MAC is the MAC of the destination IP,
If the network identity is different, the host encapsulated packets MAC MAC is the purpose of the gateway, when need to request the gateway forwarding packets, involving arp broadcast among this,
If the host if you do not set the gateway, it is cannot be accessed outside the subnet IP service, because it knows that the other party is not a subnet, but there were no gateway "guidance" it, so it would have been on the Internet to send ARP request MAC destination IP, destination IP will never be able to receive, then won't be able to wrap! Last cause is unable to get to the Internet, the root cause is the host failed to send package is successful,

Thank you very much, answer me a lot of doubt, I continue to have a good look at the blog ~
  • Related