cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2420
Views
0
Helpful
3
Replies

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

k2systems
Level 1
Level 1

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 192.168.1.1, DHCP enable for data and Voip

     SRW224P  192.168.1.10, VLAN1 for data, VLAN2 for Voip

     Data on VLAN1 ip range 192.168.1.100-192.168.1.200

     Voip on VLAN2 ip range 192.168.2.100-192.168.2.200

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

Thank you in advance.

3 Replies 3

mohdniyas
Level 1
Level 1

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(192.168.1.100), vlan 2(192.168.2.100) 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 192.168.1.100 in devices connecting to vlan 1 and 192.168.2.100 in devices connecting to vlan 2.

Pls check and verify..

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 192.168.70.1 and DHCP enable for DATA and ETH2-3 for VLAN80 with ip 192.168.80.1, 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.

Hello

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 192.168.1.1, configure this ip as the DG for VOIP devices

      fa0/1.2 : ip add 192.168.2.1, 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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card