Link to home
Start Free TrialLog in
Avatar of serveradmin
serveradmin

asked on

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

Avatar of churchlandsshs
churchlandsshs
Flag of Australia image

You will need a layer 3 switch/router for cross-VLAN traffic.
ASKER CERTIFIED SOLUTION
Avatar of from_exp
from_exp
Flag of Latvia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of serveradmin
serveradmin

ASKER

can i configure windows 2003 server to act as router to work with my switch
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
how to configure inter- vlan routing with a layer 2 router and windows 2003 server working as a router.
sorry about the last msg
how to configure inter- vlan routing with a layer 2 switch and windows 2003 server working as a router.