| 15 | | == inner-BB -> router -> centos-outer -> WAN == |
| | 15 | == centos-inner -> ubuntu-outer == |
| | 16 | * centos-innerのデフォルトゲートウェイの設定により、requestがWANに向かってしまう |
| | 17 | * centos-innerにstatic routeの設定が必要 |
| | 18 | |
| | 19 | * パケット経路 |
| | 20 | 1. centos-inner:<eth0> -> WAN |
| | 21 | |
| | 22 | * centos-inner ~]$ ping 10.0.0.10 -c 1 |
| | 23 | {{{ |
| | 24 | PING 10.0.0.10 (10.0.0.10) 56(84) bytes of data. |
| | 25 | |
| | 26 | --- 10.0.0.10 ping statistics --- |
| | 27 | 1 packets transmitted, 0 received, 100% packet loss, time 0ms |
| | 28 | }}} |
| | 29 | 1. centos-inner:eth0 |
| | 30 | {{{ |
| | 31 | 20:07:51.313947 IP 192.168.50.110 > 10.0.0.10: ICMP echo request, id 44813, seq 1, length 64 |
| | 32 | }}} |
| | 33 | |
| | 34 | == centos-outer -> centos-inner == |
| | 35 | * centos-outerのデフォルトゲートウェイの設定により、requestがWANに向かってしまう |
| | 36 | * centos-outerにstatic routeの設定が必要 |
| | 37 | |
| | 38 | * パケット経路 |
| | 39 | 1. centos-outer:<eth0> -> WAN |
| | 40 | |
| | 41 | * centos-outer ~]$ ping 10.1.0.110 -c 1 |
| | 42 | {{{ |
| | 43 | PING 10.1.0.110 (10.1.0.110) 56(84) bytes of data. |
| | 44 | |
| | 45 | --- 10.1.0.110 ping statistics --- |
| | 46 | 1 packets transmitted, 0 received, 100% packet loss, time 0ms |
| | 47 | }}} |
| | 48 | 1. centos-outer:eth0 |
| | 49 | {{{ |
| | 50 | 20:17:30.551763 IP 192.168.40.20 > 10.1.0.110: ICMP echo request, id 48141, seq 1, length 64 |
| | 51 | }}} |
| | 52 | |
| | 53 | == inner-BB -> centos-outer == |
| | 54 | * centos-outerのデフォルトゲートウェイの設定により、replyがWANに向かってしまう |
| | 55 | * centos-outerにstatic routeの設定が必要 |
| | 56 | |
| 51 | | == centos-inner -> WAN == |
| 52 | | * パケット経路 |
| 53 | | 1. centos-inner:<eth0> -> WAN |
| 54 | | |
| 55 | | * centos-inner ~]$ ping 10.0.0.10 -c 1 |
| 56 | | {{{ |
| 57 | | PING 10.0.0.10 (10.0.0.10) 56(84) bytes of data. |
| 58 | | |
| 59 | | --- 10.0.0.10 ping statistics --- |
| 60 | | 1 packets transmitted, 0 received, 100% packet loss, time 0ms |
| 61 | | }}} |
| 62 | | 1. centos-inner:eth0 |
| 63 | | {{{ |
| 64 | | 20:07:51.313947 IP 192.168.50.110 > 10.0.0.10: ICMP echo request, id 44813, seq 1, length 64 |
| 65 | | }}} |
| 66 | | |
| 67 | | == centos-outer -> WAN == |
| 68 | | * パケット経路 |
| 69 | | 1. centos-outer:<eth0> -> WAN |
| 70 | | |
| 71 | | * centos-outer ~]$ ping 10.1.0.110 -c 1 |
| 72 | | {{{ |
| 73 | | PING 10.1.0.110 (10.1.0.110) 56(84) bytes of data. |
| 74 | | |
| 75 | | --- 10.1.0.110 ping statistics --- |
| 76 | | 1 packets transmitted, 0 received, 100% packet loss, time 0ms |
| 77 | | }}} |
| 78 | | 1. centos-outer:eth0 |
| 79 | | {{{ |
| 80 | | 20:17:30.551763 IP 192.168.40.20 > 10.1.0.110: ICMP echo request, id 48141, seq 1, length 64 |
| 81 | | }}} |
| 82 | | |
| 83 | | == ubuntu-outer -> router -> centos-inner -> WAN == |
| | 92 | == ubuntu-outer -> centos-inner == |
| | 93 | * centos-innerのデフォルトゲートウェイの設定により、replyがWANに向かってしまう |
| | 94 | * centos-innerにstatic routeの設定が必要 |
| | 95 | |