Home  >  Article  >  Database  >  分享技术:基于固定IP的ADSL配置实例

分享技术:基于固定IP的ADSL配置实例

WBOY
WBOYOriginal
2016-06-07 15:06:341039browse

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-

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协议
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:《find技巧》Next article:Pix-Pix的配置