ripnetdocs

Route Table

Displays the routing table.

-o
ripnet --route-table
ripnet --route-table
ripnet -o

Add Route

Adds a route to a destination network or host.

-1 DEST -3 GATEWAY -4 NETMASK
ripnet --route-add DEST --gateway GATEWAY --netmask NETMASK
ripnet --route-add 192.168.2.0/24 --gateway 192.168.1.1 --netmask 255.255.255.0
Options
  • --gateway GATEWAY
  • --netmask NETMASK
Notes
  • The route_add implementation accepts an interface argument, but the CLI does not currently expose a route-specific interface option.

Delete Route

Deletes a route by destination.

-2 DEST
ripnet --route-delete DEST
ripnet --route-delete 192.168.2.0/24
ripnet -2 192.168.2.0/24