Packet Source-Ip-Based Interface Pbr Configuration Example - HP VSR1000 Configuration Manual

Virtual services router
Table of Contents

Advertisement

The output shows that Router A sets the next hop for the received packets to 151.1.1.2 according
to PBR. The packets are forwarded through GigabitEthernet 2/0.

Packet source-IP-based interface PBR configuration example

Network requirements
As shown in
GigabitEthernet 3/0 of Router A as follows:
Set the next hop of packets sourced from 192.168.10.2 to 4.1.1.2/24.
Set the next hop of other packets to 5.1.1.2/24.
Figure 81 Network diagram
Configuration procedure
1.
Configure Router A:
# Configure IP addresses for the interfaces.
<RouterA> system-view
[RouterA] interface gigabitethernet 1/0
[RouterA-GigabitEthernet1/0] ip address 4.1.1.1 24
[RouterA-GigabitEthernet1/0] quit
[RouterA] interface gigabitethernet 2/0
[RouterA-GigabitEthernet2/0] ip address 5.1.1.1 24
[RouterA-GigabitEthernet2/0] quit
# Configure ACL 2000 to match packets sourced from 192.168.10.2.
[RouterA] acl number 2000
[RouterA-acl-basic-2000] rule 10 permit source 192.168.10.2 0
[RouterA-acl-basic-2000] quit
Figure
81, configure interface PBR to guide the forwarding of packets received on
338

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents