質問編集履歴
2
誤植修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
```
|
35
35
|
|
36
36
|
### 起きている問題
|
37
|
-
以上のルーティングでeth1
|
37
|
+
以上のルーティングでeth1にpacketを送るはずですが、実際にはdefault gatewayであるeth0からpacketが送出されます。
|
38
38
|
```
|
39
39
|
root@host ~]# tcpdump -ieth0 dst host 150.22.10.3 -n
|
40
40
|
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
|
1
ルーティングをシンプルにしました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -23,19 +23,14 @@
|
|
23
23
|
```
|
24
24
|
[root@host ~]# ip rule show
|
25
25
|
0: from all lookup local
|
26
|
-
100: from all fwmark 0x100000/0x100000 lookup
|
26
|
+
100: from all fwmark 0x100000/0x100000 lookup lan
|
27
27
|
32766: from all lookup main
|
28
28
|
32767: from all lookup default
|
29
29
|
```
|
30
30
|
|
31
31
|
```
|
32
|
-
[root@host ~]# ip r show table
|
32
|
+
[root@host ~]# ip r show table lan
|
33
|
-
150.22.
|
33
|
+
150.22.10.3/32 dev eth1 scope link src 150.22.13.3
|
34
|
-
nexthop dev eth1 weight 1
|
35
|
-
nexthop dev eth2 weight 1
|
36
|
-
nexthop dev eth3 weight 1
|
37
|
-
nexthop dev eth4 weight 1
|
38
|
-
nexthop dev eth5 weight 1
|
39
34
|
```
|
40
35
|
|
41
36
|
### 起きている問題
|