Example: Configuring Shared IPv6 Interfaces
This example explains how to create a shared IPv6 interface over a layer 2 logical interface.
Requirements
This example uses the following software and hardware components:
- JunosE Release 7.1.0 or higher-numbered releases
- E Series router (ERX7xx models, ERX14xx models, the ERX310 router, the E120 router, or the E320 router)
- ASIC-based line modules that support Fast Ethernet or Gigabit Ethernet
Overview
You can create multiple shared IPv6 interfaces over the same layer 2 logical interface—for example, atm 5/3.101—enabling more than one IPv6 interface to share the same logical resources.
Creating a Shared IPv6 Interface over a Layer 2 Logical Interface
To share IPv6 interfaces:
- Create a layer 2 interface.host1(config)#interface atm 5/3 host1(config-if)#interface atm 5/3.101
- (Optional) Create a primary IPv6 interface.host1(config-if)#ipv6 address 1::1/64 host1(config-if)#exit
- Create the shared IPv6 interface.host1(config)#interface ipv6 si0
- Associate the shared IPv6 interface with the layer 2 interface
by the following method:host1(config-if)#ipv6 share-interface atm 5/3.101
- To fully configure the shared interface,
assign an address (or make the interface unnumbered).host1(config-if)#ipv6 address 1::1/64