Skip to main content

bb-eco route add

Add a host route to the device on the given adapter (requires admin)

Usage​

bb-eco route add <ip> [options]

Arguments​

NameDescription
<ip>The device's address, e.g. 192.168.127.254

Options​

OptionDescription
--csvOutput in CSV format
--interface <interface> (REQUIRED)Network adapter the device is plugged into (en0, eth0, Ethernet)
--jsonOutput in JSON format
--timeout <timeout>Override default timeout in milliseconds
--verboseEnable verbose/debug output
-?, -h, --helpShow help and usage information

Examples​

Reach a device on its fallback address through the adapter it is plugged into (en0 here; eth0 or Ethernet are typical on Linux and Windows):

sudo bb-eco route add 192.168.127.254 --interface en0
Route to 192.168.127.254 added on en0. It lasts until the next restart.

Then open the device's web page at http://192.168.127.254 or let bb-eco discover find it, and give it an address on your network. On macOS the route covers the whole 192.168.127.0/24 range, so every device on that range becomes reachable with the one command.

The command refuses anything that is not a private address outside your current networks, or an adapter that is not up, so a typo cannot change how your computer reaches the internet. Without elevation it stops before touching anything:

bb-eco route add 192.168.127.254 --interface en0
Changing the routing table requires sudo.

This page is auto-generated from the live CLI help text. Do not edit by hand - re-run node scripts/gen-cli-reference.mjs after changes. Example sections are maintained in docs/cli-examples/ in the bb-eco repo.