You can configure the router to support packet forwarding for IPv4 traffic in Layer 2 and Layer 3 VPNs. Packet forwarding is handled in one of the following ways, depending on the type of helper service configured:
To enable packet forwarding for VPNs, include the helpers statement:
- helpers {
-
-
service {
- description description-of-service;
-
- server {
-
- address address {
- routing-instance routing-instance-names;
- }
- }
-
- interface interface-name {
- description description-of-interface;
- no-listen;
-
- server {
-
- address address {
- routing-instance routing-instance-names;
- }
- }
- }
- }
- }
You can include the helpers statement at the following hierarchy levels:
![]() |
Note: You can enable packet forwarding for multiple VPNs. However, the client and server must be within the same VPN. Any Juniper Networks routing platforms with packet forwarding enabled along the path between the client and server must also reside within the same VPN. |
The address and routing instance together constitute a unique server. This has implications for routers configured with BOOTP service, which can accept multiple servers.
For example, a BOOTP service can be configured as follows:
- [edit forwarding-options helpers bootp]
- server address 10.2.3.4 routing-instance [instance-A instance-B];
Even though the addresses are identical, the routing instances are different. A packet coming in for BOOTP service on instance-A is forwarded to 10.2.3.4 in the instance-A routing instance, while a packet coming in on instance-B is forwarded in the instance-B routing instance. Other services can only accept a single server, so this configuration does not apply in those cases.
For more information about the statements configured at the [edit forwarding-options] hierarchy level, see the JUNOS Policy Framework Configuration Guide.