zoukankan      html  css  js  c++  java
  • 思科双线路接入方案(网通电信自动切换)

    r1(config)#int f0/0
    r1(config-if)#ip add 61.153.177.1 255.255.255.0
    r1(config-if)#no shut
    %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
    r1(config-if)#int f0/1
    r1(config-if)#ip add 192.168.1.1 255.255.255.0
    r1(config-if)#no shut
    r1(config)#int s1/0
    r1(config-if)#ip add 112.55.33.1 255.255.255.0
    r1(config-if)#no shut
    电信r1(config)#ip route 0.0.0.0 0.0.0.0 61.153.177.3
    网通r1(config)#ip route 113.55.33.0 255.255.255.0 112.55.33.11
    r1(config)#ip route 114.55.33.0 255.255.255.0 112.55.33.11
    二(NAT配置)
    r1(config)#int f0/0
    r1(config-if)#ip nat outside
    r1(config-if)#exi
    r1(config)#int s1/0
    r1(config-if)#ip nat outside
    r1(config-if)#end
    NAT地址池
    r1(config)#ip nat pool wt 112.55.33.5 112.55.33.5 netmask 255.255.255.0
    r1(config)#ip nat pool dx 61.153.177.2 61.153.177.2 netmask 255.255.255.0
    配置两个route map
    Route-map isp2 permit 10
    Match ip address 100
    Match int s1/0
    Route-map isp1 permit 10
    Match ip address 100
    Match int f0/0

  • 相关阅读:
    声明式事务编程
    PlatformTransactionManager
    编码式事务
    事务的ACID
    struts2的工作原理
    通过Callable接口实现多线程
    Struts2 标签
    Struts2基础
    MySQL性能优化(十)-- 主从复制(一主多从)
    JVM学习(一)
  • 原文地址:https://www.cnblogs.com/fcu3dx/p/3610976.html
Copyright © 2011-2022 走看看