Navigation
Supported Platforms
Related Documentation
- MX Series
- Configuring MX Series Router Cloud CPE NAT Services to Route Internet Traffic
- 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 on the PE2 Router to Route Internet Traffic
Complete the following tasks to configure PE2:
Configuring the Subscriber VLAN
To configure the subscriber VLANs:
- Configure the physical interface for VLAN tagging and
flexible Ethernet services encapsulation.[edit]user@host# edit interfaces ge-1/2/3 [edit interfaces ge-1/2/3]user@host# set vlan-tagginguser@host# set encapsulation flexible-ethernet-services
- Set up the VLAN for internal VPN traffic.
- Configure the logical interface.[edit interfaces ge-1/2/3]user@host# edit unit 105
- Configure the encapsulation for the logical interface.[edit interfaces ge-1/2/3 unit 105 ]user@host# set encapsulation vlan-bridge
- Bind an 802.1Q VLAN tag ID to the logical interface.[edit interfaces ge-1/2/3 unit 105]user@host# set vlan-id105
- Configure the logical interface for Layer 2 bridging.[edit interfaces ge-1/2/3 unit 105]user@host# set family bridge
- Configure the logical interface.
Configuring the IRB Interface, Bridge Domain, and Routing Instance
To configure the IRB interface, bridge domain, and routing instance:
- Configure the IRB interface.
- Configure the logical interface used for internal VPN
traffic as the IRB interface. [edit]user@host# edit interfaces irb unit 105
- Specify the private subnet of the VPN site on the IRB interface.
- Configure the logical interface used for internal VPN
traffic as the IRB interface.
- Configure the bridge domain.
- Configure the bridge domain name.[edit]user@host# edit bridge-domains bd-105
- Associate the subscriber’s VLAN ID with the bridge
domain. [edit bridge-domains bd-105]user@host# set vlan-id 105
- Specify the interface to include in the bridge domain.[edit bridge-domains bd-105]user@host# set interface ge-1/2/3.105
- Specify the routing interface to include in the bridge
domain. [edit bridge-domains bd-105]user@host# set routing-interface irb.105
- Configure the bridge domain name.
- Configure the routing instance.
- Configure the name of the routing instance.[edit]user@host# edit routing-instances acme
- Configure the routing instance as VRF. [edit routing-instances acme]user@host# set instance-type vrf
- Reference the IRB interface by specifying irb.vlan-id.[edit routing-instances acme]user@host# set interface irb.105
- Specify a route distinguisher attached to the route, enabling
you to distinguish which VPN the route belongs to. Each routing instance
must have a unique route distinguisher associated with it. The route
distinguisher is used to place boundaries around a VPN so that the
same IP address prefixes can be used in different VPNs without having
them overlap. The format for the route distinguisher is as-number:id.[edit routing-instances acme]user@host# set route-distinguisher 65535:1
- Specify the VPN’s community. VRF import and export
policies are automatically generated.[edit routing-instances acme]user@host# set vrf-target target:65535:5
- Map the inner label of a packet to a specific VRF table.
This enables examination of the encapsulated IP header.[edit routing-instances acme]user@host# set vrf-table-label
- Configure the name of the routing instance.
Related Documentation
- MX Series
- Configuring MX Series Router Cloud CPE NAT Services to Route Internet Traffic
- 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
Modified: 2015-10-29
Supported Platforms
Related Documentation
- MX Series
- Configuring MX Series Router Cloud CPE NAT Services to Route Internet Traffic
- 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