Skip to content

softswitch v0.6.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 00:41
· 16 commits to main since this release
1beec2e

Added

  • L3 interfaces: interface vlanN ip address A.B.C.D/N (SVIs), ip arp timeout, show ip interface, show arp, clear arp. sw1 owns 10.0.10.1/24 and 10.0.20.1/24 in the test
    topology and hosts route through them.
  • l3::Router (pure): answers ARP and pings for SVI addresses, keeps the neighbour cache (RFC 826
    merge rules), builds ICMP time-exceeded, queues packets per unresolved next hop with ARP
    retries, and computes the route table (connected + static).
  • Data plane: in SVI VLANs broadcast ARP is punted as a copy and flooded; frames to the router
    MAC are punted (ARP, IPv4 to an SVI address). fuzz_router target.
  • Inter-VLAN routing in the data plane: longest-prefix match, next-hop neighbour lookup, MAC
    rewrite, TTL decrement with an incremental checksum update, and L2 forwarding in the egress
    VLAN with its tagging. Neighbour misses are resolved by the control plane (ARP, packets queued
    and released); TTL expiry is answered with ICMP time exceeded.
  • [no] ip routing, [no] ip route PREFIX NEXTHOP, show ip route.

Install on Raspberry Pi OS / Debian bookworm (arm64)

sudo apt install ./softswitch_0.6.0_arm64.deb

Verify downloads with sha256sum -c SHA256SUMS.