Broadcasts are flooded into every port nobody shut, including ports with no cable #1273
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge#1273
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happens
A broadcast is flooded into every port nobody has shut — including ports with no cable, and ports whose
cable is down.
activeInterfaces()filtersenabledand nothing else, and that is the list the flood isbuilt from.
Measured on two switches in a line, six spare ports each, three answered pings:
Twelve discards on a lab in which nothing went wrong, spread over ports that were never part of the path —
and
show interfaceson a spare port reports discards instead of the truth (that nothing has used it).A real switch floods to ports that are up, not to every port it owns.
Expected
show interfaces,show arp,show mac address-table,show ip route, BGP and OSPF now share (Device.ifaceStatus(iface, topo));0 packets input, 0 packets outputand no discard line;engine/lag.js), which already decides whether amember can carry and records what it skipped.
Scope
The existing flood path in
_forwardL2(). No new commands.