11-30-2014 08:58 AM - edited 03-05-2019 12:15 AM
I am building out a voice lab, and looking to maximize the excess ports on a 3560 poe to all sites (HQ, BR1, BR2 and PSTN). I have tried a pvlan configuration but it doesn't work as expected (or maybe i'm doing something wrong). Additionally I need to source dhcp from multiple places to each pvlan.
Any suggestions or shared configurations would be appreciated.
11-30-2014 09:20 AM
Are you trying to put all 4 routers in the same vlan or 4 different vlans.
If it is the same vlan just connect each router to a port on the 3560 and put all the ports in the same vlan/subnet and give each router an IP address:
on the 3560
config t
vlan 100
name mgmt-vlan
exit
interface vlan 100
ip address 10.10.10.1 255.255.255.0
no sh
interface gi0/1
description port-to-HQ-router
switchport
switchport mode access
switchport access vlan 100
do the same for other 3 ports
assign an IP address to HQ router port that connects to port gi0/1 on the switch
config t
interface x/x
ip address 10.10.10.2 255.255.255.0
HTH
11-30-2014 09:31 AM
4 different vlans, each serving dhcp to clients assigned to vlan
11-30-2014 09:40 AM
if 4 different vlans than you need 4 ip segments with 4 vlans
example:
QH router 10.10.10.0/24 vlan 100
BR1 router 10.10.11.0/24 vlan 101
BR1 router 10.10.12.0/24 vlan 102
PSTN router 10.10.13.0/24 vlan 103
You also need to create layer-2 and layer-3 for all the vlans on the 3560 and put the each port in a different vlan and create 4 SVIs (one per vlan)
example
vlan 100
name HQ-vlan
exit
interface vlan 100
ip address 10.10.10.1 255.255.255.0
no sh
vlan 101
name BR1-vlan
exit
interface vlan 101
ip address 10.10.11.1 255.255.255.0
no sh
and so on
also turn on "ip routing" on the 3560.
HTH
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide