• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1783
  • Last Modified:

INTER VLAN COMMUNICATION

I am working on a project in which I have to create a 3 vlans on a single layer 2 switch
Vlan1,vlan2,vlan3
I want vlan2 and vlan 3 to be able to connect to vlan1 and visa-versa. But dont want vlan3 to connect to vlan2.
I am able to create vlan I am unable to communicate between vlans.


- vlan1,vlan2,vlan3, ipc {name of pc not part of any vlan but should be connected by every other vlan}.
- 2Pc's in each vlan.
- Each vlan should be able to PING to the  to ipc.
 
TILL NOW THIS IS THE CODE WHAT I ENTERED IN THE CONSOLE.
Vlan1
pc1::port:1
pc2::port:2
 
vlan 2
pc1::port:4
pc2::port:5
 
vlan 3
pc1::port:7
pc2::port:8
 
ipc:port:12
 
Creating vlan's
>enable
#config t
#(config) vlan 2 network
#(config) vlan 3 admin
#(config) vlan 4 Server
#(config) exit
#show vlan
 
assigning ports to vlan
#config t
#(config) int f0/1
#(config-if) switchport mode access
#(config-if)switchport acccess vlan 2
#(config-if)exit
#(config)int f0/2
#(config-if) switchport mode access
#(config-if) switchport access vlan 2
#(config-if)exit
#(config)int f0/4
#(config-if) switchport mode access
#(config-if) switchport access vlan 3
#(config-if)exit
#(config)int f0/5
#(config-if)switchport mode access
#(config-if)switchport access vlan 3
#(config-if)exit
#(config)int f0/7
switchport mode access
#(config-if)switchport access vlan 4
#(config-if)exit
#(config)int f0/8
switchport mode access
#(config-if)switchport access vlan 4
#(config-if)exit

Open in new window

0
serveradmin
Asked:
serveradmin
2 Solutions
 
churchlandsshsCommented:
You will need a layer 3 switch/router for cross-VLAN traffic.
0
 
from_expCommented:
alternatively you will need a router to do the job.
this configurations is known as a 'router on a stick'.
0
 
that1guy15Commented:
With a layer two device you will need to connect to a router or layer three switch in order for the VLANS to communicate with each other. Inter-VLAN routing can only occur on a layer 3 device.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
serveradminAuthor Commented:
can i configure windows 2003 server to act as router to work with my switch
0
 
churchlandsshsCommented:
Yes, it's not ideal though. You utilize the Routing And Remote Access Services (RRAS) service of Server 2003.
1.Start RRAS by going to Start | All Programs | Administrative Tools | Routing And Remote Access.
2.Locate the server in the left-hand pane, and right-click it.
3.Select Configure And Enable Routing And Remote Access from the shortcut menu. This launches a wizard.
4.On the first step of the wizard, select Custom Configuration, and click Next.
5.On the Custom Configuration page in the wizard, select the LAN Routing option.
6.Click Next, and click Finish.
0
 
serveradminAuthor Commented:
how to configure inter- vlan routing with a layer 2 router and windows 2003 server working as a router.
0
 
serveradminAuthor Commented:
sorry about the last msg
how to configure inter- vlan routing with a layer 2 switch and windows 2003 server working as a router.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now