CmdID

CmdID / Commands

ip-route

IP Routing table management subcommand. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Display the main routing table

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Add a default route using gateway forwarding

sudo ip [r [a default via gateway_ipIdentify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Add a default route using ethX

sudo ip [r [a default dev ethXIdentify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Add a static route

sudo ip [r [a destination_ip via gateway_ip dev ethXIdentify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Delete a static route

sudo ip [r [d destination_ip dev ethXIdentify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Change or replace a static route

sudo ip [r change destination_ip via gateway_ip dev ethXIdentify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Show which route will be used by the kernel to reach an IP address

ip [r [g destination_ipIdentify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Display a specific routing table

ip [r [l [t table_numberIdentify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community