Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Computer Networks Module 10

Routing interview questions

Interview questions on routing from Computer Networks: short warm-ups, then what each harder question tests, the first step of a good answer and its follow-ups.

4 questions: 2 warm-ups and 2 with model answers · Levels: Fresher to staff

Warm-up questions

Short questions with short answers, each answered in full.

  1. Fresher to mid

    What is the difference between a router's RIB and its FIB?

    Answered in the lesson Forwarding tables and longest prefix match

  2. Fresher

    A router holds 10.0.0.0/8 from OSPF and 10.1.0.0/16 as a static route. Which one forwards a packet to 10.1.5.9?

    Answered in the lesson Forwarding tables and longest prefix match

Questions with model answers

What each question tests, the first step of a good answer and the follow-ups to expect.

  1. Mid to senior

    During a migration you add a static route to 10.20.0.0/16 towards a new firewall. Most of the /16 moves, but traffic to 10.20.30.0/24 still takes the old path. Why, and how do you move it safely?

    What it tests
    Whether the candidate applies longest prefix match before administrative distance, checks the route used for one address, and plans a reversible change.
    First step
    Look up one affected address, for example with ip route get 10.20.30.5 or show ip route 10.20.30.5, and note the prefix and source of the route actually used. Then list every route inside 10.20.0.0/16 that is longer than /16.
    Follow-ups

    From the lesson Forwarding tables and longest prefix match

    Model answer, Pro. Model answers open with any pass; prices are in the notice on this page.

    Opening the model answers with your pass…

    Model answers open with any MySmartCoPilot pass.

    • Pro pass · 1 week₹79$2.99
    • 30 days₹179$5.99
    • 1 year₹1,699$45

    One payment; a pass never renews. The price shown is the total you pay: no fees or charges are added at checkout.

    It also opens every other in-depth part in Learn and every Pro tool. Sales are final, except where the law gives you a right to withdraw, for example in the EU and the UK (refund policy).

    In the answer:

    • Model answer
    • Follow-up answers
    • Common mistakes
    • Rubric
    • Variants
    • about 4 minutes
  2. Senior to staff

    A router must forward 150 million packets a second against 1.2 million IPv4 prefixes. How would you store the forwarding table so that every lookup is fast enough, and what does each choice cost?

    What it tests
    Turning a packet rate into a time budget, and comparing lookup structures by worst-case memory reads, memory size and update cost.
    First step
    Turn the rate into a budget: 1 ÷ 150 million is about 6.7 ns between lookups. A binary trie may need 32 dependent reads, so ask how many reads the budget allows, and pick a structure that bounds the worst case.
    Follow-ups

    From the lesson Forwarding tables and longest prefix match

    Model answer, Pro.

    In the answer:

    • Model answer
    • Follow-up answers
    • Common mistakes
    • Rubric
    • Variants
    • about 4 minutes

All Computer Networks interview questions · The Computer Networks track

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.