First JUNOS logical topology

Following on from my last post, I wanted to put together a small lab for me to start with inside my M10. As a reminder the extremely simple topology looks like so:

The plan is to make a simple lab like so:

This should give me something to start with. I can always add more to make things a lot more complicated. Below I’ll paste my config which also includes IP addressing for the links and loopbacks:

set interfaces fe-0/0/0 vlan-tagging
set interfaces fe-0/0/1 vlan-tagging
set logical-systems J1 interfaces fe-0/0/0 unit 15 vlan-id 15
set logical-systems J1 interfaces fe-0/0/0 unit 15 family inet address 10.15.15.1/24
set logical-systems J1 interfaces fe-0/0/0 unit 121 vlan-id 121
set logical-systems J1 interfaces fe-0/0/0 unit 121 family inet address 10.12.12.1/24
set logical-systems J1 interfaces fe-0/0/0 unit 122 vlan-id 122
set logical-systems J1 interfaces fe-0/0/0 unit 122 family inet address 10.21.21.1/24
set logical-systems J1 interfaces lo0 unit 1 family inet address 1.1.1.1/32
set logical-systems J2 interfaces fe-0/0/1 unit 25 vlan-id 25
set logical-systems J2 interfaces fe-0/0/1 unit 25 family inet address 10.25.25.2/24
set logical-systems J2 interfaces fe-0/0/1 unit 121 vlan-id 121
set logical-systems J2 interfaces fe-0/0/1 unit 121 family inet address 10.12.12.2/24
set logical-systems J2 interfaces fe-0/0/1 unit 122 vlan-id 122
set logical-systems J2 interfaces fe-0/0/1 unit 122 family inet address 10.21.21.2/24
set logical-systems J2 interfaces lo0 unit 2 family inet address 2.2.2.2/32
set logical-systems J3 interfaces fe-0/0/0 unit 35 vlan-id 35
set logical-systems J3 interfaces fe-0/0/0 unit 35 family inet address 10.35.35.3/24
set logical-systems J3 interfaces fe-0/0/1 unit 34 vlan-id 34
set logical-systems J3 interfaces fe-0/0/1 unit 34 family inet address 10.34.34.4/24
set logical-systems J3 interfaces lo0 unit 3 family inet address 3.3.3.3/32
set logical-systems J4 interfaces fe-0/0/0 unit 34 vlan-id 34
set logical-systems J4 interfaces fe-0/0/0 unit 34 family inet address 10.34.34.4/24
set logical-systems J4 interfaces fe-0/0/1 unit 45 vlan-id 45
set logical-systems J4 interfaces fe-0/0/1 unit 45 family inet address 10.45.45.4/24
set logical-systems J4 interfaces lo0 unit 4 family inet address 4.4.4.4/32
set logical-systems J5 interfaces fe-0/0/0 unit 25 vlan-id 25
set logical-systems J5 interfaces fe-0/0/0 unit 25 family inet address 10.25.25.5/24
set logical-systems J5 interfaces fe-0/0/0 unit 45 vlan-id 45
set logical-systems J5 interfaces fe-0/0/0 unit 45 family inet address 10.45.45.5/24
set logical-systems J5 interfaces fe-0/0/1 unit 15 vlan-id 15
set logical-systems J5 interfaces fe-0/0/1 unit 15 family inet address 10.15.15.5/24
set logical-systems J5 interfaces fe-0/0/1 unit 35 vlan-id 35
set logical-systems J5 interfaces fe-0/0/1 unit 35 family inet address 10.35.35.5/24
set logical-systems J5 interfaces lo0 unit 5 family inet address 5.5.5.5/32

All tested and working so feel free to use the configuration yourself

© 2009-2018 Darren O'Connor All Rights Reserved -- Copyright notice by Blog Copyright