nerdexam
GIAC

GSEC · Question #135

If the NET_ID of the source and destination address in an IP (Internet Protocol) packet match, which answer BEST describes the routing method the sending host will use?

The correct answer is A. Local (or direct) routing. When a host compares source and destination IP addresses and finds matching network IDs, it knows the destination is on the same local subnet and delivers the packet directly without a router.

Networking and Core Concepts

Question

If the NET_ID of the source and destination address in an IP (Internet Protocol) packet match, which answer BEST describes the routing method the sending host will use?

Options

  • ALocal (or direct) routing
  • BCircuit switch routing
  • CDynamic (or changeable) routing
  • DRemote (or indirect) routing

How the community answered

(41 responses)
  • A
    71% (29)
  • B
    20% (8)
  • C
    2% (1)
  • D
    7% (3)

Why each option

When a host compares source and destination IP addresses and finds matching network IDs, it knows the destination is on the same local subnet and delivers the packet directly without a router.

ALocal (or direct) routingCorrect

Local (direct) routing occurs when the sending host applies its subnet mask to both source and destination IPs and determines the network IDs are identical, meaning both hosts are on the same network segment. Because no router is needed, the host uses ARP to resolve the destination IP to a MAC address and transmits the frame directly on the local medium. This is the fundamental IP routing decision every host makes before consulting its default gateway.

BCircuit switch routing

Circuit switching is a telecommunications method used in traditional telephone networks and is not a mode of IP packet routing based on network ID comparison.

CDynamic (or changeable) routing

Dynamic routing refers to router-to-router protocols such as OSPF or EIGRP that exchange topology information - it is not a host-level delivery decision based on subnet matching.

DRemote (or indirect) routing

Remote (indirect) routing is used when the destination network ID differs from the source, requiring the packet to be forwarded to a default gateway for inter-network delivery.

Concept tested: IP local vs. remote routing based on matching network IDs

Source: https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/how-tcp-ip-addressing-works

Topics

#IP routing#NET_ID#local routing#subnet

Community Discussion

No community discussion yet for this question.

Full GSEC Practice