基于固定IP的ADSL配置实例

[ 2005-08-09 04:38:05 | 作者: Admin ] 字号: | |
bridge irb
!
!-------启用集成路由桥接模式
!
interface Ethernet0
ip address 192.168.0.254 255.255.255.0
ip nat inside

ff0099> !-------配置内网接口

!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 0/35
encapsulation aal5snap
!
bundle-enable
dsl operating-mode auto
bridge-group 1
!
!--------配置ATM接口,把ATM0接口归属于bridge-group 1
!
interface BVI1
ip address 171.68.1.1 255.255.255.240
ip nat outside

!---------配置虚拟桥接组1做为NAT的外部接口
!
ip nat inside source list 1 interface BVI1 overload

ip nat inside source static tcp 192.168.0.5 80 171.68.1.1 80 extendable

ip classless
ip route 0.0.0.0 0.0.0.0 171.68.1.254

access-list 1 permit 192.168.0.0 0.0.0.255

bridge 1 protocol ieee
bridge 1 route ip
!!---------配置桥接协议和IP协议
Share
评论Feed 评论Feed: http://www.85815.com/feed.asp?q=comment&id=762
UTF-8 Encoding 引用链接: http://www.85815.com/trackback.asp?id=762&key=
这篇日志没有评论.
发表
表情图标
[smile] [confused] [cool] [cry]
[eek] [angry] [wink] [sweat]
[lol] [stun] [razz] [redface]
[rolleyes] [sad] [yes] [no]
[heart] [star] [music] [idea]
UBB代码
转换链接
表情图标
悄悄话
用户名:   密码:   注册?
验证码 * 请输入验证码