Supported Platforms
Related Documentation
- MX Series
- Understanding How MX Series Router Cloud CPE Services Route Internet Traffic from Layer 2 CPEs to a Subscriber-Owned NAT Gateway
- Understanding How MX Series Router Cloud CPE NAT Services Provide Internet Traffic Routing for Layer 2 CPEs
- Configuring MX Series Router Cloud CPE NAT Services to Route Internet Traffic
Configuring MX Series Router Cloud CPE Services to Route Internet Traffic to a Subscriber-Owned NAT Gateway
This topic describes how to configure a VPN subscriber called acme, with two sites. The subnet for Site 1 is 192.168.1.0/24, and the subnet for Site 2 is 192.168.2.0/24. Site 1, which is connected to PE1, has Internet access. The NAT gateway is located in Site 1 with address 192.168.1.2. A static route is added to the VPN routing instance to send Internet traffic to the NAT gateway. Site 1 has two VLAN interfaces into the PE1 router: one for VPN internal traffic and one for public Internet traffic.
Internet access from Site 2 travels through the NAT gateway in Site 1. The static route configured in the VPN routing instance of Site 1 is propagated to the VPN routing instance at Site 2 through IBGP.
For this configuration you will:
- In PE1, configure a bridge domain, the IRB interface, and the VLAN interface for the VPN internal interface.
- In PE1, configure a VPN routing instance that includes the IRB interface.
- In PE1, configure the second VLAN interface for the public interface for the subscriber.
- Optionally, configure a static or dynamic route for Internet access from the Site 1.
- In the Layer 2 CPE, configure two VLAN interfaces: one as a VPN internal interface, and one as an Internet public interface.
- In PE2, configure the bridge domain, IRB interface, and the VLAN interface.
- In PE2, configure the VPN routing instance that includes the IRB interface.
Before you begin, make sure you have completed the steps for the cCPE common configuration. See Configuring the Common Configuration for MX Series Router Cloud CPE Services.
Then complete the following tasks to configure CPE-based dual Ethernet:
- Configure the PE1 router. See Configuring MX Series Router Cloud CPE Services on PE1 to Route Internet Traffic to a Subscriber-Owned NAT Gateway.
- Configure the PE2 router. See Configuring MX Series Router Cloud CPE NAT Services on the PE2 Router to Route Internet Traffic:
- Configure the Layer 2 CPE. See Configuring the Layer 2 CPE at the PE1 Site When Running MX Series Router Cloud CPE Services to Route Internet Traffic to a Subscriber-Owned NAT Gateway.
Note: This procedure uses a Juniper Networks EX Series Ethernet Switch for the Layer 2 CPE.
Related Documentation
- MX Series
- Understanding How MX Series Router Cloud CPE Services Route Internet Traffic from Layer 2 CPEs to a Subscriber-Owned NAT Gateway
- Understanding How MX Series Router Cloud CPE NAT Services Provide Internet Traffic Routing for Layer 2 CPEs
- Configuring MX Series Router Cloud CPE NAT Services to Route Internet Traffic
Modified: 2015-10-29
Supported Platforms
Related Documentation
- MX Series
- Understanding How MX Series Router Cloud CPE Services Route Internet Traffic from Layer 2 CPEs to a Subscriber-Owned NAT Gateway
- Understanding How MX Series Router Cloud CPE NAT Services Provide Internet Traffic Routing for Layer 2 CPEs
- Configuring MX Series Router Cloud CPE NAT Services to Route Internet Traffic