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?
- A. It sets a higher local preference for the route inside ISP B's own network
- B. A longer AS-path through B loses BGP's shorter-AS-path tie-break
- C. It lowers the MED sent to B, which every AS on the Internet then compares
- 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
- In 802.11, SIFS = 10 µs, a CTS and an ACK each take 44 µs, and the data frame takes 1000 µs. Station X hears the CTS from the receiver but…
- VoIP packets are generated every 20 ms (at t = 0, 20, 40, 60, 80 ms) and suffer network delays of 50, 70, 45, 95 and 60 ms. The receiver…
- A 12 Mbps link uses weighted fair queueing with weights 3, 2 and 1 for classes X, Y and Z. What rate does each class get when all three…
- For how many prefix lengths from /20 to /30 (inclusive) is 10.17.83.191 the directed broadcast address of its subnet?
- A load-test client makes 500 short TCP connections per second to one server IP and port, and the client closes each first. Its TIMEWAIT…
- A SEC-DED memory code adds one overall parity bit to a Hamming code. On a read, the Hamming syndrome is non-zero but the overall parity…