返回列表 發帖

Busybox —— route command

  1. / # route
  2. Kernel IP routing table
  3. Destination Gateway Genmask Flags Metric Ref Use Iface
  4. 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
  5. 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
  6. default pfsense.local.l 0.0.0.0 UG 0 0 0 eth0

  7. / # route add -net 10.10.10.0 netmask 255.255.255.0 gw 192.168.1.10 dev eth0
  8. / # route
  9. Kernel IP routing table
  10. Destination Gateway Genmask Flags Metric Ref Use Iface
  11. 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
  12. 10.10.10.0 192.168.1.10 255.255.255.0 UG 0 0 0 eth0
  13. 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
  14. default pfsense.local.l 0.0.0.0 UG 0 0 0 eth0
複製代碼

TOP

返回列表