isp1が192.168.1.0/24でゲートウェイが192.168.1.1、サーバが192.168.1.5 isp2が192.168.2.0/24でゲートウェイが192.168.2.1、サーバが192.168.2.5 の場合を考える /etc/iproute2/rt_tablesで行う vi /etc/iproute2/rt_tables # # reserved values # 255 local 254 main 253 default 0 unspec # # local # #1 inr.ruhep 100 isp1 <-追加 101 isp2 <-追加 ip routeコマンドで行う デフォルトゲートウェイの設定 ip route add default via 192.168.1.1 table isp1 ip route add default via 192.168.2