VRRP elects a master and nothing calls it: no device answers for a virtual IP #1052

Closed
opened 2026-11-08 08:22:04 +00:00 by jaylouisw · 0 comments
Owner

engine/vrrp.js implements the election - priorities, skew, Master_Down_Interval, the
00:00:5E:00:01:<vrid> virtual MAC - and is unit tested.

engine/simulator.js never requires it, and the CLI has no vrrp command at all:

$ grep -c "vrrp" engine/simulator.js engine/cli.js
engine/simulator.js:0
engine/cli.js:0

A lab can therefore read about a virtual gateway but cannot build one: no device answers ARP for the
VIP, so every host pointed at it black-holes, and the failure looks like a routing mistake.

What is needed

  • A CLI to configure a group: vrrp <group> ip <address>, priority, preempt.
  • Election run before the first packet, with the winner answering ARP and ICMP for the VIP using the
    virtual MAC.
  • The master's ownership of the address reflected in ownsIpOn(), so a ping to the VIP is delivered
    rather than forwarded.
  • Convergence timing already knows the group's Master_Down_Interval
    (CONVERGENCE.md); wiring VRRP would let a lab watch a failover.
`engine/vrrp.js` implements the election - priorities, skew, `Master_Down_Interval`, the `00:00:5E:00:01:<vrid>` virtual MAC - and is unit tested. `engine/simulator.js` never requires it, and the CLI has no `vrrp` command at all: ``` $ grep -c "vrrp" engine/simulator.js engine/cli.js engine/simulator.js:0 engine/cli.js:0 ``` A lab can therefore read about a virtual gateway but cannot build one: no device answers ARP for the VIP, so every host pointed at it black-holes, and the failure looks like a routing mistake. ## What is needed - A CLI to configure a group: `vrrp <group> ip <address>`, `priority`, `preempt`. - Election run before the first packet, with the winner answering ARP and ICMP for the VIP using the virtual MAC. - The master's ownership of the address reflected in `ownsIpOn()`, so a ping to the VIP is delivered rather than forwarded. - Convergence timing already knows the group's `Master_Down_Interval` ([CONVERGENCE.md](docs/CONVERGENCE.md)); wiring VRRP would let a lab watch a failover.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jaylouisw/packetforge#1052
No description provided.