VLAN support on Juniper EX - 2200 switches

Posted by liv2hak on Server Fault See other posts from Server Fault or by liv2hak
Published on 2012-09-19T06:59:26Z Indexed on 2012/09/19 9:41 UTC
Read the original article Hit count: 680

Filed under:
|
|
|
|

I have 6 Juniper switches (EX - 2200) connected to each other as shown in the network topology below.Network topology of the switches I have two PC's that I am using

PC1 - (used for configuring the 6 switches via minicom) PC2 - to monitor the traffic between the switches via the Ports that are marked with arrows in the diagram.

STEP 1:

I create a new vlan On Switch 3 (SW3) that includes Port 12 and Port 22. I also assign l3-interface to the vlan (vlan_2) with ip address - 192.168.1.7.

Now I plug-in Port 0 of Switch 3 on PC2.

Now I try pinging 192.168.1.7 from PC2 (192.168.1.10)

I want to know what will happen? My postulation is that I will not be able to ping SW3 from PC2.This is because SW3 (Port 12 and Port 22) is a part of a vlan_2 and vlan_2 logically breaks up broadcast domains and so 192.168.1.7 will not be reachable from 192.168.1.10.

Now I have an l3-interface on SW1 with IP 192.168.1.1 using default vlan( vlan-id 0).

Similarly I have enabled IP on SW2 - 192.168.1.2 SW3 - 192.168.1.3 SW4 - 192.168.1.4
SW5 - 192.168.1.5 SW6 - 192.168.1.6

all using default vlan.

Now I plug in Port 12 of SW3 (blue cable) into the PC2.

I try to ping 192.168.1.1 from PC2.

What will happen at this stage.?

My postulation is that I will be able to ping switch 1.Is this correct?

Also another question is that can a single port on a Switch be added multiple VLANS?

I am a beginner at network configuration? Any help would be highly appreciated.

(Please ignore the CISCO symbol on the switches in the diagram.All swithes are Junper EX 22-00.)

© Server Fault or respective owner

Related posts about vlan

Related posts about juniper