简单记两个
[root@oracle ~]# ip route showdefault via 192.0.2.2 dev eth0 proto static 192.0.2.0/24 dev eth0 proto kernel scope link src 192.0.2.110 metric 1 [root@oracle ~]# route -nKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface0.0.0.0 192.0.2.2 0.0.0.0 UG 0 0 0 eth0192.0.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0