Configuring Shared IP Interfaces
interface ip
ip share-interface
Copyright © 2010, Juniper Networks, Inc.
IP floating interfaces (IP interfaces that stack over MPLS stacked tunnels)
Loopback interfaces
Null interfaces
For information about configuring shared IP interfaces to receive data on the same layer
2 interface as a primary IP interface, see JunosE Broadband Access Configuration Guide.
To share IP interfaces:
Create a layer 2 interface.
1.
host1(config)#interface atm 5/3
host1(config-if)#interface atm 5/3.101
(Optional) Create a primary IP interface.
2.
host1(config-if)#ip address 10.1.1.1 255.255.255.255
host1(config-if)#exit
Create the shared IP interface.
3.
host1(config)#interface ip si0
Associate the shared IP interface with the layer 2 interface by one of the following
4.
methods:
Statically
host1(config-if)#ip share-interface atm 5/3.101
Dynamically
host1:vr-a:vrf-1(config-if)#ip share-nexthop 10.0.0.1
To fully configure the shared interface, assign an address (or make the interface
5.
unnumbered).
host1(config-if)#ip address 2.2.2.2 255.0.0.0
Use to create an IP interface for interface sharing.
Use the specified name to refer to the shared IP interface; you cannot use the layer 2
interface to refer to them, because the shared interface can be moved.
Example
host1(config)#interface ip si0
Use the no version to delete the IP interface.
See interface ip
Chapter 1: Configuring IP
55