Good afternoon.
I am new to Juniper an JunOS.
I have just deployed ex2200 switches to connect 8 buildings.
The network is up and running (i can ping the router and access internet from all sites) BUT, it's all one big collision domain. I am trying to cofigure simple vlans to separate each building, i.e. Bldg 100 = vlan 100, Bldg 200 = vlan 200, etc.
My problem is that as soon as I create the vlan on the switch, and assign ports to it, I loose connectivity. As I understand it, using RVIs (layer-3 vlans) would allow vlans to communicate beteewn each other, bypassing router, and I just want a layer-2 vlan, to force all vlans to go through the router.
I'm using the following commands to create vlans:
[edit vlans]
root@ELCN-B131-SW# set B100 vlan-id 100
root@ELCN-B131-SW# set B100 interface ge-0/0/10 (I repeate this command for all 24 ports)
As stated before my switches are ex2200, running 12.3R9.4 version, utilizing class-B IP with default subnet masks, I have change my IP for security purposes.
here is my conf file:
root@ELCN-B131-SW> show configuration
## Last commit: 2015-02-14 10:29:31 UTC by root
version 12.3R9.4;
system {
host-name ELCN-B131-SW;
root-authentication {
encrypted-password "$1$bGWXuWW/$ilSSJaUcyAVIK93C7iem8."; ## SECRET-DATA
}
services {
ssh {
root-login allow;
client-alive-count-max 60;
}
telnet;
web-management {
http;
}
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
ge-0/0/0 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/1 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/2 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/3 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/4 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/5 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/6 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/7 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/8 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/9 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/10 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/11 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/12 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/13 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/14 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/15 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/16 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/17 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/18 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/19 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/20 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/21 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/22 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/23 {
unit 0 {
family ethernet-switching;
}
}
ge-0/1/0 {
unit 0 {
family ethernet-switching;
}
}
ge-0/1/1 {
unit 0 {
family ethernet-switching;
}
}
ge-0/1/2 {
unit 0 {
family ethernet-switching;
}
}
ge-0/1/3 {
unit 0 {
family ethernet-switching;
}
}
me0 {
unit 0 {
family inet {
dhcp {
vendor-id Juniper-ex2200-24t-4g;
}
}
}
}
vlan {
unit 0 {
family inet {
address 192.168.1.36/24;
}
}
}
}
routing-options {
static {
route 0.0.0.0/0 next-hop 192.168.1.1;
}
}
protocols {
igmp-snooping {
vlan all;
}
rstp;
lldp {
interface all;
}
lldp-med {
interface all;
}
}
ethernet-switching-options {
storm-control {
interface all;
}
}
vlans {
default {
l3-interface vlan.0;
}
}
{master:0}
root@ELCN-B131-SW>