HP VLANs – Cisco Subinterfaces Configuration

ciscohp

we have an HPE 1920 PoE switch connected to a Cisco 1841 router, vers 12.4. The HP switch has two VLANs:

  • Data – VLAN 1 – 192.168.50.0/24
  • Voice – VLAN 55 – 192.168.55.0/24

The port on the switch that uplinks to the router has VLAN 1 untagged and VLAN 55 tagged.

The router has two subinterfaces configured:

interface FastEthernet0/1.1
 encapsulation dot1Q 1 native
 ip address 192.168.50.254 255.255.255.0
 no snmp trap link-status
 no cdp enable
!
interface FastEthernet0/1.55
 encapsulation dot1Q 55
 ip address 192.168.55.1 255.255.255.0
 no snmp trap link-status
 no cdp enable

show vlans on the router shows No Virtual LANs configured.

There is connectivity on the default VLAN okay but not for the second VLAN, I'm not even able to ping the .55 subinterface from the switch.

Is there a way to get this working please?

Best Answer

Check your switch configuration. You have to define the trk port for that VLAN to go outside. Example:

trunk 49-50 trk1

vlan [vlan_id] 
name "valn name"
untagged [port number that you want to untagged]
tagged Trk1
no ip address
exit