Skip to main content
replaced http://networkengineering.stackexchange.com/ with https://networkengineering.stackexchange.com/
Source Link

I have three questions about the relationship between IP addresses, subnet masks, and forwarding tables:

  1. If the address 125.95.39.129 is in a router's forwarding table (and maps to interface x), does it imply that only packets whose destination is exactly 125.95.39.129 will be forwarded on x? Or, will we have to use the technique in this postthis post to find the subnet to which this host belongs, and then any packet whose destination belongs to that subnet will be forwarded on x?

  2. Let's say that there is another address, 125.95.39.60 in the router's forwarding table, but it is in the forwarding table twice, and both times, it has a different subnet mask (let's call them y and z) associated with it. Accordingly, each entry also maps to a different interface. What does it mean if the same IP address is mapped to two different subnet masks in the forwarding table?

  3. What if the forwarding table also has 125.95.39.0 and is associated with mask m and interface i?

My thinking is that, in the case of #1, we do an exact match between an incoming packet's destination address and that forwarding table entry and only forward on interface x if they're exactly the same.

Assuming that my answer to #1 is correct, for #3, would we forward a packet on i only if the packet's destination is not 125.95.39.60, which is more specific than 125.95.39.0?

I have three questions about the relationship between IP addresses, subnet masks, and forwarding tables:

  1. If the address 125.95.39.129 is in a router's forwarding table (and maps to interface x), does it imply that only packets whose destination is exactly 125.95.39.129 will be forwarded on x? Or, will we have to use the technique in this post to find the subnet to which this host belongs, and then any packet whose destination belongs to that subnet will be forwarded on x?

  2. Let's say that there is another address, 125.95.39.60 in the router's forwarding table, but it is in the forwarding table twice, and both times, it has a different subnet mask (let's call them y and z) associated with it. Accordingly, each entry also maps to a different interface. What does it mean if the same IP address is mapped to two different subnet masks in the forwarding table?

  3. What if the forwarding table also has 125.95.39.0 and is associated with mask m and interface i?

My thinking is that, in the case of #1, we do an exact match between an incoming packet's destination address and that forwarding table entry and only forward on interface x if they're exactly the same.

Assuming that my answer to #1 is correct, for #3, would we forward a packet on i only if the packet's destination is not 125.95.39.60, which is more specific than 125.95.39.0?

I have three questions about the relationship between IP addresses, subnet masks, and forwarding tables:

  1. If the address 125.95.39.129 is in a router's forwarding table (and maps to interface x), does it imply that only packets whose destination is exactly 125.95.39.129 will be forwarded on x? Or, will we have to use the technique in this post to find the subnet to which this host belongs, and then any packet whose destination belongs to that subnet will be forwarded on x?

  2. Let's say that there is another address, 125.95.39.60 in the router's forwarding table, but it is in the forwarding table twice, and both times, it has a different subnet mask (let's call them y and z) associated with it. Accordingly, each entry also maps to a different interface. What does it mean if the same IP address is mapped to two different subnet masks in the forwarding table?

  3. What if the forwarding table also has 125.95.39.0 and is associated with mask m and interface i?

My thinking is that, in the case of #1, we do an exact match between an incoming packet's destination address and that forwarding table entry and only forward on interface x if they're exactly the same.

Assuming that my answer to #1 is correct, for #3, would we forward a packet on i only if the packet's destination is not 125.95.39.60, which is more specific than 125.95.39.0?

edited tags
Link
Ron Maupin
  • 101.1k
  • 26
  • 123
  • 199
Rollback to Revision 1
Source Link
Ron Maupin
  • 101.1k
  • 26
  • 123
  • 199

I have three questions about the relationship between IP addresses, subnet masks, and forwarding tables:

  1. If the address 125.95.39.129 is in a router's forwarding table (and maps to interface x), does it imply that only packets whose destination is exactly 125.95.39.129 will be forwarded on x? Or, will we have to use the technique in this post to find the subnet to which this host belongs, and then any packet whose destination belongs to that subnet will be forwarded on x?

  2. Let's say that there is another address, 125.95.39.16060 in the router's forwarding table, but it is in the forwarding table twice, and both times, it has a different subnet mask (let's call them y and z) associated with it. Accordingly, each entry also maps to a different interface. What does it mean if the same IP address is mapped to two different subnet masks in the forwarding table?

  3. What if the forwarding table also has 125.95.39.0 and is associated with mask m and interface i?

My thinking is that, in the case of #1, we do an exact match between an incoming packet's destination address and that forwarding table entry and only forward on interface x if they're exactly the same.

Assuming that my answer to #1 is correct, for #3, would we forward a packet on i only if the packet's destination is not 125.95.39.60, which is more specific than 125.95.39.0?

I have three questions about the relationship between IP addresses, subnet masks, and forwarding tables:

  1. If the address 125.95.39.129 is in a router's forwarding table (and maps to interface x), does it imply that only packets whose destination is exactly 125.95.39.129 will be forwarded on x? Or, will we have to use the technique in this post to find the subnet to which this host belongs, and then any packet whose destination belongs to that subnet will be forwarded on x?

  2. Let's say that there is another address, 125.95.39.160 in the router's forwarding table, but it is in the forwarding table twice, and both times, it has a different subnet mask (let's call them y and z) associated with it. Accordingly, each entry also maps to a different interface. What does it mean if the same IP address is mapped to two different subnet masks in the forwarding table?

  3. What if the forwarding table also has 125.95.39.0 and is associated with mask m and interface i?

My thinking is that, in the case of #1, we do an exact match between an incoming packet's destination address and that forwarding table entry and only forward on interface x if they're exactly the same.

Assuming that my answer to #1 is correct, for #3, would we forward a packet on i only if the packet's destination is not 125.95.39.60, which is more specific than 125.95.39.0?

I have three questions about the relationship between IP addresses, subnet masks, and forwarding tables:

  1. If the address 125.95.39.129 is in a router's forwarding table (and maps to interface x), does it imply that only packets whose destination is exactly 125.95.39.129 will be forwarded on x? Or, will we have to use the technique in this post to find the subnet to which this host belongs, and then any packet whose destination belongs to that subnet will be forwarded on x?

  2. Let's say that there is another address, 125.95.39.60 in the router's forwarding table, but it is in the forwarding table twice, and both times, it has a different subnet mask (let's call them y and z) associated with it. Accordingly, each entry also maps to a different interface. What does it mean if the same IP address is mapped to two different subnet masks in the forwarding table?

  3. What if the forwarding table also has 125.95.39.0 and is associated with mask m and interface i?

My thinking is that, in the case of #1, we do an exact match between an incoming packet's destination address and that forwarding table entry and only forward on interface x if they're exactly the same.

Assuming that my answer to #1 is correct, for #3, would we forward a packet on i only if the packet's destination is not 125.95.39.60, which is more specific than 125.95.39.0?

Fixed a typo
Source Link
Loading
Source Link
Loading