考试网 >> IT认证 >> 思科 >> Cisco指导 >> CCIE实验室考试指南(8)

CCIE实验室考试指南(8)

发布时间:2006-06-28 06:34     点击:
分页:上一页  1 [2] 

!

!

line con 0

exec-timeout 0 0

line aux 0

line vty 0 4

login

!

end

Explanation of the bold commands:

Ip nat pool-

Defines the pool name of "nat-example" the first public address is

200.200.200.1 and the last address 200.200.200.255. The mask is

255.255.255.0 or /24

Ip nat inside source-

Applies the access-list 1 to the pool "nat-example"

Ip address 200.200.200.1 255.255.255.0 secondary-

Applies the public address to the e0/0 interface as a secondary

address. Since we want to advertise the public address we must

configure the address.

Ip nat inside-

Defines the e0/0 interface as the inside address

Ip nat outside-

Define serial 0 as the outside addresses

Router rip-

Network 200.200.200.0

Because we configures the 200.200.200.0 address as a secondary

address we can advertise it with RIP.

Access-list 1 permit 10.10.10.0 0.0.0.0.255

Permits the private addresses on the 10.10.10.o subnet to be

translated to the public address.

The following is the actual translation taken after the seri10.10.10.1

interface of the router and the workstation 10.10.10.2 performed a

ping of the Serial interface of the ISP’s router.

router_a#sh ip nat trans

Pro Inside global Inside local Outside local Outside global

--- 200.200.200.1 10.10.10.1 --- ---

--- 200.200.200.2 10.10.10.2 --- ---
分页:上一页  1 [2] 
版权申明:未经书面授权请勿转载本站信息!!作品版权归所属媒体与作者所有!!
发表评论: 匿名发表 用户名: 查看评论
您将承担一切因您的行为、言论而直接或间接导致的民事或刑事法律责任
留言板管理人员有权保留或删除其管辖留言中的任意内容
本站提醒:不要进行人身攻击。谢谢配合。
在本站搜索相关信息
2003-2005 Ksw123.com All Rights Reserved. - TOP
Copyright © 2006 Ksw123.com. All rights reserved.中国考题网 版权所有