设为首页收藏本站language 语言切换
查看: 1994|回复: 5
收起左侧

求教不懂的问题谢谢

[复制链接]
发表于 2009-10-22 21:08:58 | 显示全部楼层 |阅读模式
各位老师好我是刚学CISCO的~~这里有点不清楚就是ACL ROUTE-MAP 策略 和NAT地址转换怎么做,有实例的话请你们举几个配置什么的给我看看,我好学习学习,谢谢了
发表于 2009-10-22 21:24:37 | 显示全部楼层
你有具体的TOP吗!发过来!在帮你解答!你这个的问题面太广了!
沙发 2009-10-22 21:24:37 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2009-10-22 21:56:44 | 显示全部楼层
图上传了 这个是针对双线接入的情况下做的

这个是配置 Building configuration...
Current configuration : 1535 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!         
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
description link to telecome
no switchport
ip address 10.10.10.1 255.255.255.0
ip nat outside
ip virtual-reassembly
!
interface FastEthernet0/1
description link to CNC
no switchport
ip address 20.20.20.1 255.255.255.0
ip nat outside
ip virtual-reassembly
!
interface FastEthernet0/2
description link to lan
no switchport
ip address 192.168.1.1 255.255.255.0
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface Vlan1
no ip address
!
ip http server
!
!
ip nat pool 1 10.10.10.1 10.10.10.10 netmask 255.255.255.0
ip nat pool 2 20.20.20.1 20.20.20.10 netmask 255.255.255.0
ip nat inside source route-map aa pool 1
ip nat inside source route-map aa2 pool 2
!
access-list 1 permit 192.168.1.0
!
route-map aa permit 10
match ip address 1
!
route-map aa2 permit 20
match ip address 1
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
Router#



应该在f0/2接口下还要添加一条ip nat inside
我没有验证过 肯定有出错的 呵呵 反正大体配置就这些 你好好研究下吧、不懂再问
拓扑图.jpg
板凳 2009-10-22 21:56:44 回复 收起回复
回复 支持 反对

使用道具 举报

 成长值: 57325
发表于 2009-10-23 08:44:06 | 显示全部楼层
今天有NAT的讲座,楼主注意听!
地板 2009-10-23 08:44:06 回复 收起回复
回复 支持 反对

使用道具 举报

 成长值: 63430
发表于 2009-10-23 09:43:21 | 显示全部楼层
[s:34]
5# 2009-10-23 09:43:21 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-23 10:06:42 | 显示全部楼层
OK 谢谢大家 [s:45]  [s:45]
6# 2009-10-23 10:06:42 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-6 03:52 , Processed in 0.057712 second(s), 14 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表