查看网关ip
ip route list table 0
查看网关的物理地址(适用于没有arp命令的系统)
cat /proc/net/arp
IP address HW type Flags HW address Mask Device
192.168.2.84 0x1 0x2 54:b1:21:d2:bf:58 * eth0
192.168.2.2 0x1 0x2 9c:06:1b:b2:ee:9b * eth0
192.168.2.74 0x1 0x2 a4:d9:31:b0:f9:a4 * eth0
192.168.2.45 0x1 0x2 de:97:c8:2d:72:85 * eth0
192.168.2.22 0x1 0x2 64:a2:00:5d:5f:e8 * eth0
192.168.2.3 0x1 0x2 b0:aa:77:96:cd:0a * eth0
192.168.2.129 0x1 0x2 d4:5d:64:47:2b:f9 * eth0
192.168.2.115 0x1 0x2 8a:26:c3:40:e6:99 * eth0
192.168.2.27 0x1 0x2 b2:a4:1b:37:2f:e1 * eth0
192.168.2.91 0x1 0x2 8c:82:b9:93:99:54 * eth0
192.168.2.24 0x1 0x2 e0:1f:88:35:a0:06 * eth0
192.168.2.1 0x1 0x2 9c:e8:95:ca:1c:c6 * eth0