Other HPE Product Questions
1836434 Members
2508 Online
110100 Solutions
New Discussion

PBR Switch 5130

 
Jonathan_M92
Occasional Contributor

PBR Switch 5130

Hello,

I need help witch a problem between two ISP, I have two routers that give two GW to the Switch 5130 but in this SW I dont know how send the traffic to each router (GW).

I think that can solve PBR but Im not sure, This is the current configuration, 

**R1 - 10.31.248.0 22 - GW 10.31.248.100

ip route-static 10.31.248.0 24 10.31.248.110 description SW-ADMIN_110
ip route-static 10.31.249.0 24 10.31.248.110 description DATOS_LAN1_10
ip route-static 10.31.250.0 24 10.31.248.110 description VoIP_LAN1_20
ip route-static 10.31.251.0 25 10.31.248.110 description IMPRESORAS_LAN1_30
ip route-static 10.31.251.128 25 10.31.248.110 description CAC_LAN1_40

**R2 - 10.31.252.0 22 - GW 10.31.252.100

ip route-static 10.31.252.0 24 10.31.252.120 description SW-ADMIN_LAN2 _120
ip route-static 10.31.253.0 24 10.31.252.120 description DATOS__LAN2_15
ip route-static 10.31.254.0 24 10.31.252.120 description VoIP_LAN2_25
ip route-static 10.31.255.0 25 10.31.252.120 description IMPRESORAS_LAN2_35
ip route-static 10.31.255.128 25 10.31.252.120 description CAC_LAN2_45

**SW 5130

interface Vlan-interface10
description DATOS_LAN1
ip address 10.31.249.1 255.255.255.0
dhcp select relay
dhcp relay server-address 10.31.248.100
#
interface Vlan-interface20
description VOIP_LAN1
ip address 10.31.250.1 255.255.255.0
dhcp select relay
dhcp relay server-address 10.31.248.100
#
interface Vlan-interface30
description IMPRESORAS_LAN1
ip address 10.31.251.1 255.255.255.128
#
interface Vlan-interface40
description CACYM_LAN1
ip address 10.31.251.128 255.255.255.128

interface Vlan-interface15
description DATOS_LAN2
ip address 10.31.253.1 255.255.255.0
dhcp select relay
dhcp relay server-address 10.31.252.100
#
interface Vlan-interface25
description VOIP_LAN2
ip address 10.31.254.1 255.255.255.0
dhcp select relay
dhcp relay server-address 10.31.252.100
#
interface Vlan-interface35
description IMPRESORAS_LAN2
ip address 10.31.255.1 255.255.255.128
#
interface Vlan-interface45
description CACYM_LAN2
ip address 10.31.255.128 255.255.255.128

interface Vlan-interface110
ip address 10.31.252.110 255.255.255.0

interface Vlan-interface120
ip address 10.31.252.120 255.255.255.0

0.0.0.0 0.0.0.0 10.31.248.100

0.0.0.0 0.0.0.0 10.31.252.100  ----> I need that the second segment (10.31.252.0 22) go for this route

***Posible configuration PBR

acl number 3101
description PBR_ROUTERS
rule 1 permit source 10.31.252.100 22

policy-based-route R2 permit node 5
if-match acl 3101
apply next-hop 10.31.252.100 ----> Im not sure if this IP should be the next-hop for segment 10.31.252.100

interface Vlan-interface120
ip address 10.31.252.120 255.255.255.0
ip policy-based-route R2 ----> Im not sure if this is correct in vlan-interface120

Thanks for the comments!

1 REPLY 1
Parvez_Admin
Community Manager

Re: PBR Switch 5130

Hello @Jonathan_M92 

HPE Networking forum has moved. For HPE networking and Aruba product queries, request you to visit and post your query in the Aruba Airheads Community using the link below:

https://community.arubanetworks.com/discussion

You can refer to the below link aswell for more details:

HPE Networking forum migration to Aruba Airheads c... - Hewlett Packard Enterprise Community


Thanks,
Parvez_Admin
I work for HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
CM_Cert_Logo_Color.png