中国IT动力,最新最全的IT技术教程
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档 | 网通镜像
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 硬件维护 | 未整理篇 | 站长教程
ASP JS PHP工程 ASP.NET 网站建设 UML J2EESUN .NET VC VB VFP 网络维护 数据库 DB2 SQL2000 Oracle Mysql
服务器 Win2000 Office C DreamWeaver FireWorks Flash PhotoShop 上网宝典 CorelDraw 协议大全 网络安全 微软认证
硬件维护  CPU  主板  硬盘  内存  显卡  显示器  键盘鼠标  声卡音箱  打印机  机箱电源  BIOS  网卡  C#  Java  Delphi  vs.net2005
  当前位置:> 教育认证 > 思科认证 > CISCO其他
局域网用户通过帧中继访问Internet
作者:佚名 时间:2005-01-02 10:57 出处:互连网 责编:chinaitpower
              摘要:局域网用户通过帧中继访问Internet

  局域网用户通过帧中继访问
  Internet service timestamps debug uptime
  service timestamps log uptime
  service password-encryption
  no service tcp-small-servers
  no service udp-small-servers
  !
  hostname <您路由器的名称>
  !
  enable password <进入特权模式的口令>
  !
  no ip name-server
  !
  ip subnet-zero
  no ip domain-lookup
  ip routing
  !
  interface Ethernet 0
  no shutdown
  description connected to EthernetLAN
  ip address <以太网口IP地址及子网掩码>
  ip nat inside
  keepalive 10
  !
  interface Serial 0
  no shutdown
  no description
  no ip address
  encapsulation frame-relay
  frame-relay lmi-type ansi
  !
  interface Serial 0.1 point-to-point
  no shutdown
  description connected to Internet
  ip address <对应该虚电路的广域网口IP地址及子网掩码>
  ip nat outside
  frame-relay interface-dlci <本地端口标识号>
  !
  ! Access Control List 1
  !
  no access-list 1
  access-list 1 permit <内网网段地址及子网掩码反码>
  !
  ! Dynamic NAT
  !
  ip nat translation timeout 86400
  ip nat translation tcp-timeout 86400
  ip nat translation udp-timeout 300
  ip nat translation dns-timeout 60
  ip nat translation finrst-timeout 60
  ip nat pool <外部地址池名称> <外部地址池范围> netmask <外部地址掩码>
  ip nat inside source list 1 pool <外部地址池名称> overload
  !
  router rip
  version 2
  network <内网网段地址>
  passive-interface Serial 0.1
  no auto-summary
  !
  !
  ip classless
  !
  ! IP Static Routes
  ip route 0.0.0.0 0.0.0.0 Serial 0.1
  no ip http server
  snmp-server community public RO
  no snmp-server location
  no snmp-server contact
  !
  line console 0
  exec-timeout 0 0
  password <从控制台端口登录进用户模式所需口令>
  login
  !
  line vty 0 4
  password
  login
  !
  end
  
关闭本页
 
首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助
Copyright ©2005-2008 chinaitpower.com All rights reserved. www.chinaitpower.com 版权所有