CS FundamentalsVery hardNetworking placement

An AS with two upstream ISPs wants inbound traffic to prefer ISP A, so it advertises its prefix to ISP B with its own AS number repeated three extra times. Why does this work?

  1. A. It sets a higher local preference for the route inside ISP B's own network
  2. B. A longer AS-path through B loses BGP's shorter-AS-path tie-break
  3. C. It lowers the MED sent to B, which every AS on the Internet then compares
  4. D. Routers drop routes whose AS-path contains repeats, so B's route disappears

Correct answer: B. A longer AS-path through B loses BGP's shorter-AS-path tie-break

AS-path prepending lengthens the path seen through B, and many routers break ties on AS-path length. It is only a hint: an AS that sets a higher local preference for B still uses B. Repeats of the origin's own AS do not trigger loop rejection elsewhere.

More Computer Networks questions

Exams that ask this topic