> For the complete documentation index, see [llms.txt](https://viva.gitbook.io/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://viva.gitbook.io/project/sui-bi/linux/lu-you.md).

# 路由

例子：添加一条静态路由

```
ip route add 192.168.56.0/24 via 192.168.56.2 dev eth0
```

### 检查工具

traceroute 使用 ICMP 协议

tracepath 默认使用随机 UDP 端口，可指定端口号
