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协议