I have a basic setup running good but I have some questions about the networking side of things.
My local subnet is 192.168.1.0 and freepbx is at 192.168.1.55 (eth0). I also created a vlan for my phones with the 10.10.10.0 subnet and freepbx is at 10.10.10.1 (eth0.500), DHCP server of freepbx is enabled for that subnet.
So I’m wondering, does freepbx is supposed to handle the routing for the 10.10.10.0 subnet? Right now freepbx can ping both subnets because it has a leg in each subnets. Can I use 10.10.10.1 as a gateway?
As long as the phones are on the same class - you don’t need a GW anyway.
and your phones should not try and reach any other address then 10.10.10.1, but even if it did - the freepbx routing table would route it away according to its configuration.
Yes.
What are you trying to do?
10.10.10.137 is calling who?
can you setup another phone on the same subnet (vlan) and see if an internal call is working?
Your sip trunk provider (i guess this is why you tried to ping google DNS…) IP - can the freepbx reach it?
does the 192.168.1.55 interface - is its GW is 192.168.1.254?
Is the freepbx default route goes to 192.168.1.254 GW?