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

ISDN与NAT的结合配置实例

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

  !
  version 12.1
  no service single-slot-reload-enable
  service timestamps debug uptime
  service timestamps log uptime
  no service passWord-encryption
  !
  hostname ISND
  !
  logging rate-limit console 10 except errors
  enable secret 5 $1$BV7b$sCODaV5Dm/gRnqrXNl6.D1
  !
  ip subnet-zero
  no ip finger
  ip name-server 202.96.134.133
  ip name-server 202.96.154.15
  !
  isdn switch-type basic-net3
  cns event-service server
  !
  !
  !
  !
  !
  interface Ethernet0
   ip address 192.168.1.1 255.255.255.0
   ip nat inside
  !
  interface Serial0
   no ip address
   shutdown
  !
  interface Serial1
   no ip address
   shutdown
  !
  interface BRI0
   ip address negotiated
   ip nat outside
   encapsulation ppp
   dialer string 96169
   dialer-group 1
   isdn switch-type basic-net3
   ppp chap hostname 96169
   ppp chap password 7 10175F48534E
  !
  ip kerberos source-interface any
  ip nat inside source list 10 interface BRI0 overload
  ip classless
  ip route 0.0.0.0 0.0.0.0 BRI0
  no ip http server
  !
  access-list 10 permit 192.168.1.0 0.0.0.255
  dialer-list 1 PRotocol ip permit
  !
  !
  line con 0
   transport input none
  line aux 0
  line vty 0 4
   password tyl
   login
  !
  end

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