I have two EX4100s in a VC that are handling routing for a building. There are other EX4100s in different closets around the building that are trunking all VLANs to the VC.
VC <-fiber-> Switch1 <-fiber-> Switch2 <-fiber->Back to VC.
The VC has fiber transceiver on et-0/1/0 to Switch 1 and on et-0/1/1 to Switch 2. Switch 1 and 2 are similarly connected All three link operate as trunks.
Switches 1 and 2 don't have any IPs or routing config but I want to add a management IP to these access switches so they can be managed remotely. What is the best way to set this up?
With the config below, I can ping the IRB for the management VLAN on the VC (10.1.101.1), but cannot ping outside the subnet because Switch 1 has no route to anywhere else and AFAIK I cannot specify a default gateway to 10.1.101.1.
VC
set interfaces irb unit 101 family inet address 10.1.101.1/24
set vlans DCMgmt vlan-id 101
set vlans DCMgmt l3-interface irb.101
set interfaces et-0/1/0 unit 0 family ethernet-switching interface-mode trunk
set interfaces et-0/1/0 unit 0 family ethernet-switching vlan members all
Switch 1
set interfaces irb unit 101 family inet address 10.1.101.2/24
set vlans DCMgmt vlan-id 101
set vlans DCMgmt l3-interface irb.101
set interfaces et-0/1/0 unit 0 family ethernet-switching interface-mode trunk
set interfaces et-0/1/0 unit 0 family ethernet-switching vlan members all
Thanks
------------------------------
JONATHAN SINCLAIR
------------------------------