Multiple vlans access to shared pbx system
Posted
by
Matt
on Server Fault
See other posts from Server Fault
or by Matt
Published on 2012-10-26T17:26:22Z
Indexed on
2012/10/26
23:04 UTC
Read the original article
Hit count: 554
I'm new to networking and was looking for some assistance. First off I'm using packet tracer to diagram my scenario as I will be receiving my equipment next week to deploy.
Hardware to be used:
2 catalyst 3560 switches
all connect to a sonic wall router
I have two companies that work in the same office space. I need to keep these companies separate on their own vlan. They will however need to share the phone system.
(Packet tracer file uploaded to give those who have the time to see what I put together.)
http://dl.dropbox.com/u/86234623/network%20build.pkt
Here is my current test scenario:
on switch 0 I have:
- company A on vlan 2 computers 172.16.1.100 and 101 255.255.0.0 FA0/10 FA0/11
- company B on vlan 3 computers 172.16.2.102, 255.255.0.0 FA0/12
- PBX on a trunk port 172.16.0.5, 255.255.0.0 FA0/5
- trunk port on FA0/1 to connect the switches
on switch 1 I have:
- company A on vlan 2 computers 172.16.1.102, 255.255.0.0
- company B on vlan 3 computers 172.16.2.100 and 101, 255.255.0.0
- trunk port on FA0/1 to connect the switches
I can ping the respective computers on the same vlan but cant ping company A to B which is what I want. However neither company can talk (ping) the PBX.
Here are the commands I used to configure what I have:
switch 0
en
conf t
vlan 2
name A
vlan 3
name B
int fa0/10
switchport mode access
switchport access vlan 2
int fa0/11
switchport mode access
switchport access vlan 2
int fa0/12
switchport mode access
switchport access vlan 3
int fa0/5
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1-3
int fa0/1 (to connect the switches)
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1-3
Switch 1
en
conf t
vlan 2
name A
vlan 3
name B
int fa0/10
switchport mode access
switchport access vlan 3
int fa0/11
switchport mode access
switchport access vlan 3
int fa0/12
switchport mode access
switchport access vlan 2
int fa0/1 (to connect the switches)
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1-3
© Server Fault or respective owner