Configure Packet Forwarding for Layer 3 VPNs
You can configure the router to support packet forwarding for Internet Protocol version 4 (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, configure the
helpersstatement at the[edit forwarding-options]hierarchy level as follows:[edit forwarding-options]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;}}}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 1.2.3.4 routing-instance [instance-A instance-B];Though the addresses are identical, the routing instances are different. A packet coming in for BOOTP service on
instance-Ais forwarded to1.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 Internet Software Configuration Guide: Policy Framework.