IP ROUTE2 命令

    技术2022-05-11  18

    #ip link list

    #ip adress show

    #ip route show

    #ip rule list 

    #ip neigh show

    #ip neigh delete 9.3.76.43 dev eth0

    #ip route list table local

    #echo 200 John >> /etc/iproute2/rt_tables #ip rule add from 10.0.0.10 table John # ip rule ls 0: from all lookup local 32765: from 10.0.0.10 lookup John 32766: from all lookup main 32767: from all lookup default # ip route add default via 195.96.98.253 dev ppp2 table John # ip route flush cache

    最新回复(0)