发布时间:2019-06-23 08:44:19编辑:auto阅读(2321)
(一):
Router#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ho R2
R2(config)#no ip domain-lo
R2(config)#line c 0
R2(config-line)#logg syn
R2(config-line)#exec-t 0 0
R2(config-line)#exit
R2(config)#int ser0
R2(config-if)#ip add 100.0.0.1 255.255.255.0
R2(config-if)#ip nat inside
R2(config-if)#no shut
R2(config-if)#clock rate 5600
R2(config-if)#ip access-group 1 out
R2(config-if)#exit
R2(config)#int e0
R2(config-if)#ip ad
R2(config-if)#no shut
R2(config-if)#exit
(二):
R2(config)#ip nat inside source list 1 pool dongsheng
(三):
R2(config)#access-list 1 permit
R2(config)#access-list 1 permit
(四):
R2(config)#ip nat pool dongsheng 100.0.0.1 100.0.0.2 netmask 255.255.255.0
R2(config)#exit |
上一篇: Lesson 3
下一篇: H3C Portal概述
51050
50441
41042
37908
32379
29271
28150
22990
22953
21281
1289°
1993°
1652°
1579°
1868°
1667°
2331°
3926°
3835°
2741°