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

Tags:

4 thoughts on “Show Route Table”

  1. salm kenal
    mas saya baru buka usaha internet baru .
    gimana sih cara sharring ?
    dari isp nya dipatok 1 ip 256
    sya pengen 1 ip : 2
    makasih ya

Leave a Reply

Your email address will not be published. Required fields are marked *