ip route add 0.0.0.0/0 dev enp2s0 tab 1 # 0.0.0.0/0为目的
ip rule del 1
ip rule add from 192.168.25.63 tab 1 #从 192.168.25.63 来的报文走表1
ip route add 0.0.0.0/0 dev enp3s0 tab 2
ip rule del 2
ip rule add from 192.168.25.67 tab 2
2024-03-02 21:36:16
ip route add 0.0.0.0/0 dev enp2s0 tab 1 # 0.0.0.0/0为目的
ip rule del 1
ip rule add from 192.168.25.63 tab 1 #从 192.168.25.63 来的报文走表1
ip route add 0.0.0.0/0 dev enp3s0 tab 2
ip rule del 2
ip rule add from 192.168.25.67 tab 2
下一篇:测试