Friday, August 30, 2019

Help with VLANs

Hello fellow redditors

Until two days ago I thought I was fairly ok with network but I realize I am still big noob. Mostly I work with cisco router and cisco switch.

Two days ago, I have assigned to create a network for a client with the VoIP server on it.

His network is simple, however because I didn’t work before with Cisco router and HPE switch it drives me crazy.

Somehow, I manage (easily) to create his network with telephony but the only problem is that the two VLANs cannot speak with each other.

His network is:

Modem for Internet --> Cisco RV130W and from port 1 of Cisco it goes to port 1 of HPE 1820 Switch

Modem for Telephony --> UCM 6204 Grandstream server (configured as router) --> port 23 HPE 1820 Switch

I have two VLANs in Cisco Router:

VLAN 1 which has untagged the port 1 and VLAN 102 which has tagged the port 1

I have enable the interVLAN routing

The VLAN 1 is on 192.168.1.1/24 with DHCP enabled

The VLAN 102 is on 192.168.2.254/24 with DHCP disabled

I can ping from VLAN 1 to 192.168.2.254

I have two VLANs and one trunk? in HPE switch

VLAN 1 which has untagged the port 2-22

VLAN 102 which has untagged the port 23 and 24 and tagged the remaining ports

TRK1 (port 1) has untagged the VLAN 1 and tagged the VLAN 102

The Grandstream server has ip address 192.168.2.1/24 with DHCP enabled and default gateway 192.168.2.1

I configure the Grandstream telephones with VLAN tag 102 and they are working fine. Computers are on VLAN1 and are working fine as well. However I can not ping from computer to Grandstream server or to any telephone (192.168.2.x)

The only way to connect to 192.168.2.x network is to take my laptop and connect it to port 24 which again I can not ping to computers at VLAN 1.

I break my head how to correct this.

I have tried to change the default gateway of Grandstream server to 192.168.2.254 but it didn’t work.

I have tried to make other trunk from HPE to port 4 of Cisco with both of VLANs tagged this time but NO

Any ideas what to change?

I think the problem is the trunk. Should I try to change and make tagged the VLAN 1 and VLAN 102?



No comments:

Post a Comment