Home > other >  Two questions about the IP
Two questions about the IP

Time:09-16

To solve how to do such a topic
Had better have process on the basis of

CodePudding user response:

You this problem very strange
1, 4 IP can PING impassability
A192.168.1.2, there were no mentioned in the title of this IP, also didn't mention this segment, so certainly cannot choose (in practical application, if in this segment and IP network, and doing the routing, and can PING);
B192.168.2.1, gateway address, under normal circumstances is certainly pass (also has the potential to ban PING, this case is PING impassability, PING ban is common, but generally the network network almost won't do, PING ban will only stop the ICMP, will not affect the normal connected network)
C and D, two DNS server, normal service, can only ensure that the DNS service can pass, often can, depending on the service provider's setting is PING ban or can't help PING
So there is no an ABCD is on the premise of normal work of 100% can PING, but B impassability, exam can choose it,

The second question, NAT server itself is the gateway, usually do not match the gateway to the network card, because there is no meaning, its front-end ports within only one request, and network IP networking section is the same, but it is important to note that the segments in the planning of general use Intranet address when (or if you have enough public network address assigned to you, you can also use public network address), but the different amount, don't use the same network segment, that is all based on the WAN port A network segment, impossible to appear on the Intranet; DNS server, on the far side of B, C is also not possible in the Intranet, D is not a qualified available IP address, so this there is no right answer (not as a problem, the problem of four option no correct possible);
This problem should be so: exam so even equipment which should match the default gateway? Should be NAT server front-end ports in IP,

CodePudding user response:

reference X - I - n reply: 3/f
you this problem very strange
1, 4 IP can PING impassability
A192.168.1.2, there were no mentioned in the title of this IP, also didn't mention this segment, so certainly cannot choose (in practical application, if in this segment and IP network, and doing the routing, and can PING);
B192.168.2.1, gateway address, under normal circumstances is certainly pass (also has the potential to ban PING, this case is PING impassability, PING ban is common, but generally the network network almost won't do, PING ban will only stop the ICMP, will not affect the normal connected network)
C and D, two DNS server, normal service, can only ensure that the DNS service can pass, often can, depending on the service provider's setting is PING ban or can't help PING
So there is no an ABCD is on the premise of normal work of 100% can PING, but B impassability, exam can choose it,

The second question, NAT server itself is the gateway, usually do not match the gateway to the network card, because there is no meaning, its front-end ports within only one request, and network IP networking section is the same, but it is important to note that the segments in the planning of general use Intranet address when (or if you have enough public network address assigned to you, you can also use public network address), but the different amount, don't use the same network segment, that is all based on the WAN port A network segment, impossible to appear on the Intranet; DNS server, on the far side of B, C is also not possible in the Intranet, D is not a qualified available IP address, so this there is no right answer (not as a problem, the problem of four option no correct possible);
This problem should be so: exam so even equipment which should match the default gateway? Should be NAT server front-end ports in IP,
A option is its own IP ah, can also ping

CodePudding user response:

Are you talking about the second question?
If only consider PING, PING directly own words, 99% of the cases can be PING, but the problem is that's ok with you, didn't know why you have such question,
Explanation is the most direct, the gateway equipment, the front-end ports do not need to set up the gateway address, the general distribution law is: the default routing refers to the WAN port to the end (the public peripheral node, configure the default gateway can be understood as a routing and configuration of the equivalent), and then on the gateway devices to the network segment alone write static routing, Intranet, of course, can also be routing protocols, in either case, the network interface ,

Also can from another Angle to explain, but can be a bit barroso,
Normal equipment have such restrictions:
1. Different broadcast domains using network segment can't have any address cross (or understanding into must use completely different network segments);
2. The gateway interface of IP and IP need in the same network segment (otherwise you will not contact gateway),
Based on these two, back to you, the problem of topological down clear this one: within the front-end ports and outside equipment front-end ports both routing and NAT, belong to different network segment,
Article 1 principle limit the network interface must be used 208.201.35.192 IP/26, again in accordance with the requirements of article 2, the gateway must and IP in the same period, so also is not the amount of address, AB is obviously wrong (actually device can prevent you from directly with any address this segment, you even couldn't match),
More without looking at the CD, DNS server, match to the gateway, think it is impossible to (in practice, can contain the two DNS IP network segment used in a network, but this is only feasible in operation, it will lead to a period of public IP cannot access, is a mistake, in this problem scenarios, the most direct performance is the DNS can not access),
To use public IP trying to satisfy two conditions: is your IP, the network planning right,
  • Related