思科双线路接入方案

 
有一家公司为了网络流量均衡,要求接入两条线路,一个是电信、一个是网通,在思科路由器上实现自动分流连接互联网(电信的IP 61.153.177.1 网关3,网通112.55.33.0.114.55.33.0 )
               (一地址配置)
 
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
......................等等,网通不止这两条哦,找到所有的网通服务器IP

二(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
 
 
access-list 100 permit ip 192.168.1.0 0.0.0.255 any
access-list 101 permit ip 192.168.1.0 0.0.0.255 any


配置两个route map
Route-map isp2 permit 10
Match ip address 100
Match int s1/0
Route-map isp1 permit 10
Match ip address 101
Match int f0/0
 
 

你可能感兴趣的:(思科双线路)