LAN to LAN communication

darrenjb

Reputable
Jun 4, 2014
2
0
4,510
Hi all,

I've got an IP intercom system which I'm setting up but need to connect to a VOIP phone. I've got the two units communicating successfully over the same network, but I need to put the VOIP phone on a different subnet connected to a router.

I've got the intercom system connected to a managed switch, and from the managed switch a physical LAN cable running to a standard 10 port switch which has the router and the VOIP phone connected.

The Intercom system will not have internet connection.

How can I get the Intercom system and VOIP phone to communicate? Would I need to create a static route?

Many thanks
 
Solution
If the manages switch has routing ability that would work to a point. The issue is the devices on the lan that goes to the vdsl router likely have this router set as their gateway. Unless you have that router send the traffic to the other vlan it won't work. You need the device that is the default gateway of each vlan to know where the other vlan is. You can if you really want to do it the hard way is have 2 gateways one for the internet and one that goes to the other lan. You would have to put in a route in every device telling to to go to the switch instead of the router.

I would change the switch to have the gateway for each of the vlans. It will then allow it to router all the device together. You would then put in a...
Not sure how you have 2 different subnets. I am assuming your managed switch has 2 vlans then ? The managed switch should be the default gate for each vlan and it should just route between the addresses. The ends devices really only need to know that the managed switch is the destination for anything outside their subnet...ie the default route.

Really the controller devices for your VoIP network is the most critical since all the end devices must talk to it to allow the calls to setup. It depends on the features, normally you have VoIP the call setup and mantence path goes via the controller but the voice path goes directly between the end devices. This should work in your situation. If there are routing issues many of the controller devices can act as a gateway between networks but this generally requires specialized hardware to do it correctly so it depends on what you are using to control your VoIP network.
 

darrenjb

Reputable
Jun 4, 2014
2
0
4,510


Hi Bill001g,

I've got 2 subnets as the house has one LAN with internet access via a VDSL router. The VOIP phone sits on this network and works no problems but does not require registration with a SIP account for the IP intercom.

The IP intercom is located at the front gate, and is connected up to a managed switch only. It has no internet connection via router. It does have a physical LAN cable running from the managed switch to the house network switch though.

Would it simply be a static route between the subnet I create on the managed switch to the subnet of the house?

 
What model managed switch and router do your have? Also you have an unmanaged switch between the router and the managed switch? In order for the 2 subnets to talk you will need a router. If your switch is a standard Layer2 managed switch then you can create VLANs but would still need a router to allow them to talk. If it is a layer 3 managed switch then it would be able to route also.
 
If the manages switch has routing ability that would work to a point. The issue is the devices on the lan that goes to the vdsl router likely have this router set as their gateway. Unless you have that router send the traffic to the other vlan it won't work. You need the device that is the default gateway of each vlan to know where the other vlan is. You can if you really want to do it the hard way is have 2 gateways one for the internet and one that goes to the other lan. You would have to put in a route in every device telling to to go to the switch instead of the router.

I would change the switch to have the gateway for each of the vlans. It will then allow it to router all the device together. You would then put in a default route to the router. Traffic going to the internet would go to the switch which would then send it to the router. Not the cleanest way if you keep the router on the same vlan but simler in some ways. The traffic would run async since traffic coming from the internet would go directly from the router to the end user rather than back via the switch.

To do it "right" you would create 3 vlans the 2 user vlans and a special one going to the router. This would keep all the traffic running synchronously but it may or may nor work depending on if your main router can route other subnets or it is restricted to a single lan.
 
Solution