网络地址转换(NAT)的主要目的是解决IP地址短缺问题以及实现TCP负载均衡等。在图4-1的设计方案中,与Internet连接的路由器采用网络地址转换。
[*]
填空题
某学校通过专线上网,申请的合法Internet IP地址202.168.10.1~202.168.10.10,使用路由器的NAT功能进行地址转换,具体配置如下,解释配置命令含义。
version 11.3
no service password-encryption
!
hostname 2601 (1)
!
enable password cisc02006 (2)
ip nat pool aaa 202.168.10.2 202.168.10.10 netmask 255.255.255.240
(3)
ip nat inside source list 1 pool aaa overload (4)
!
interface Ethernet0
ip address 10.1.1.1 255.255.255.0
ip nat inside (5)
!
interface Serial0
ip address 202.1 68.10.1 255.255.255.240
ip nat outside (6)
bandwidth 2000 (7)
clockrate 2000000
!
no ip classless
ip route 0.0.0.0 0.0.0.0 Serial0 (8)
access-list 1 permit 10.1.1.0 0.0.0.255 (9)
!
!
end
填空题
NAT按技术类型分为 (10) 、 (11) 、 (12) 三种转换方式。
单选题
此配置中采用的转换方式为 (13) 。
【正确答案】
C
【答案解析】从命令“ip nat inside source list l pool aaa overload”中overload关键字可以看出,在本题中使用的是复用动态地址转换。