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

serveradminAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.