Network Design and Operations

Two routers, R1 (192.168.1.2) and R2 (192.168.1.3), are configured with VRRP using the virtual IP address 192.168.1.254. Normally R1 forwards traffic as the master. Which address should be set as the default gateway on the LAN hosts?

  1. A192.168.1.2 (R1's address)
  2. B192.168.1.3 (R2's address)
  3. C192.168.1.254 (the virtual IP address)
Show answer and explanation

Answer: C. 192.168.1.254 (the virtual IP address)

VRRP lets several routers form one virtual router that shares a virtual IP address and a virtual MAC address. Normally the master router forwards packets sent to the virtual address, and if the master fails, a backup router becomes the master and takes over forwarding. If hosts use the virtual IP address as their default gateway, they need no change whichever router is running. Mechanisms like this that make the default gateway redundant are collectively called FHRPs, and besides VRRP they include HSRP and others.

  • A. If R1 fails, hosts configured with this address can no longer communicate outside the LAN.
  • B. If R2 fails, hosts lose connectivity, so there is no benefit from redundancy.
  • C. Correct. The virtual IP address works whichever router is forwarding.
Practice this topic Back to topic

Related calculators

Books on Network Design and Operations Ad

As an Amazon Associate I earn from qualifying purchases.

More Network Design and Operations questions

  1. 192.168.10.0/24 is to be split into subnets for site A (100 hosts), site B (50 hosts) and site C (25 hosts). Starting with the site that needs the most hosts, each site is given the smallest subnet that holds its hosts, packed in from the lowest addresses. Which subnet is assigned to site C?
  2. Each of the following three sets consists of four consecutive /24 networks. For which set can the four routes be summarized into exactly one /22 route without including any addresses outside the set?
  3. A router's routing table has four routes: 172.16.0.0/12 (next hop router B), 172.16.32.0/19 (router A), 172.16.48.0/20 (router C) and 0.0.0.0/0 (router D). To which router is a packet for 172.16.45.10 sent?
  4. Branch router R2 is connected to head-office router R1 over a 10.255.0.0/30 link, with R1's end at 10.255.0.1 and R2's at 10.255.0.2. When a static route to the head-office network 192.168.1.0/24 is configured on R2, which address is appropriate as the next hop?
  5. A router has learned routes to the same destination, 192.168.50.0/24, from both OSPF and RIP. On this router, the administrative distance, which expresses the preference for each route source (lower is preferred), is 110 for OSPF and 120 for RIP. Which route goes into the routing table?

Comparisons in this topic