国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

思科實戰之采用isdn備份DDN時,NAT的處理

2019-11-05 00:07:49
字體:
來源:轉載
供稿:網友

  線路備份都是在幾秒內完成的,但相對的NAT time-out的時間至少有5分鐘,在這5分鐘內,整個網絡都是無法訪問的,可以通過設置NAT time-out來實現,但太小的time-out輕易導致更重的網絡負載。這個問題可以通過route-map配合nat來實現。
  這個試驗采用一個串口代替isdn撥號端口。雙靜態路由代替dynamic routing來實現。其中需要轉換的源地址可以定義ACLs進行取代。
  
  !
  version 12.0
  service timestamps debug uptime
  service timestamps log uptime
  no service passWord-encryption
  !
  hostname r2514
  !
  enable secret 5 $1$EkUC$WUTRmsOG.bMfJ7AwcUpur0
  enable password cisco
  !
  ip subnet-zero
  no ip domain-lookup
  !
  !
  !
  interface Ethernet0
  ip address 192.168.1.222 255.255.255.0
  no ip directed-broadcast
  ip nat inside
  no ip mroute-cache
  !
  interface Ethernet1
  no ip address
  no ip directed-broadcast
  no ip mroute-cache
  shutdown
  !
  interface Serial0
  ip address 172.16.10.2 255.255.255.252
  no ip directed-broadcast
  ip nat outside
  encapsulation ppp
  no ip mroute-cache
  clockrate 125000
  !
  interface Serial1
  ip address 172.16.20.2 255.255.255.252
  no ip directed-broadcast
  ip nat outside
  no ip mroute-cache
  !
  ip nat inside source route-map bak-nat interface Serial1 overload
  ip nat inside source route-map bck-nat interface Serial0 overload
  ip classless
  ip route 0.0.0.0 0.0.0.0 172.16.10.1
  ip route 0.0.0.0 0.0.0.0 172.16.20.1 2
  !
  logging trap debugging
  logging 192.168.1.119
  access-list 12 permit 192.168.1.222
  route-map bck-nat permit 10
  match interface Serial0
  !
  route-map bak-nat permit 20
  match interface Serial1
  !
  snmp-server community public RO
  !
  line con 0
  transport input none
  line aux 0
  line vty 0 4
  password cisco
  login
  !
  end

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 政和县| 沙坪坝区| 福州市| 海阳市| 那曲县| 孟津县| 庆元县| 任丘市| 大连市| 新泰市| 陇西县| 五台县| 庄河市| 通州区| 抚顺县| 唐山市| 泸水县| 诸城市| 盐城市| 离岛区| 平远县| 房山区| 竹溪县| 都匀市| 贵定县| 昂仁县| 瓮安县| 武隆县| 哈巴河县| 西峡县| 滨州市| 惠来县| 博乐市| 西乡县| 石台县| 天津市| 融水| 晋州市| 晋州市| 新疆| 湖北省|