Show Route Table

Baru nemuin 3 cara:

[root@csmwin csmwin]# /sbin/ip route show
172.17.10.0/30 dev eth1 proto kernel scope src 172.17.10.2
172.17.1.0/24 dev eth0 proto kernel scope link src 172.17.1.129
169.254.0.0/16 dev eth1 scope link
10.0.0.0/8 via 172.17.10.1 dev eth1
default via 172.17.1.1 dev eth0
[root@csmwin csmwin]# /sbin/route -n —-> atau tanpa “-n”
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.17.10.0 0.0.0.0 255.255.255.252 U 0 0 0 eth1
172.17.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
10.0.0.0 172.17.10.1 255.0.0.0 UG 0 0 0 eth1
0.0.0.0 172.17.1.1 0.0.0.0 UG 0 0 0 eth0

[root@csmwin csmwin]# netstat -r

4 Responses to “Show Route Table”


Leave a Reply