Help configure VoIP and Data on same switch, using 2 Vlan with 1 router

Unanswered Question
May 17th, 2010

I have a new client with voip and data using 1 switch and 1 router.

I will have a Cisco router SR520W and a Cisco switch SRW224P.

I need help to configure Voip and data on same switch using 1 router with 1 internet conection.

Here it is how I what have end of day:

     SR520W router, WAN dynamic, LAN, DHCP enable for data and Voip

     SRW224P, VLAN1 for data, VLAN2 for Voip

     Data on VLAN1 ip range

     Voip on VLAN2 ip range

Both , Data an Voip should be able to access the router and internet.

Thank you in advance.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
mohdniyas Wed, 05/26/2010 - 19:37

I dont think you can make two vlans and connect to internet through a single router using the switch SRW224P. For that to work, the switch should support SVI (or it should be L3 capable). Pls check whether this swicth support SVI[(conf t) interface vlan 1 command], from priliminary search , i find it dose not. If it supports SVI, the required configuration would be like this

1.Create vlan1(, vlan 2( interfaces and give IP , in the switch and enable ip routing

2.Define the port connecting the switch to router as Trunk port, both in switch and the router

3.Configure the DG-Default gateway- as in devices connecting to vlan 1 and in devices connecting to vlan 2.

Pls check and verify..

k2systems Thu, 05/27/2010 - 06:56

Thank you for your answer mohdniyas.

After some more research I get some idea how can I do it but still I am far to complete the project.

On SR520W I can create 2 VLANS, assume the port ETH0-1 for VLAN70 with IP and DHCP enable for DATA and ETH2-3 for VLAN80 with ip, DHCP enable and use it for VOIP.

Now I will want to be able to the network to see each other and configure the QoS on router to give priority for VoIP .

Then on SRW244p I will just create 2 VLANS, one for DATA and one for VoIP.

I was able to create that 2 VLAN's on router but now I have to figure out how to make that 2 network to see each other, to be able to have internet access and to configure the QoS for VoIP.

mohdniyas Thu, 05/27/2010 - 22:52


Good that you have configured two vlans.

Now, configure two subinterfaces on the Eth interface of the router, for each vlan.

eg. fa0/1.1 : ip add, configure this ip as the DG for VOIP devices

      fa0/1.2 : ip add, configure this ip as the DG for Data devices

Now, you can have different QoS policies for each gruop, and reach internet also, but cannot see each other i.e. from Voice devices to Data devices and vice versa.


This Discussion