助け合いフォーラム
トピック一覧に戻るトピック タイトル
(ネタバレ注意) 問題ID: 26175 分野:NAT 試験範囲:ICND1
フォーラム
最強WEB問題集CCNA
投稿ユーザ(投稿日)
(2018/3/31)本文
問題ID: 26175 分野:NAT 試験範囲:ICND1
大変お世話になっております。
[code]
(config)#ip nat inside source list 20 pool ping-t
(config)#access-list 20 permit 192.168.3.0 0.0.0.255
[/code]
いまさらながら、これがなぜ不正解なのか分からなくなってしまいました。どなたかご教示いただけると大変助かります。
ちなみに、 Packet Tracer の Router-PT で、オリジナルの
Fa0/1 を Fa0/0 に
E0/1 を Fa1/0 に
S0/0 を S2/0 に
して、動かしてみたら、
[code]
Router#show ip nat statistics
Total translations: 0 (0 static, 0 dynamic, 0 extended)
Outside Interfaces: Serial2/0
Inside Interfaces: FastEthernet0/0 , FastEthernet1/0
Hits: 4 Misses: 4
Expired translations: 4
Dynamic mappings:
-- Inside Source
access-list 10 pool ping-t refCount 0
pool ping-t: netmask 255.255.255.224
start 100.2.2.150 end 100.2.2.158
type generic, total addresses 9 , allocated 0 (0%), misses 0
-- Inside Source
access-list 20 pool ping-t refCount 0
pool ping-t: netmask 255.255.255.224
start 100.2.2.150 end 100.2.2.158
type generic, total addresses 9 , allocated 0 (0%), misses 0
[/code]
みたいなかんじで、動いてしまいました。
[code]
Router#show running-config
Building configuration...
Current configuration : 1046 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.254 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 192.168.3.254 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface Serial2/0
ip address 100.1.1.1 255.255.255.252
ip nat outside
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
ip nat pool ping-t 100.2.2.150 100.2.2.158 netmask 255.255.255.224
ip nat inside source list 10 pool ping-t
ip nat inside source list 20 pool ping-t
ip classless
ip route 0.0.0.0 0.0.0.0 100.1.1.2
!
ip flow-export version 9
!
!
access-list 10 permit 192.168.1.0 0.0.0.255
access-list 20 permit 192.168.3.0 0.0.0.255
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
[/code]
レス一覧
トピック一覧に戻る
フォーラムTopへ
Copyright (c) 2010
Ping-t All rights reserved.