ADSL配置静态IP的配置参考
2008-02-23 04:54:21来源:互联网 阅读 ()
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
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash