09-04-2008 08:16 AM - edited 03-06-2019 01:11 AM
I have an access device which for some reason requires each connection to have its own vlan. Behind this I have a Cisco Catalyst 3750G switch. I need to set up the switch so that multiple vlans on this access device can use the same subnet. I believe the way to do this is using private vlans, but as I have never used private vlans, I am not sure if I am doing this right.
Here's the config I've got so far:
vlan 55
name server-network
private-vlan primary
private-vlan association 501
private-vlan association 502
!
vlan 501
private-vlan community
!
vlan 502
private-vlan community
!
interface GigabitEthernet1/0/26
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 55,501,502
switchport mode trunk
switchport nonegotiate
!
vlan 55 works through the access device, but vlan 501 does not. All of the documentation for private vlans involves them assigned to individual access ports. Is there any reason this should not work?
Thanks,
-Ben
09-04-2008 01:13 PM
Hi Ben.
Try this config
vlan 55
private-vlan primary
vlan 501
private-vlan community
vlan 502
private-vlan community
!
interface FastEthernet0/0
switchport mode private-vlan host
switchport private-vlan host-association 55 501-502
If that doesn't work then you can just map the individual pVLANs under the vlan55 interface if you have one?
Simon
09-04-2008 01:45 PM
How do you map the pVLANs under the vlan55 interface?
Ultimately I've got to have several bundles of vlans on different subnets as well as a management vlan a single interface.
09-05-2008 02:21 AM
Hi,
configuration is below
interface vlan55
private-vlan mapping 501-502
Simon
09-05-2008 08:08 AM
Thanks. I'll give this a shot.
09-05-2008 08:00 PM
u also need to ensure PVLAN are defined on both switches.
If u the Primary VLAN is defined on SW1 as L3 SVI, then you trunk your VLAN assiciation to SW2. then SW2 must have the PVLAN defined as they were in SW1.
HTH
Sam
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