Vlan Auto Stg Assignments

Hey guys,

 

Long story short - multiple site offices with Cisco VoIP phones and EdgeRouter Lites, all connected to a central office that contains a Cisco UC system. They're connected over private MPLS using BGP. The site ERLs are performing flawlessly.

 

Now the plan is to isolate phone system will be on a different subnet/VLAN. Example site addressing scheme:

 

Site 4:

Data: 172.20.4.0/24

Voice: 10.114.0.0/24

WAN: 10.10.10.0/30

 

NB: there are several sites - the addressing system will increment the relevant octet of the data subnet by 1. I.e. site 2 data LAN is 172.20.2.0/24, site 3 data LAN is 172.20.3.0/24, etc.

 

I would like the phones to be automatically assigned to the Voice subnet. I'm tossing up LLDP and DHCP options based on forum posts on the topic, but haven't had much luck.

 

Now the important information: I still don't have full details about the handsets, but I know it's a Cisco phone system. For now, I'd like to get this working with a test handset, model SPA525G.

 

Anyone have any ideas? Thanks!

 

 

Config details below:

 

Interface info below: VLAN/vif 20

 

 

admin@site4# show interfaces ethernet eth0 { address 172.20.4.254/24 description LAN duplex auto speed auto traffic-policy { out DownStream } vif 20 { address 10.114.0.4/24 } } ethernet eth1 { duplex auto speed auto } ethernet eth2 { address 10.10.10.14/30 description WAN duplex auto speed auto traffic-policy { out UpStream } } loopback lo { } [edit]

 

 

2nd DHCP server added for the Voice VLAN:

 

 

admin@site4# show service dhcp-server disabled false global-parameters "option phone_vlan_43 code 43 = string;" global-parameters "option phone-tftp-150 code 150 = ip-address;" hostfile-update disable shared-network-name site4 { authoritative disable subnet 172.20.4.0/24 { default-router 172.20.4.254 dns-server 172.20.4.254 dns-server 8.8.8.8 lease 86400 start 172.20.4.100 { stop 172.20.4.200 } subnet-parameters "option phone_vlan_43 "20";" unifi-controller 1.2.3.4 } } shared-network-name site4-phone { authoritative disable subnet 10.114.0.0/24 { default-router 10.114.0.4 dns-server 10.114.0.4 lease 86400 start 10.114.0.40 { stop 10.114.0.49 } subnet-parameters "option phone_vlan_43 "20";" } } [edit]

 

 

I attempted LLDP, with no luck:

 

admin@bingo-stpeters# show service lldp interface eth0 { } interface eth0.20 { } [edit]

 

 

I have a BNT (now an IBM) RackSwitch G8264 and am having problems trying to get standard VLANs configured and working with my two ESXi 5.5 hosts.

I've followed the documentation (which can be found here) for the version of switch software I am running, and I believe I have configured the VLANs correctly. However, when I create a standard port group on both my ESXi hosts and tag them with my newly created VLANs, traffic does not work. If I do not tag any traffic on the standard ESXi port group, everything works fine.

Here is my current setup:

2 x ESXi hosts running 5.5 update 1.
Standard switch with one physical adapter uplink.
One port group tagging on VLAN 202 with test VMs connected to them.
Switchports set to trunk mode with a default VLAN (for untagged packets) of 1 and allowed VLANs of 1 and 202.

If I set the VLAN ID in both port groups on each host to 202, the VMs on each host can not ping each other.

If I set the VLAN ID in both port groups on each host to 0 (None), the VMs on each host can ping each other successfully.

If I set the VLAN ID in both port groups on each host to 1, the VMs on each host can not ping each other.

So it seems that if I set any kind of VLAN tag on my port group on my ESXi hosts, communication fails.

What can I use on the switch or my ESXi hosts to inspect the frames to see if the tagging is happening? As far as I'm aware, you can't install Wireshark on a switch?

Any assistance would be appreciated.

Here is the entire dump of my switch config:

!end'

networkingvmware-esxivlan

One thought on “Vlan Auto Stg Assignments

Leave a Reply

Your email address will not be published. Required fields are marked *