当前位置:文档之家› cisco路由器双线接入配置

cisco路由器双线接入配置

interface GigabitEthernet0/0
ip address 192.168.5.2 255.255.255.0
ip nat inside
ip virtual-reassembly
ip policy route-map isp 注意地方 接口应用策略路由
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 117.74.77.242 255.255.255.252
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/3/0
ip address 218.241.188.194 255.255.255.252
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
ip forward-protocol nd
!
!
no ip http server
ip nat inside source route-map lsp interface g0/1 overload 注意地方
ip nat inside source route-map lsp interface f0/3/0 overload 注意地方
ip route 0.0.0.0 0.0.0.0 117.74.77.241 20 注意地方 浮动路由
ip route 0.0.0.0 0.0.0.0 218.241.188.193 默认走电信
ip route 192.16.2.0 255.255.255.0 192.168.5.1
ip route 192.168.1.0 255.255.255.0 192.168.5.1
ip route 192.168.2.0 255.255.255.0 192.168.5.1
ip route 192.168.3.0 255.255.255.0 192.168.5.1
ip route 192.168.4.0 255.255.255.0 192.168.5.1

ip route 58.32.0.0 255.248.0.0 218.241.188.193 注意地方
ip route 58.40.0.0 255.254.0.0 218.241.188.193
ip route 58.42.0.0 255.255.0.0 218.241.188.193
ip route 58.44.0.0 255.252.0.0 218.241.188.193 注意地方


.........把我没有加完的静态电信的路由加完毕就应该可以了

access-list 1 permit any

route-map lsp permit 10 路由映射
match ip address 1
match interface FastEthernet0/3/0
set next-hop ip 218.241.188.193
route-map lsp permit 20
match ip address 1
match interface GigabitEthernet0/1
set next-hop ip 17.74.77.241

相关主题
文本预览
相关文档 最新文档