Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Technical Documentation
 
CLI Explorer New
 
Content Explorer New
 
Documentation Help New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
Glossary
 
Portable Libraries
 
Home > Support > Technical Documentation > Example: Connecting a Logical System to a Physical Router
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...
 

Related Documentation

  • M Series
  • Example: Creating an Interface on a Logical System
  • Example: Connecting Logical Systems Within the Same Router Using Logical Tunnel Interfaces
  • MX Series
  • Example: Creating an Interface on a Logical System
  • T Series
  • Example: Creating an Interface on a Logical System
  • Example: Connecting Logical Systems Within the Same Router Using Logical Tunnel Interfaces
 

Example: Connecting a Logical System to a Physical Router

This example shows how to configure an interface on a logical system to connect to a separate router. The separate router can be a physical router or a logical system on a physical router.

  • Requirements
  • Overview
  • Configuration
  • Verification

Requirements

PICs must be installed on the two routers.

Overview

In this example, Logical System LS1 is configured on Router R1. The Logical System LS1 has a direct connection to Router R2.

Figure 1 shows the topology used in this example.

Figure 1: Logical System Connected to a Physical Router

Image g040571.gif

Configuration

CLI Quick Configuration

To quickly connect a logical system to a physical router, copy the following commands into a text file, remove any line breaks, and then paste the commands into the CLI.

Device R2

[edit]set interfaces so-0/0/2 description R2->LS1set interfaces so-0/0/2 unit 0 family inet address 10.0.45.1/30

Router R1

[edit]set interfaces so-0/0/2 description "main router interface to R2"set logical-systems LS1 interfaces so-0/0/2 unit 0 description LS1->R2set logical-systems LS1 interfaces so-0/0/2 unit 0 family inet address 10.0.45.2/30

Step-by-Step Procedure

To connect a logical system to a physical router:

  1. On Device R2, configure the interface to Logical System LS1.

    [edit]user@R2# set interfaces so-0/0/2 description R2->LS1 user@R2# set interfaces so-0/0/2 unit 0 family inet address 10.0.45.1/30
  2. On Router R1, configure the interface.

    [edit]user@R1# set interfaces so-0/0/2 description "main router interface to R2"
  3. On Router R1, configure the Logical System LS1 interface.

    [edit]user@R1# set logical-systems LS1 interfaces so-0/0/2 unit 0 description LS1->R2 user@R1# set logical-systems LS1 interfaces so-0/0/2 unit 0 family inet address 10.0.45.2/30
  4. If you are done configuring the devices, commit the configuration.

    [edit]user@host# commit

Verification

Confirm that the configuration is working properly.

Verifying Connectivity

Purpose

Make sure that the devices can ping each other.

Action

user@R2> ping 10.0.45.2
PING 10.0.45.2 (10.0.45.2): 56 data bytes
64 bytes from 10.0.45.2: icmp_seq=0 ttl=64 time=3.910 ms
64 bytes from 10.0.45.2: icmp_seq=1 ttl=64 time=3.559 ms
64 bytes from 10.0.45.2: icmp_seq=2 ttl=64 time=3.503 ms
user@R1> set cli logical-system LS1
Logical system: LS1
user@R1:LS1> ping 10.0.45.1
PING 10.0.45.1 (10.0.45.1): 56 data bytes
64 bytes from 10.0.45.1: icmp_seq=0 ttl=64 time=1.217 ms
64 bytes from 10.0.45.1: icmp_seq=1 ttl=64 time=1.183 ms
64 bytes from 10.0.45.1: icmp_seq=2 ttl=64 time=1.121 ms
 

Related Documentation

  • M Series
  • Example: Creating an Interface on a Logical System
  • Example: Connecting Logical Systems Within the Same Router Using Logical Tunnel Interfaces
  • MX Series
  • Example: Creating an Interface on a Logical System
  • T Series
  • Example: Creating an Interface on a Logical System
  • Example: Connecting Logical Systems Within the Same Router Using Logical Tunnel Interfaces
 

Published: 2011-05-13

 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out