问答题

阅读以下说明,回答问题l和问题2,将解答填入答题纸对应的解答栏内。【说明】某公司有3个分支机构,网络拓扑结构及地址分配如图4.1所示。
公司申请到202.111.1.0/29的公有地址段,采用NAPT技术实现公司内部访问互联网的要求,其中,192.168.16.0/22网段禁止访问互联网。R1、R2和R3的基本配置已正确配置完成,其中R1的配置如下。请根据拓扑结构,完成下列配置代码。 R1的基本配置及NAPT配置如下: R1>enable R1#config terminal R1(config)#interface fastenthernet 0/0 R1(config—if)#ip addresS 1 92.1 68.0.1 2 5 5.2 55.2 5 5.2 52 R1(config—if)#no shutdown R1(config—if)#exit R1(config)#interface fastenthernet 0/1 R1(config—if)#ip addresS 1 92.1 68.0.9 2 55.2 55.2 55.2 52 R1(config—if)#no shutdown R1(config—if)#exit R1(config)#interface fastenthernet 0/2 R1(config—if)#ip address (1) 255.255.252.0 //使用网段中最后一个地址 R1(config-if)#no shutdown R1(config—if)#exit R1(config)#interface serial 0 R1(config—if)#ip address 2 02.i i i.1.1 255.25 5.2 55.2 4 8 R1(config—if)#no shutdown R1(config)#ip nat pool SS 2 02.111.1.1 (2) netmask (3) R1(config)#interface (4) fastenthernet 0/0—1 R1(config—if)#ip nat (5) R1(config-if)#interface serial 0 R1(config—if)#ip nat(6) R1(config—if)#exit R1(config)#access—list 1 permit 192.168.0.0 (7) R1(config)#ip nat inside (8)list (9)pool (10) (11)

【参考答案】

正确答案:(1)192.168.7.254 (2)202.111.1.5 (3)255.255.255.248 (4)......

(↓↓↓ 点击下方‘点击查看答案’看完整答案、解析 ↓↓↓)
热门 试题