Home > other >  For help, the problem of bothering me for many years, the IP address and routing aggregation
For help, the problem of bothering me for many years, the IP address and routing aggregation

Time:11-16

Three addresses, PC1 128.0.0.1/1 PC2 128.0.0.2/2 PC3 192.0.0.2/2 three machines switch unicom didn't do the configuration according to the theory of routing aggregation PC2 and PC3 address can aggregate into a routing 128.0.0.0/1 PC1 PC2, why can't PC1 on PC3 PC3 segment is PC1 segment of subnet, why PC1 to the PC3 can help to understand the underlying a great god, and asked a lot of things, IE are in addition to IP developed person nobody understand

CodePudding user response:

128.0.0.1/1
128.0.0.2/2
192.0.0.2/2
3 PCS can be exchanged, routing aggregation has nothing to do,
Related concepts can consult the public number I wrote
Routing convergence, ACL and IP address aggregation https://mp.weixin.qq.com/s/7v7MHgKmwUWgN6XxVWRNlg

Can get back to business, two IP communication, there is A very simple judgment method, which is contained by the other segment, A network segment contains address where B, that can find B; Is each other segment includes that can be linked to each other, at that time, even if both IP mask is different, still can normal communication,
For example,
128.0.0.1/1, where the segment 128.0.0.0 ~ 255.255.255.255
128.0.0.2/2, where the segment 128.0.0.0 ~ 191.255.255.255
Obviously accords with a condition, is each other segment contains, so can PING,

See
128.0.0.1/1, where the segment 128.0.0.0 ~ 255.255.255.255
192.0.0.2/2, where the segment 192.0.0.0 ~ 255.255.255.255
See the problem? Although 192.0.0.2 before/2 is a network segment includes, but is not where the segment in 192, 128, 192 is looking for less than 128,

CodePudding user response:

The same network segment can ping, different cannot ping, even if is PC1 PC3 subnet, they still belong to different network segment, so they are can't verify whether belong to the same network segment method is respectively using IP address and subnet mask to do with the operation, it is the result of the two network segment,

CodePudding user response:

refer to the second floor dian one response:
the same network segment can ping, different cannot ping, even if is PC1 PC3 subnet, they still belong to different network segment, so they are can't verify whether belong to the same network segment method is respectively using IP address and subnet mask to do with the operation, it is the result of the two network segments,

Different network segment can PING, you can begin to try the first two IP,

CodePudding user response:

reference X - I - n reply: 3/f
Quote: refer to the second floor dian one response:
the same network segment can ping, different cannot ping, even if is PC1 PC3 subnet, they still belong to different network segment, so they are can't verify whether belong to the same network segment method is respectively using IP address and subnet mask to do with the operation, it is the result of the two network segments,

Different network segment can PING, you can begin to try the first two IP,

Network segment different gateway may not?

CodePudding user response:

Sorry ah, I understand ability is weak, don't understand, it is not the first to include the latter two, how could contain each other, 128 1 contains 128 mask mask 2 128 1 also contains 192 mask mask mask 2, 128, and 192 mask 2 constitute mask contains 128 to 255 128 128 to 191 between 192 and 255

CodePudding user response:

reference dian, 4/f, one response:
Quote: refer to the third floor X - I - n reply:
Quote: refer to the second floor dian one response:
the same network segment can ping, different cannot ping, even if is PC1 PC3 subnet, they still belong to different network segment, so they are ping impassability, verify whether belong to the same network segment method is respectively using IP address and subnet mask to do with the operation, it is the result of the two network segments,

Different network segment can PING, you can begin to try the first two IP,

Network segment different gateway may not?

That is why I said judge whether to include the reason, AB two address is not in the same network segment, but if A network segment contains address B, A for B, is never out of this net, and vice versa,

CodePudding user response:

reference 5 floor m0_50313159 reply:
sorry ah, I understand ability is weak, don't understand, it is not the first to include the latter two, how could contain each other, 128 1 contains 128 mask mask 2 128 1 also contains 192 mask mask mask 2, 128, and 192 mask 2 constitute mask contains 128 to 255 128 128 to 191 from 192 to 255

Don't consider the three address, two out of two, with the method of I said:
Address where the segment contains B and B address where the segment contains A, they can communicate with each other,

CodePudding user response:

X
reference 7 floor - I - n reply:
Quote: refer to the fifth floor m0_50313159 reply:
sorry ah, I understand ability is weak, don't understand, it is not the first to include the latter two, how could contain each other, 128 1 contains 128 mask mask 2 128 1 also contains 192 mask mask mask 2, 128, and 192 mask 2 constitute 128 mask contains 128 to 255 from 128 to 191 from 192 to 255

Don't consider the three address, two out of two, with the method of I said:
Address where the segment contains B and B address where the segment contains A, they can communicate with each other,

Haven't fully understand, but it seems there are so a little meaning, main is estimated state didn't you high, thank you, I think you should master is one of the few notpaper

CodePudding user response:

refer to the eighth floor m0_50313159 response:
Quote: refer to 7th floor X - I - n reply:
Quote: refer to the 5 floor m0_50313159 response:
sorry ah, I understand ability is weak, don't understand, it is not the first to include the latter two, how could contain each other, 128 1 contains 128 mask mask 2 128 1 also contains 192 mask mask mask 2, 128, and 192 mask 2 constitute 128 mask contains 128 to 255 from 128 to 191 from 192 to 255

Don't consider the three address, two out of two, with the method of I said:
Address where the segment contains B and B address where the segment contains A, they can communicate with each other,

Haven't fully understand, but it seems there are so a little meaning, main is estimated state didn't you high, thank you, I think you should master is one of the few notpaper

My presentation is...
An IP, can directly contact this net segment of IP; A. can only contact A all IP network segment, B can only all the IP connection and B segment,
B if belong to A network segment, in order to find the B?
If in the B segment, in turn, A, B can also find A?
AB in the other segment at the same time, can be in touch with each other?
If a contains a does not contain, whether can find unilaterally, couldn't find another direction? Also can't?
  • Related