CISCO路由器实现双线接入 第一步: 配置cnc接口: interface GigabitEthernet5/1 ip address 60.10.135.11 255.255.255.224 ip nat outside 配置tel接口: interface GigabitEthernet5/9 ip address 219.148.157.22 255.255.255.252 ip nat outside 配置内网接口: interface GigabitEthernet5/2 ip address 192.168.0.1 255.255.255.0 ip nat inside 第二步:配置accelist-list access-list 100 permit ip 192.168.0.0 0.0.0.255 any 第三步:分别配置cnc和tel的地址池 ip nat pool pool2 60.10.135.11 60.10.135.11 netmask 255.255.255.224 ip nat pool pool1 219.148.157.22 219.148.157.22 netmask 255.255.255.252 第四步:配置两个route-map route-map isp2 permit 10 match ip address 100 match interface GigabitEthernet5/1 ! route-map isp1 permit 10 match ip address 100 match interface GigabitEthernet5/9 第五步:配置两个nat ip nat inside source route-map isp1 pool pool1 overload ip nat inside source route-map isp2 pool pool2 overload 第六步:配置路由 缺省从电信走:ip route 0.0.0.0 0.0.0.0 219.148.157.21 目的地址是网通的走网通,例如:ip route 202.99.168.0 255.255.248.0 60.10.135.1 将全国的网通地址段全部添加上即可完成。
(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)
未经允许不得转载:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权!
路由网 »
CISCO路由器实现双线接入