ip route
Add static route
$(ip ro(ute) add default via $default_gw dev $interface_name)Add default route to table
$(ip ro add default via $default_gw dev $interface_name ta(ble) $table_name)Check your routing path
$(ip ro get $dst_ip from $src_ip)$(ip ro get $dst_ip mark $mark_string)Last updated
Was this helpful?