我是一个相对初级的网络人员,我已经设法设置了一个 Cisco 2911 路由器,它有两个 ISP(没有 BGP)、NAT 和路由图(虽然我并不真正了解它们),两个上行链路有一个默认路由和另一个浮动静态路由。
我的问题是:由于一次只有一个上行链路处于活动状态,我无法接收来自冗余链路的传入连接,因为在返回的途中它们是通过默认路由(而不是它们来自的浮动路由)进行路由的。
有什么方法可以让数据从冗余链路传入,然后通过冗余链路返回?如果您能在回复中提供一些示例命令,我将不胜感激。
作为参考,以下是我的一些配置摘录:
interface GigabitEthernet0/0
description LAN
ip address 192.168.0.1 255.255.255.0
ip flow ingress
ip flow egress
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
description GO Primary Connection
no ip address
ip virtual-reassembly in
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface GigabitEthernet0/2
description Melita Redundant Connection
ip address 213.165.160.28 255.255.255.240
ip nat outside
no ip virtual-reassembly in
ip tcp adjust-mss 1452
duplex auto
speed auto
!
interface Dialer1
description GO Primary Connection Dialer
ip address negotiated
ip mtu 1492
ip nat outside
no ip virtual-reassembly in
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
dialer idle-timeout 0
dialer persistent
dialer-group 1
ppp authentication pap callin
ppp chap hostname ****
ppp chap password 0 ****
ppp pap sent-username **** password 0 ****
!
ip nat inside source route-map GO interface Dialer1 overload
ip nat inside source route-map Melita interface GigabitEthernet0/2 overload
ip route 0.0.0.0 0.0.0.0 Dialer1
ip route 0.0.0.0 0.0.0.0 213.165.160.17 20
route-map GO permit 10
match ip address 1
match interface Dialer1
!
route-map Melita permit 10
match ip address 1
match interface GigabitEthernet0/2
!
access-list 1 permit 192.168.0.0 0.0.0.255