Junos
Reply
Visitor
Abturki
Posts: 7
Registered: ‎04-02-2012
0

Logical Systems and Physical Interfaces Conntection

Hello,

 

I have two logical systems configured on m7i router, I want to connect both LSs through two physical interfaces on the same router (fe-0/0/0 and fe0/1/0): My configs on both interfaces like:

 

R1)

 

root@JNCIE-SP# run show configuration logical-systems R1
interfaces {
    fe-0/0/0 {
        unit 1 {
            vlan-id 111;
            family inet {
                address 10.0.5.1/24;
            }
        }
    }

}

 

P1)

 

root@JNCIE-SP# run show configuration logical-systems P1   
interfaces {
    fe-0/1/0 {
        unit 1 {
            vlan-id 111;
            family inet {
                address 10.0.5.254/24;
            }
        }
    }

}

 

 

However, when I ping from R1 to P1 I got the following message "ping: sendto: Can't assign requested address"

 

What's the reason for that?

 

Distinguished Expert
aarseniev
Posts: 1,701
Registered: ‎08-21-2009
0

Re: Logical Systems and Physical Interfaces Conntection

Hello there,

Please try

ping 10.0.5.254 source 10.0.5.1 logical-system R1 

 HTH

Rgds

Alex

___________________________________
Accept as Solution = cool !
Accept as Solution+Kudo = You are a Star !
Recognized Expert
erdems
Posts: 191
Registered: ‎12-30-2008
0

Re: Logical Systems and Physical Interfaces Conntection

If you want, you can also lock your CLI to a logical-router:

 

erdems@cartman> set cli logical-router LR1   
Logical router: LR1

erdems@cartman:LR1> 

erdems@cartman:LR1> clear cli logical-router 
Cleared default logical router

erdems@cartman> set cli logical-router LR2    
Logical router: LR2

erdems@cartman:LR2> clear cli logical-router 
Cleared default logical router

erdems@cartman> 

  I believe this to be useful especially when you need to spend some significant amount of time on a LR.

 

 Cheers,

____________________________________________
If you think your question's answered, please
mark the respective post as "Accepted Solution".

Kudos are an excellent way of showing appreciation, too.
Visitor
Abturki
Posts: 7
Registered: ‎04-02-2012
0

Re: Logical Systems and Physical Interfaces Conntection

Thanks for your help.

 

The problem solved after adding the <vlan tagging> under the physical interface.

 

 

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.