首页 > 学院 > 网络通信 > 正文

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

2019-11-04 20:33:20
字体:
来源:转载
供稿:网友

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

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表