For this type of setup you would have all the physical ports be layer two in the same vlan.
Then create a virtual layer 3 port for the ip address in the vlan. Depending on the Juniper model the virtual interface is either vlan.# (old style ex/srx) or irb.# (mx style now used by all devices).
In the vlans stanza you add the interface as layer 3 interface
set vlans vlan-internet l3-interface irb.2
(or vlan.2 if on an older device)
Then configure that interface and unit under interfaces normally.
------------------------------
Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
http://puluka.com/home------------------------------
Original Message:
Sent: 12-06-2021 19:42
From: bob
Subject: ge-0/0/0 static IP + part of switch group?
I want to set ge-0/0/0.0 as a static IP, but also have it in a group acting as a switch for members ge-0/0/0-6, is this possible? So far I have:
interface-range interfaces-internet { member ge-0/0/1; member ge-0/0/2; member ge-0/0/3; member ge-0/0/4; member ge-0/0/5; member ge-0/0/6; unit 0 { family ethernet-switching { vlan { members vlan-internet; } } }}ge-0/0/0 { unit 0 { family inet { address 1.2.3.4/24; } }}show vlans vlan-internet { vlan-id 2;}
But I think that just means I'll have to run a jumper from ge-0/0/0 to any of the interfaces from ge-0/0/1-6, then hook another jumper from ge-0/0/1-6 to the internet? I want to hook a few other devices to the internet /24 without using another upstream switch, is this possible?