简单记两个
[root@oracle ~]# ip route show
default 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 -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.0.2.2 0.0.0.0 UG 0 0 0 eth0
192.0.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0