cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
287
Views
0
Helpful
6
Replies

2 metro ethernet 3 gigabit port (gateway problem)

linksanguinario
Level 1
Level 1

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

6 Replies 6

Jon Marshall
Hall of Fame
Hall of Fame

Shouldn't the subnet masks on the subinterfaces be 255.255.255.252 ?

Assuming they are what did your PBR configuration look like ?

Jon

yes, sorry my mistake, already edit the post... that is not the problem

I didn't think it was just wanted to make sure there was no IP overlap.

So what PBR configuration did you try ?

Jon

Jason M.
Level 1
Level 1

 

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

 

 

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.

linksanguinario
Level 1
Level 1

sorry i have been very busy... tomorrow i promise ill try all you comments. thx 

Review Cisco Networking products for a $25 gift card