CS FundamentalsVery hardGATE CS · Product company CS fundamentals
6to4 tunnelling builds a site's IPv6 prefix from 2002::/16 followed by its 32-bit public IPv4 address. What /48 prefix does a site with IPv4 address 192.0.2.4 get?
- A. 2002:192:0:2:4::/48
- B. 2002:c000:0204::/64
- C. 2002:c000:204::/48
- D. 2002:0402:00c0::/48
Correct answer: C. 2002:c000:204::/48
192.0.2.4 in hex is c0.00.02.04, so the next 32 bits after 2002 are c000:0204, giving 2002:c000:204::/48. Writing the decimal octets as hex groups or reversing the byte order are the usual mistakes.
More Computer Networks questions
- How is the IPv4 address 192.0.2.128 written as an IPv4-mapped IPv6 address in hexadecimal form?
- Why must iBGP speakers inside an AS be fully meshed (or use route reflectors/confederations)?
- What does an MPLS label-switching router use to forward a labelled packet?
- In DiffServ QoS, where is a packet's traffic class marked, and how many bits are used?
- Which cookie attribute stops JavaScript running in the page from reading the cookie through document.cookie?
- A page at https://app.example.com uses fetch() to send a PUT request with a JSON body to https://api.example.com. What happens first?