Configuring Packet Forwarding for Layer 3 VPNs
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:
- BOOTP service—Clients send Bootstrap Protocol (BOOTP) requests through the router configured with BOOTP service to a server in the specified routing instance. The server recognizes the client address and sends a response back to the router configured with BOOTP service. This router forwards the reply to the correct client address in the specified routing instance.
- Other services—Clients send requests through the router configured with the service to a server in the specified routing instance. The server recognizes the client address and sends a response to the correct client address in the specified routing instance.
To enable packet forwarding for VPNs, include the
helpersstatement:helpers {service{descriptiondescription-of-service;server {address address {routing-instancerouting-instance-names;}}interface interface-name {descriptiondescription-of-interface;no-listen;server {address address {routing-instancerouting-instance-names;}}}You can include the
helpersstatement at the following hierarchy levels:
[edit forwarding-options][edit logical-routerslogical-router-nameforwarding-options][edit routing-instancesrouting-instance-nameforwarding-options]
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:
[editforwarding-optionshelpers 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-Ais forwarded to10.2.3.4in theinstance-Arouting instance, while a packet coming in oninstance-Bis forwarded in theinstance-Brouting 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.