设为首页 友情链接
在线留言 发表文章
加入收藏 广告联系

刺猬首页

| 专案技术 | 网络技术 | 图形图象 | 网络编程 | 网页设计 | 操作系统 | 服务器 | 技术白皮书 | 在线实验室 | 刺猬论坛 |
小说专版  | 数据库 | 设计赏析 | 存储频道 | 网络安全 | 私服架设 |  Solaris | 网站评估 | PC维护技巧 | 下载中心 | 博 客 |
专   题: | Linux | java | cisco | 防病毒 | 刀片 | SOA | iscsi | ASP.NET | SQL | Oracle |
您现在的位置: IT公社 IT community >> 思科学堂 >> 思科网络学堂 >> 文章正文 用户登录 新用户注册
专 题 栏 目
最 新 热 门
最 新 推 荐
相 关 文 章
使用syslog记录Cisco设备
pix+2611的ADSL+VPN配置
OSPF Point-to-point no
基于固定IP的ADSL配置实
一个正常使用的ADSL配置
TACACS +和RADIUS比较
配置示例:Catalyst 290
CSU/DSU:信道服务单元/
UDP Broadcast Flooding
在Catalyst交换机配置TA
  ADSL配置静态IP的配置参考         
ADSL配置静态IP的配置参考
 

【导读】ADSL配置静态IP的配置参考

A">ADSL配置静态IP的配置参考
Current Configuration:

!

version 12.1

service timestamps debug uptime

service timestamps log uptime

!

hostname 827

!

ip subnet-zero

no ip domain-lookup

!

bridge irb

!

interface Ethernet0

ip address 192.168.0.254 255.255.255.0

ip nat inside

!--- This is the inside local IP address and it's a private IP address.

!

interface ATM0

no ip address

no atm ilmi-keepalive

pvc 0/35

encapsulation aal5snap

!

bundle-enable

dsl operating-mode auto

bridge-group 1

!

interface BVI1

ip address 171.68.1.1 255.255.255.240

ip nat outside

!--- This is the inside global IP address.

!--- This is your public IP address and it is provided to you by your ISP.

!

ip nat inside source list 1 interface BVI1 overload

!--- This statement makes the router perform PAT for all the

!--- End Stations behind the Ethernet interface that are using

!--- private IP addresses defined in access list #1.

ip nat inside source static tcp 192.168.0.5 80 171.68.1.1 80 extendable

!--- This statement performs the static address translation for the Web server.

!--- With this statement, users trying to reach 171.68.1.1 port 80 (www) will be

!--- automatically redirected to 192.168.0.5 port 80 (www), which in this case

!--- is the Web server.

ip classless

ip route 0.0.0.0 0.0.0.0 171.68.1.254

!--- IP address 171.68.1.254 is the next hop IP address, also

!--- called the default gateway.

!--- Your ISP can tell you what IP address to configure as the next hop address.

!

access-list 1 permit 192.168.0.0 0.0.0.255

!--- This access list defines the private network

!--- that will be network address translated.

bridge 1 protocol ieee

bridge 1 route ip

!

end

(责任编辑: 51CTO.com TEL:010-68476606)

频道声明:本频道的文章除部分特别声明禁止转载的专稿外,可以自由转载.但请务必注明出出处和原始作者 文章版权归本频道与文章作者所有.对于被频道转载文章的个人和网站,我们表示深深的谢意。

原始作者:佚名 录入时间:2006-10-13 4:49:10
信息来源:不详 投稿信箱:itqoo@126.com
文章录入:admin    责任编辑:admin 
  • 上一篇文章:

  • 下一篇文章:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
    - 关于我们 - 合作伙伴 - 友情链接 - 广告刊登 - 投稿热线 - 在线留言版权声明联系方式 -
    IT公社版权所有 粤ICP备05127012号
    Copyrigh@2005-2006 itqoo.com.Inc All Rights Reserved  推荐分辨率 1024*768
    联系站长:E-Mail:itqoo@126.com     MSN:urchincc@hotmail.com    QQ:点击这里给我发消息
    特别感谢:亿太网络提供空间支持