InterviewStack.io LogoInterviewStack.io

Advanced Routing and Traffic Engineering Questions

Advanced routing protocols, algorithms, and real world deployment practices for large scale and multi domain networks. Topics include deep Border Gateway Protocol knowledge such as path selection, attribute handling including weight, local preference, AS path manipulation, multi exit discriminators, communities, route filtering, route aggregation, and mitigation of route hijacking. Also covers advanced aspects of interior protocols such as Open Shortest Path First and IS IS including area design, adjacency and LSA or link state behavior, convergence optimization, and comparison of link state versus other approaches. Traffic engineering topics include load balancing, multi path routing, MPLS fundamentals and label switching, segment routing principles, and using routing and BGP for traffic engineering across internet exchanges and multi carrier environments. Practical skills include designing redundancy, scaling routing control planes, route policy design, and troubleshooting complex inter domain routing behaviors.

MediumTechnical
63 practiced
Write a Python 3 script (maximum 50 lines) that reads from stdin simplified BGP entries where each line is: 'prefix local_pref as_path origin' (space-separated). Example: '203.0.113.0/24 100 65001 65002 65003 i'. For each unique prefix, output the best path according to: highest local_pref, then shortest AS path length, then origin preference (i < e < ?), then lexicographically smallest AS path string as final tie-breaker. Focus on correct selection logic and readable code.
MediumTechnical
37 practiced
You need consistent per-flow ECMP hashing across a heterogeneous vendor leaf-spine (different default hash seeds and field selection). Describe strategies to achieve consistent hashing across platforms, how to validate with packet captures or telemetry, and how to handle flows that fragment or exceed MTU which may cause reordering.
EasyTechnical
66 practiced
Define ECMP and explain the difference between per-packet and per-flow load balancing. Describe how hashing decisions are typically made (which header fields are used), common operational problems such as flow skew or reordering, and give examples of topologies and traffic types where ECMP is recommended or not recommended.
EasyTechnical
45 practiced
List and explain the key differences between iBGP and eBGP behaviors: AS path modification, next-hop behavior, TTL/multihop requirements, default administrative distance, and typical session use-cases. Provide a brief scenario where an iBGP next-hop causes an unexpected forwarding failure and how you would fix it.
EasyTechnical
35 practiced
Describe RPKI (Resource Public Key Infrastructure) and origin validation at a high level. Explain how ROAs are created and published, what a router's origin validation result (valid/invalid/not-found) means, and operational caveats such as ROA coverage limitations, propagation delay, and the risk of rejecting 'invalid' routes during ROA misconfiguration.

Unlock Full Question Bank

Get access to hundreds of Advanced Routing and Traffic Engineering interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.