問題
本社から指定の支店へアプリケーションの通信を運ぶDMVPN IPsecトンネルで、TCPセグメントの大きさを調整する。TCPセグメントが送信リンクのMTUを超えないようにし、アプリケーションの性能を改善するには、どの設定を適用するか。
- A
interface tunnel30 ip mtu 1400 ip tcp payload-size 1360 exit ! crypto ipsec fragmentation before-encryption - B
interface tunnel30 ip mtu 1400 ip tcp adjust-mss 1360 exit ! crypto ipsec fragmentation after-encryption - C
interface tunnel30 ip mtu 1400 ip tcp max-segment 1360 exit ! crypto ipsec fragmentation before-encryption - D
interface tunnel30 ip mtu 1400 ip tcp packet-size 1360 exit ! crypto ipsec fragmentation after-encryption
正解:B
理由
TCPセグメントの大きさは、通過するSYNのMSSをip tcp adjust-mssで調整する。トンネルのオーバーヘッドを考慮した組み合わせは次のとおりである。
ip mtu 1400
ip tcp adjust-mss 1360
暗号化後の断片化設定はMSSの調整とは別の処理であり、実際に使う値は経路のMTUとGRE/IPsecの条件に依存する。
選択肢ごとの説明
- A.
interface tunnel30 ip mtu 1400 ip tcp payload-size 1360 exit ! crypto ipsec fragmentation before-encryption MSSの調整に使うコマンドは
ip tcp adjust-mssである。この設定のip tcp payload-sizeはその処理を指定していない。- B.
interface tunnel30 ip mtu 1400 ip tcp adjust-mss 1360 exit ! crypto ipsec fragmentation after-encryption ip tcp adjust-mss 1360でTCP SYNのMSSを調整し、ip mtu 1400でトンネルのMTUを設定する。after-encryptionは暗号化後の断片化を指定する。- C.
interface tunnel30 ip mtu 1400 ip tcp max-segment 1360 exit ! crypto ipsec fragmentation before-encryption ip tcp max-segmentでは、必要なMSSの調整を指定していない。MTUを1400へ設定することだけではTCP SYNのMSSを1360へ変更する処理にはならない。- D.
interface tunnel30 ip mtu 1400 ip tcp packet-size 1360 exit ! crypto ipsec fragmentation after-encryption ip tcp packet-sizeでは、必要なMSSの調整を指定していない。暗号化後の断片化設定とTCP SYNのMSS調整は別の機能である。