10-16-2015 08:11 AM - edited 03-05-2019 02:31 AM
hi..
OK i have this router 3945, 2 metro Ethernets , and only 3 gigabit ports.
Metro 1:
Vlan:aa
wan:A.A.A.A/30
wan-pool:a.a.a.a/29
Metro 2:
vlan:bb
wan: B.B.B.B/30
wan-pool b.b.b.b/29
interface GigabitEthernet0/0.aa
description Metro-1
encapsulation dot1Q aa
ip address A.A.A.2. 255.255.255.252
!
interface GigabitEthernet0/1.bb
description Metro-2
encapsulation dot1Q bb
ip address B.B.B.2 255.255.255.252
!
interface GigabitEthernet0/2
ip address a.a.a.1 255.255.255.248
ip address b.b.b.1 255.255.255.248 secondary
duplex auto
speed auto
!
WAN1-------
router 3945 ------- LAN-Wan
WAN2-------
My problem is how set all traffic (0.0.0.0) coming from a.a.a.x (lan-wan-Metro1) go to A.A.A.1(ip of isp) AND
b.b.b.x(lan-wan-Metro2) go to B.B.B.1(ip of isp)
I try with route-map... but something is wrong, cause i can ping from a.a.a.x to a.a.a.1 but i cant ping 8.8.8.8 or any other wan ip...
Really appreciate all your help
10-16-2015 09:21 AM
Shouldn't the subnet masks on the subinterfaces be 255.255.255.252 ?
Assuming they are what did your PBR configuration look like ?
Jon
10-16-2015 11:11 AM
yes, sorry my mistake, already edit the post... that is not the problem
10-16-2015 11:22 AM
I didn't think it was just wanted to make sure there was no IP overlap.
So what PBR configuration did you try ?
Jon
10-16-2015 08:22 PM
Well your policy should look like this if your configuration for the WAN interfaces are correct.
ip access-list standard aa
permit a.a.a.0 0.0.0.7
ip access-list standard bb
permit b.b.b.0 0.0.0.7
route-map DUAL-WAN permit 10
match ip address aa
set ip next-hop A.A.A.1
route-map DUAL-WAN permit 20
match ip address bb
set ip next-hop B.B.B.2
interface GigabitEthernet0/2
ip policy route-map DUAL-WAN
10-18-2015 01:17 AM
Do you really need a.a.a.0 and b.b.b.0 networks in the same VLAN on the LAN? If you could separate them into two VLANs you could create two vrfs:
vrf a G0/0.aa , G0/2.a
vrf b G0/0.bb , G0/2.b
The network could operate without the secondary subnet and the vrfs implement two entirely independent virtual router. Policy-based routing is not necessary in this case.
10-20-2015 04:11 PM
sorry i have been very busy... tomorrow i promise ill try all you comments. thx
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide