問題 ccna-200-301-topic-1-question-1141・第4版

問題

ARPスプーフィング対策として、アクセススイッチでDHCP snoopingのバインディングを使うDAIを有効にする。Port-channel1は正規のDHCPサーバー側となるディストリビューションスイッチへの信頼できるアップリンクで、端末ポートは非信頼とする。グローバル設定モードから適用する設定断片を2つ選ぶ。

  1. A 
    ip dhcp snooping vlan 1-4094
     !
     interface Port-channel1
     switchport protected
     switchport port-security maximum 1
    
  2. B 
    ip dhcp snooping vlan 1-4094
     ip dhcp snooping
     !
     interface Port-channel1
     ip dhcp snooping trust
    
  3. C 
    ip dhcp snooping
     !
     interface Port-channel1
     switchport port-security maximum 1
     switchport port-security
    
  4. D 
    ip arp inspection trust
     !
     interface Port-channel1
     switchport port-security maximum 4094
     switchport port-security
     ip verify source mac-check
    
  5. E 
    ip arp inspection vlan 1-4094
     !
     interface Port-channel1
     ip arp inspection trust
    

正解:B、E

理由

DHCP snoopingを全体と対象VLANで有効にしてbindingを作り、正規のサーバー側をtrustにする。DAIも対象VLANで有効にし、ARPのIP/MAC対応を検証する。BとEはこの組合せに対応するが、trustにしたuplinkでは検査を省くため、上位の対応が正当であることと端末側の非信頼も条件になる。

選択肢ごとの説明

A.
ip dhcp snooping vlan 1-4094
 !
 interface Port-channel1
 switchport protected
 switchport port-security maximum 1

対象VLANの指定だけで全体のDHCP snooping有効化がない。Protected portやMAC最大1はARPのIP/MAC対応の検証を代替せず、uplinkの多端末も考慮する。

B.
ip dhcp snooping vlan 1-4094
 ip dhcp snooping
 !
 interface Port-channel1
 ip dhcp snooping trust

DHCP snoopingを全体とVLAN1-4094で有効にし、正規の上位返信を受けるPort-channel1をtrustにする。上位の信頼と端末側の設定が必要。

C.
ip dhcp snooping
 !
 interface Port-channel1
 switchport port-security maximum 1
 switchport port-security

全体のDHCP snoopingだけで対象VLANの有効化がなく、uplinkへMAC最大1のPort Securityを使うと集約する端末を制限する問題もある。

D.
ip arp inspection trust
 !
 interface Port-channel1
 switchport port-security maximum 4094
 switchport port-security
 ip verify source mac-check
ip arp inspection trust

インターフェースで指定するが、先頭はグローバルに置いている。

対象VLANのDAI有効化もなく、IP Source Guard等を混ぜてもこの不足を補わない。

E.
ip arp inspection vlan 1-4094
 !
 interface Port-channel1
 ip arp inspection trust

VLAN1-4094でDAIを有効にし、上位を信頼するPort-channel1で検査を省く。bindingと上位の信頼が必要で、BのDHCP snoopingと組み合わせる。

お問い合わせ

演習する →